![]() |
| |||
| Hi, is it possible to start apps link to a library to use library from a specified location? For example I have an app which needs libssl.so.0 By default this library is in /usr/lib or /usr/local/lib depending on the distro. For testing purposes I have compiled openssl into /usr/local/openssl-0.9.7m/ This way I'm sure I don't screw up something running. But how can I force an app when I exec it to use the .so file from /usr/local/openssl-0.9.7m/ ? When I specify the path in an environment var LD_LIBRARY_PATH output from ldd %mybinary% show the right path. But once running it has the library open from the default location. How can I 'force' it to use the library from the right location other than compiling the app static and messing with ld.so.conf and ldconfig. Regards, Frank |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |