[SOLVED] ldd /usr/lib/polkit-1/polkitd returns libmozjs-102.so.0 => not found
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Whoops! It's my fault. Because upgrade of mozjs packages don't remove old ones, I do it myself. I didn't notice that Slackware has 2 mozjs packages. Sorry. I still think this is a defect of mozjs.
Mozjs115 was built with the library name libmozjs102 i suggest to reinstall mozjs102 and that will fix it cause the correct name for mozjs115 library is libmozjs115
Mozjs115 was built with the library name libmozjs102 i suggest to reinstall mozjs102 and that will fix it cause the correct name for mozjs115 library is libmozjs115
I don't believe that glitch ever caused a broken symlink. It just caused the first build of mozjs115 to include the same symlinks that were in mozjs102.
But yes, now we are seeing why we didn't just call this one "mozjs".
polkit was the only executable or library that objected to the lack of mozjs102. Could it have been built against mozjs115?
polkit-124 is the newer version that uses mozjs115. Slackware-current is still using polkit-123 at the moment, which uses the mozjs102 version.
I tried building polkit-124 and it fails on slackware-current due to some flawed logic in the meson.build file where it tries to set the 'sysusers.d' directory but fails on non-systemd installs. The Artix linux guys have a patch that fixes that issue by making that a build option instead: https://gitea.artixlinux.org/package...susers-d.patch
The build succeeds with the patch.
I haven't runtime tested it since I don't have a machine running -current that's up-to-date at the moment, but as it stands, that version doesn't build as-is from upstream and needs some fixing.
In the meanwhile, polkit-123 was switched to build with duktape and mozjs102 has been dropped, making this all moot:
Code:
l/duktape-2.7.0-x86_64-1.txz: Added.
Needed by polkit.
l/polkit-123-x86_64-2.txz: Rebuilt.
Use duktape instead of mozjs102 as the JavaScript engine.
l/mozjs102-102.15.1esr-x86_64-2.txz: Removed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.