I am running Aolserver (3.3.1_ad13) without the OACS system. I created an
aolserver config file using the nspostgres.so driver, version 1.6,
2002/12/16, and code from OpenACS' sample aolserver config. I am starting
the server with nsd-postgres.

This appears to be the final error to clear:

Notice: modload: loading '/usr/local/aolserver/bin/nspostgres.so'
31719:  find library=libpq.so.2; searching
31719:  search
path=i586/mmx:i586:mmx::/usr/local/pgsql/lib             (LD_LIBRARY_PATH)
31719:    trying file=i586/mmx/libpq.so.2
31719:    trying file=i586/libpq.so.2
31719:    trying file=mmx/libpq.so.2
31719:    trying file=libpq.so.2
31719:    trying file=/usr/local/pgsql/lib/libpq.so.2
31719:  search cache=/etc/ld.so.cache
31719:    trying file=/usr/local/pgsql/lib/libpq.so.2
31719:  search
path=/lib/i586/mmx:/lib/i586:/lib/mmx:/lib:/usr/lib/i586/mmx:/usr/lib/i586:/usr/lib/mmx:/usr/lib
(system search path)
31719:    trying file=/lib/i586/mmx/libpq.so.2
31719:    trying file=/lib/i586/libpq.so.2
31719:    trying file=/lib/mmx/libpq.so.2
31719:    trying file=/lib/libpq.so.2
31719:    trying file=/usr/lib/i586/mmx/libpq.so.2
31719:    trying file=/usr/lib/i586/libpq.so.2
31719:    trying file=/usr/lib/mmx/libpq.so.2
31719:    trying file=/usr/lib/libpq.so.2
31719:
[12/Oct/2003:19:52:47][31719.1024][-main-] Warning: modload: failed to
load '/usr/local/aolserver/bin/nspostgres.so': 'libpq.so.2: cannot open
shared object file: No such file or directory'
[12/Oct/2003:19:52:47][31719.1024][-main-] Error: dbdrv: failed to load
driver 'postgres'
[12/Oct/2003:19:52:47][31719.1024][-main-] Error: dbinit: no such default
pool 'pool1'
[12/Oct/2003:19:52:47][31719.1024][-main-] Debug: dbinit: no configured pools

The LD_LIBRARY_PATH is correct. ldd nspostgres.so reveals:


        libpq.so.2 => /usr/local/pgsql/lib/libpq.so.2 (0x40019000)
        libc.so.6 => /lib/libc.so.6 (0x40028000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4014b000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40178000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40188000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

In addition /usr/local/aolserver/bin/libpq.so.2 exists as a link to
/usr/local/pgsql/lib/libpq.so.2, which is itself a link to
/usr/local/pgsql/lib/libpq.so.2.2.

Should I copy libpq.so.2.2, and name the copy libpq.so.2? Any ideas?

Tom


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to