It assumes PG includes and libraries in the common paths, if not try
make LDFLAGS=-L/usr/local/pg/lib
or whatever path where pg libs are
Bernd Eidenschink wrote:
Hi,
I'm trying to compile it:
I just started with a simple
gmake NAVISERVER=...
In file included from nsdbpg.c:37:
dbpg.h:44:22: error: libpq-fe.h: File or directory not found
And when I copy
libpq-fe.h
postgres_ext.h
into the directory it finally breaks with that:
gcc -pipe -shared -nostartfiles -L../naviserver/lib -o nsdbpg.so nsdbpg.o
tclcmds.o -lnsdb -lpq -L/home/dev/development/naviserver/lib -ltcl8.4
-lnsthread -lnsd -Wl,--export-dynamic -lz -lgcc_s
-Wl,-rpath,../naviserver/lib
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot
find -lpq
collect2: ld returned 1 exit status
gmake: *** [nsdbpg.so] Fehler 1
Bernd.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel