From: | jean Bousquet <cogilog(at)cogilog(dot)com> |
---|---|
To: | <pgsql-novice(at)postgresql(dot)org> |
Subject: | Linking problems (following) |
Date: | 2003-07-10 16:46:12 |
Message-ID: | BB3364B6.E74D%cogilog@cogilog.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
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 ...
From | Date | Subject | |
---|---|---|---|
Next Message | GWynn | 2003-07-10 19:34:50 | UNSUBSCRIBE |
Previous Message | jean Bousquet | 2003-07-10 15:20:44 | Linking problems |