[torqueusers] installed torque-2.3.3: "cannot open libtorque.so.2"

James J Coyle jjc at iastate.edu
Thu Sep 25 09:14:43 MDT 2008


No,

Issue it as a command.  

man ldconfig

to see wheat is does first.

If you still have trouble,
try either
unsetenv LD_LIBRARY_PATH
or
LD_LIBRARY_PATH=
depeding upon your shell

the try qmgr.

> Thanks James,
> 
> The '/usr/local/lib' is already in /etc/ld.so.conf:
> 
> > cat /etc/ld.so.conf
> include ld.so.conf.d/*.conf
> /opt/openmpi.gcc/lib
> /usr/local/lib
> 
> "/sbin/ldconfig" seems to be a binary file.  Did you mean I should
> 
>   echo '/usr/local/lib' >> /sbin/ldconfig  ?
> 
> Zhiliang
> 
> 
> At 09:49 AM 9/25/2008 -0500, James J Coyle wrote:
> 
> >My guess is your LD_LIBRARY_PATH variable is screwed up.
> >
> >Try
> >
> >echo '/usr/local/lib'            >> /etc/ld.so.conf
> > /sbin/ldconfig
> >
> >
> >> I have just installed torque-2.3.3.  The installation process is smooth (didn't see errors etc).  However after install, I encounter following errors on "qsub" or "qstat" commands:
> >> 
> >>   qsub: error while loading shared libraries: libtorque.so.2:
> >>   cannot open shared object file: No such file or directory
> >> 
> >> while I do find all q* binaries are installed in /usr/local/bin/ and "libtorque.so.2" in /usr/local/lib/:
> >> -rw-r--r-- 1 root root 1180674 Sep 25 09:21 libtorque.a
> >> -rwxr-xr-x 1 root root     806 Sep 25 09:21 libtorque.la
> >> lrwxrwxrwx 1 root root      18 Sep 25 09:21 libtorque.so -> libtorque.so.2.0.0
> >> lrwxrwxrwx 1 root root      18 Jun 22  2007 libtorque.so.0 -> libtorque.so.0.0.0
> >> -rwxr-xr-x 1 root root  666052 Jun 22  2007 libtorque.so.0.0.0
> >> lrwxrwxrwx 1 root root      18 Sep 25 09:21 libtorque.so.2 -> libtorque.so.2.0.0
> >> -rwxr-xr-x 1 root root  615716 Sep 25 09:21 libtorque.so.2.0.0
> >> 
> >> Any suggestions?
> >> 
> >> Zhiliang
> >> 
> >> _______________________________________________
> >> torqueusers mailing list
> >> torqueusers at supercluster.org
> >> http://www.supercluster.org/mailman/listinfo/torqueusers
> >> 
> 





More information about the torqueusers mailing list