[torquedev] error while loading shared libraries: libtorque.so.0
garrick at clusterresources.com
Fri Mar 2 10:18:23 MST 2007
On Fri, Mar 02, 2007 at 06:11:21PM +0100, Bas van der Vlies alleged:
> Craig Macdonald wrote:
> >Check the permissions of the installed libraries. On my setup, these
> >are in /usr/local/lib
> >$ls /usr/local/lib -l
> >lrwxrwxrwx 1 craigm grad 18 Oct 5 13:53 libtorque.so.0 ->
> >-rwxr-xr-x 1 root root 472640 Oct 4 20:12 libtorque.so.0.0.0
> >You also need to ensure that the linker knows where the libraries
> >are. Does LD_LIBRARY_PATH=/path/to/torque/lib qstat work as a normal user?
> >On my SL4.3 setup, i added a file in /etc/ld.so.conf.d
> >$cat /etc/ld.so.conf.d/torque.conf
> I just learned from Garrick that if you build torque with LD_RUN_PATH
> set to /usr/local/lib there is no need for LD_LIBRARY_PATH or
> /etc/ld.so.conf setup.
> I now use this setup for several other projects ;-)
Keep the faith, brother! LD_LIBRARY_PATH is not the way the Unix gods
intended us to find shared libs.
Let's all repeat again together now, "LD_LIBRARY_PATH is evil!"
More information about the torquedev