From: | jean Bousquet <cogilog(at)cogilog(dot)com> |
---|---|
To: | <pgsql-novice(at)postgresql(dot)org> |
Subject: | Linking problems |
Date: | 2003-07-10 15:20:44 |
Message-ID: | BB3350E8.E73A%cogilog@cogilog.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Hello,
It is the first time I try to compile and link an app using the library
libpq, get some problems and I am a bit lost.
Compile seems OK but the link complains :
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_PQconnectdb
_PQstatus
In fact I use PQconnect and PQStatus functions in my code.
the error comes just after this line :
StandaloneExecutable.LinkUsingFileList
/Users/jbo/Develop/ApprentissageCocoa/Choice/build/Choice.app/Contents/MacOS
/Choice
/usr/bin/gcc3 -o
/Users/jbo/Develop/ApprentissageCocoa/Choice/build/Choice.app/Contents/MacOS
/Choice "-L/Users/jbo/Develop/ApprentissageCocoa/Choice/build"
"-L/usr/local/pgsql/lib"
"-F/Users/jbo/Develop/ApprentissageCocoa/Choice/build" -filelist
/Users/jbo/Develop/ApprentissageCocoa/Choice/build/Choice.build/Choice.build
/Objects-normal/LinkFileList "-arch" "ppc" "-prebind"
"-Wl,-no_arch_warnings" "-framework" "Cocoa"
I use Mac OSX.2 and cocoa as dev. tool
At this time I have no idea what to do to fix the problem.
Thanks for help and advice.
Jean
From | Date | Subject | |
---|---|---|---|
Next Message | jean Bousquet | 2003-07-10 16:46:12 | Linking problems (following) |
Previous Message | Dmitry Tkach | 2003-07-10 14:28:24 | Re: inheritance |