Also sprach Matthias Teege (matthias(at)mteege.de):
> cc -o testpg -L/usr/local/pgsql/lib -lpg -I /usr/local/pgsql/include
> testpg.c
> /usr/libexec/elf/ld: cannot open -lpg: No such file or directory
Ich kenn jetzt so die ganzen Unterschiede nicht, aber .a's kann man
wohl direkt mit einbinden. In der Tat ist's noch keine lib.
Versuch mal folgendes :)
cc -o testpg -I ... /usr/local/pgsql/lib/libpq.a testpq.c
Wird dann aber statisch gelinkt.
Alex
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 07 Nov 1999 - 17:27:12 CET