PDA

View Full Version : Finding/Installing Shared Libraries



gbrackett
03-11-2008, 02:56 PM
I want to use a commercial engine named revolution in CGI scripting on my site. Executing the engine from the command line, however, gives this error:
revolution: error in loading shared libraries: libXext.so.6:
cannot open shared object file: No such file or directory.

Documentation for revolution says that sometimes the following required libraries are not installed; I know that's the case for at least the first library.

libXext.so.6
libX11.so.6
libm.so.6
libc.so.6
ld-linux.so.2

Can someone help me (a) find and (b) install these libraries on my WestHost server? I have spent a couple of days on the task without useful result. Thanks for any assistance!

dattas
05-07-2008, 09:00 PM
If you do a "ldconfig -v" from SSH it will list all of the modules it can find. You may want to make sure to install "GNU Compiler Collection 1.0" from your Site Manager.
All of those modules are installed for me after I install the "GNU Compiler Collection 1.0"

WestHost - MCox
05-12-2008, 01:24 PM
gbrackett,

Here are instructions for installing Perl modules should you find any others that need to be installed manually. The example here is for Net::SSLeay, but it can be applied to most modules.

-Go to search.cpan.org and search for the module.
-Download the module to the VPS (e.g. wget
http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Net-SSLeay-1.32.tar.gz)
-Untar the file (e.g. tar zxvf Net-SSLeay-1.32.tar.gz)
-cd into the Net-SSLeay-1.32 directory
-Run: perl Makefile.PL; make; make install
-Test the proper installation (e.g. perl -e 'use Net::SSLeay')