Forum OpenACS Development: Re: Re: Re: AOLserver 4 Setup

Collapse
Posted by William Painter on
Thank you for your kind, and helpful, response.

I tried the command you gave me with this result:

[root@vc nspostgres]# make install AOLSERVER=/usr/local/aolserver
/bin/rm -f nspostgres.so
gcc -pipe -shared -nostartfiles -L../nsthread -L../nsd -o nspostgres.so nspostgres.o -L/usr/lib -lpq -lnsdb -lnsdb -lnsthread -lnsd -L/usr/local/lib -ltcl8.4 -ldl -lpthread -lieee -lm -lz -lgcc_s -Wl,-rpath,/usr/local/aolserver/lib -Wl,-rpath,/usr/local/lib
/usr/bin/ld: cannot find -lnsdb
collect2: ld returned 1 exit status
make: *** [nspostgres.so] Error 1

I also included POSTGRES=LSB with the same result.

I checked the location of the binaries for the aolserver and they are in /usr/local/aolserver and the lib directory holds what appears to be the appropriate file:

[root@vc nspostgres]# ls -al /usr/local/aolserver/lib/
total 512
drwxr-xr-x  3 root root   4096 Dec 16 14:24 .
drwxr-xr-x  9 root root   4096 Dec 16 11:24 ..
-rwxr-xr-x  1 root root  34266 Dec 16 11:24 libnsdb.so
-rwxr-xr-x  1 root root 362436 Dec 16 11:24 libnsd.so
-rwxr-xr-x  1 root root   3936 Dec 16 11:24 libnsext.so
-rw-r--r--  1 root root  23220 Dec 16 11:24 libnspd.a
-rwxr-xr-x  1 root root  35145 Dec 16 11:24 libnsthread.so
drwxr-xr-x  2 root root   4096 Dec 16 14:24 tdom0.7.8
-rw-r--r--  1 root root   1659 Dec 16 14:24 tdomConfig.sh

I am befuddled, pretty much. It seems to be looking in the right place but isn't seeing what it needs.