Linking problems (following)
Linking problems (following)
От:
jean Bousquet <cogilog@cogilog.com>
Дата:
Hello,
Here is the following of the previous message about undefined symbols :
_PQconnectdb
_PQstatus
by linking.
By adding the lipq.a files to the files in the build process (do I need ?),
I got another message from the link phase :
ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out of
date; rerun ranlib(1) (can't load from it)
> Note that the date of the libpq.a file is 23 June 2003 (date of installation
> on my mac)
ld: warning prebinding disabled because dependent library:
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit can't be
searched
Hereafter the complete link message.
Many thanks for help or advice, I get more and more lost.
Jean
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" "-lpq"
...failed StandaloneExecutable.LinkUsingFileList
/Users/jbo/Develop/ApprentissageCocoa/Choice/build/Choice.app/Contents/MacOS
/Choice ...