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

libmapnik.so.3.0 not found #10

Open
mrFloony opened this issue Dec 25, 2022 · 2 comments
Open

libmapnik.so.3.0 not found #10

mrFloony opened this issue Dec 25, 2022 · 2 comments

Comments

@mrFloony
Copy link

mrFloony commented Dec 25, 2022

Hey, I'm trying to run it and I'm getting this error:

/usr/lib/libmapnik-jni.so: libmapnik.so.3.0: cannot open shared object file: No such file or directory

tell me where else can I get the file?
I tried to compile, but there are even more hemorrhoids, and you don’t say anything about this file anywhere

@mrFloony mrFloony reopened this Dec 26, 2022
@mrFloony mrFloony changed the title Repo is invalid libmapnik.so.3.0 not found Dec 26, 2022
@pmauduit
Copy link
Owner

you don’t say anything about this file anywhere

This is outside of this repository's scope to ensure libmapnik (the native library) is set up onto your environment, so you will have to install it by hand (either by compiling it yourself, or using a package from your distro). On debian unstable, this can be done by issuing the following command:

apt install libmapnik3.1

I tried to compile, but there are even more hemorrhoids

One of the maven repo I was using switched to another URL, I'll push a commit to fix it. I've been able to have a successful build afterwards, but I can't tell if it's working at runtime.

pmauduit added a commit that referenced this issue Dec 26, 2022
* source/target bytecode version (java11 compiler can handle it)
* osgeo repo URL

See #10
@mrFloony
Copy link
Author

mrFloony commented Dec 28, 2022

Hello. Tried to build a mapnik 3.0.24 last night
To do this, I had to install the python version 3.9, have a bit of a fight with the mason package manager (some plugins were missing, there was a hard binding to the paths of the developer's computer directories), and.... as a result, the mapnik required older versions of already existing libraries :(
And the current version of the mapnik-jni (libmapnik.so.3.0) not suitable for the new version mapnik (libmapnik.so.3.1.0), need to bump the version mapnik-jni
Information just in case

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