Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

/usr/lib/libmesos-1.2.0.so: libcurl-nss.so.4: cannot open shared object file: No such file or directory #102

Open
albundy83 opened this issue Mar 17, 2017 · 4 comments

Comments

@albundy83
Copy link

Hello,
I'm under debian 8 and I have just upgraded to mesos 1.2.
Then mesos failed to start.
In /var/log/syslog I got the following error:

java.lang.UnsatisfiedLinkError: /usr/lib/libmesos-1.2.0.so: libcurl-nss.so.4: cannot open shared object file: No such file or directory

Installing libcurl4-nss-dev fix the problem.
It's a problem that seems already covered by #48

@albundy83
Copy link
Author

I have created a fresh pull request (#103) as the previous one got some conflicts.

@chriskuehl
Copy link

I don't believe you actually need libcurl4-nss-dev. Instead I think you need libcurl3-nss.

Despite the confusing name, this package is what provides libcurl-nss.so.4:

$ dpkg -L libcurl3-nss | grep libcurl-nss.so.4
/usr/lib/x86_64-linux-gnu/libcurl-nss.so.4.3.0
/usr/lib/x86_64-linux-gnu/libcurl-nss.so.4

The -dev package you identified also works, but that's just because it happens to depend on libcurl3-nss. I don't believe the development headers are actually necessary.

@albundy83
Copy link
Author

Yes, you are right, that's much better.
I have updated pull request according #104

@timcharper
Copy link

FYI I've talked with @kapilsla; the build script is being updated to not depend on libcurl-nss for debian packages anymore. That was an error. The upcoming 1.7.0 Mesos package should depend on libcurl-openssl and have the proper dependencies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants