[torquedev] error while loading shared libraries: libtorque.so.0

Bas van der Vlies basv at sara.nl
Fri Mar 2 10:11:21 MST 2007


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 -> 
> libtorque.so.0.0.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
> /usr/local/lib
> 

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 ;-)



> 
> -----Original Message-----
> From: torquedev-bounces at supercluster.org on behalf of Raphaël Leplae
> Sent: Fri 3/2/2007 9:26 AM
> To: torquedev at supercluster.org
> Subject: [torquedev] error while loading shared libraries: libtorque.so.0
> 
> Dear all,
> 
> I just upgraded to torque-2.1.7.
> The installation works ok on the cluster gateway which is has Scientific
> Linux (Linux 2.4.21-32.0.1.ELsmp).
> I installed the clients on another machine for the users submitting jobs
>   which is running Suse 9.2 (Linux 2.6.8-24.25-bigsmp #1 SMP).
> On that machine I used configure as follow:
> ./configure --with-default-server=arthur --disable-mom --disable-server
> --without-readline
> Where arthur is the gateway running pbs_server and maui and
> --without-readline because torque doesn't compile otherwise although
> readline-5.2 is installed.
> Compilation and installation went ok but then as standard user, running
> for example qstat gives:
> /usr/local/sbin/pbs_iff: error while loading shared libraries:
> libtorque.so.0: cannot open shared object file: No such file or directory
> The libtorque.so is installed in /usr/local/lib and running the command
> as root works.
> Previous installation (torque-2.0.0p7) was working properly.
> 
> Any idea of what might be wrong with this one?
> 
> Thanks in advance,
> 
> Raphael
> 
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev


-- 
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv at sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************


More information about the torquedev mailing list