[torqueusers] install problem: pbs_server can't find libtorque.so.2

Kevin Barnhart kbarnhar at mines.edu
Tue Jul 22 09:59:00 MDT 2008


I just asked this question.  Both solutions worked for me, but you'll 
want to check to make sure the library is in /usr/local/lib, first.

> >> - Add the path (/usr/local/lib) either to /etc/ld.so.conf file, or to a
> >> file in /etc/ld.so.conf.d/, then run "ldconfig" to update the path
> >> cache, etc.  This is the recommended system-wide way of doing things.
>   
> 
> 3rd option:  Set LD_RUN_PATH=/usr/local/lib and recompile.  The new binaries
> will have /usr/local/lib built in.
> 

Kevin



Meng Mao wrote:
> I'm trying to install torque to an Ubuntu 8.04 linux distribution, and 
> would rather install from source than use the available deb package.
>
> I first wgot torque-2.3.1.tar.gz, and extracted it.
> Then I ran the following sequence, per the quickstart guide:
> ./configure --disable-gcc-warnings
> sudo make
> sudo make install
>
> All went well up to this point. Then I tried to run:
> sudo ./torque.setup myuser
>
> and got this:
> initializing TORQUE (admin: myuser at localhost)
> 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
>
> I don't think using sudo is a problem, since sudo echo $PATH produces 
> the appropriate bin folders. Is there something that I'm missing about 
> the install procedure?
> ------------------------------------------------------------------------
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>   


More information about the torqueusers mailing list