On Sun, Nov 07, 1999 at 02:59:50PM +0100, Roland Jesse wrote:
> Matthias Teege <matthias(at)mteege.de> writes:
>
> > cc -o testpg -I/usr/local/pgsql/include -L/usr/local/pgsql/lib -lpq
> > testpg.c
> >
> > liefert wieder die undefinierten Symbole.
>
> Was sagt denn `nm /usr/local/pgsql/lib/libpg.a | grep -i pqfinish`?
nm: cannot read /usr/local/pgsql/lib/libpg.a
Ich habe das Ganze auf einem zweiten Rechner mit FreeBSD 3.2 und einer
neueren PostgreSQL Version getestet.
nm klappt dort wie folgt:
nm /usr/local/pgsql/lib/libpq.a | grep -i 'pqfinish'
00000f88 T PQfinish
compilieren klappt allerdings mit dem folgenden Aufruf nicht:
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
Bis dann
Matthias
-- Matthias Teege -- matthias@mteege.de -- http://emugs.de make world not war PGP-Key auf Anfrage To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Sun 07 Nov 1999 - 15:35:20 CET