Smarter way to make applications aware of libraries installed by seamonkey-solibs
I purchased the games in the latest Humble Bundle and one of the games (trauma) caused me quite some trouble to get it working because it was looking for libraries exclusively in /usr/lib, but they were all present in /usr/lib/seamonkey-2.1b3. I made symlinks to all of them and it worked, but I was wondering if there is a better way to do that.
|
Strangely, as I understand it, it depend on how "smart" the binary is built to be.
What happens when you execute: Code:
ldd /path/to/binary |
I would make a simple shellscript and run the program from that, e.g.
Code:
#!/bin/sh |
The package "mozilla-nss" provides /usr/lib/libnss3.so etc. etc.
http://slackbuilds.org/repository/13...m/mozilla-nss/ |
Uh, just in case...
Your Slackware Seamonkey installation make a symbolic link from /usr/lib/seamonkey-x.x.x to /usr/lib/seamonkey; might want to use that rather than the full path so you don't have to edit the library path every time your get an update, eh? Hope this helps some. |
All times are GMT -5. The time now is 10:26 AM. |