Cesáreo García Rodicio wrote:
Hi!

I had an Aolserver 4.5.1 working with some modules on Mac OS Leopard (10.5.8) but I couldn't get to build nspostgres-4.1. Postgres (8.4.1) was installed using Macports:

roraima:nspostgres-4.1 root# port installed | grep postg
  postgresql84 @8.4.1_1 (active)
  postgresql84-doc @8.4.1_0
  postgresql84-server @8.4.1_0 (active)

When I try to build it (I suppose I have to do make && make install):

make POSTGRES=SEPARATELY PGINC=/opt/local/include/postgresql84/ PGLIG=/opt/local/lib/postgresql84/ ACS=1 AOLSERVER=/usr/local/aolserver45

I get this error:

gcc -bundle -pipe -o nspostgres.so nspostgres.o -L -lpq -lnsdb -L. -lnspostgres -L/usr/local/aolserver45/lib -lnsd -lnsthread -L/usr/local/aolserver45/lib -ltcl8.4g -lpthread
ld: library not found for -lpq

I think LD_LIBRARY_PATH is right and that libpq exists:

roraima:nspostgres-4.1 root# env | grep LD_
LD_LIBRARY_PATH=:/usr/local/pgsql/lib:/opt/local/lib/postgresql84/

roraima:nspostgres-4.1 root# ls /opt/local/lib/postgresql84/libpq.*
/opt/local/lib/postgresql84/libpq.5.2.dylib /opt/local/lib/postgresql84/libpq.a /opt/local/lib/postgresql84/libpq.5.dylib /opt/local/lib/postgresql84/libpq.dylib

If checked http://openacs.org/forums/message-view?message_id=1539251 but I did't see any solution.

Cesáreo, check out this url which currently describes install for MacOSX Leopard..

http://openacs.org/xowiki/openacs-system-install-osx-macports

cheers,

Torben

Thanks for the suport
Cesáreo


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

To Remove yourself from this list, simply send an email to <lists...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.


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

To Remove yourself from this list, simply send an email to 
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to