Blog‎ > ‎

Error while loading shared libraries with Aolserver

posted Dec 23, 2008, 9:55 PM by Jade Rubick
If you get an error like this:

/usr/local/aolserver/bin/nsd: error while loading shared libraries: cannot open shared object file: No such file or directory

Try ldd:

/usr/local/aolserver/bin# ldd nsd => not found => not found => /usr/lib/ (0x40018000) => /lib/ (0x400ba000) => /lib/ (0x400bd000) => /lib/ (0x400d1000) => /lib/ (0x400f2000)
        /lib/ => /lib/ (0x40000000)

It looks like the libraries are not being found.

Try this:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/aolserver/lib

Vinod's entry fixes it here:

You may need to edit your /usr/local/aolserver/nsd-postgres file to include Aolserver's lib directories.