Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect proj.db version on heroku #1011

Open
JonRowe opened this issue Feb 7, 2025 · 1 comment
Open

Incorrect proj.db version on heroku #1011

JonRowe opened this issue Feb 7, 2025 · 1 comment
Assignees

Comments

@JonRowe
Copy link

JonRowe commented Feb 7, 2025

Hello! I'm trying to use this library (and its bundled so) on Heroku, I've had to tell Heroku to use the bundled .so by setting LD_LIBRARY_PATH but now I'm getting this error:

/app/node_modules/@mapnik/mapnik/share/proj/proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 3 whereas a number >= 4 is expected. It comes from another PROJ installation.

I don't think Heroku dyno's have there own version of proj so is the bundled one incompatible with the library file?

@artemp
Copy link
Member

artemp commented Feb 10, 2025

@JonRowe - Could you provide steps to replicate this issue? I'm not familiar with Heroku, but if you're using
npm install @mapnik/mapnik you should get a working node-mapnik without ammending/setting LD_LIBRARY_PATH.
It sounds like you have multiple versions of libraries which create conflict at runtime.

@artemp artemp self-assigned this Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants