[torqueusers] pbs_server -t create can't find torque library

Kevin Barnhart kbarnhar at mines.edu
Fri Jul 18 15:59:40 MDT 2008


Here's an easy one for someone.  I just compiled and installed 
Torque-2.3.1 on Ubuntu Hardy Server (because the .deb version of Torque 
is quite broken) and upon running:

$ sudo ./torque.setup <USERNAME>
initializing TORQUE (admin: kbarnhar at cesepcruncher.mines.edu)
pbs_server: error while loading shared libraries: libtorque.so.2: cannot 
open shared object file: No such file or directory
qmgr: error while loading shared libraries: libtorque.so.2: cannot open 
shared object file: No such file or directory
ERROR: cannot set TORQUE admins
qterm: error while loading shared libraries: libtorque.so.2: cannot open 
shared object file: No such file or directory

But as desired:

$ ls /usr/local/lib/libtorque* -l
-rw-r--r-- 1 root root 1699812 2008-07-18 15:14 /usr/local/lib/libtorque.a
-rwxr-xr-x 1 root root     806 2008-07-18 15:14 /usr/local/lib/libtorque.la
lrwxrwxrwx 1 root root      18 2008-07-18 15:14 
/usr/local/lib/libtorque.so -> libtorque.so.2.0.0
lrwxrwxrwx 1 root root      18 2008-07-18 15:14 
/usr/local/lib/libtorque.so.2 -> libtorque.so.2.0.0
-rwxr-xr-x 1 root root  718451 2008-07-18 15:14 
/usr/local/lib/libtorque.so.2.0.0

It seems that I need to setup a library path?  I'm sure there's a simple 
answer.

Thanks in advance,
Kevin


More information about the torqueusers mailing list