Hi!

Compiling the following returns me - executing the result.cgi - the
error:
./result.cgi: can't load library 'libpq.so.2'

gcc -lpq -I/usr/include/mysql -I/usr/local/pgsql/include
-L/usr/local/pgsql/lib -L/usr/lib/mysql program.c
-o result.cgi -Wall -DUNIX -lmysqlclient -lm

All files are at its places. I use PostgreSQL 7.1.3.

What I'm doing wrong?

Thanx
Steve


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to