[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnustep-startup-0.10.1 failed at OpenDarwin/x86
From: |
Lars Sonchocky-Helldorf |
Subject: |
Re: gnustep-startup-0.10.1 failed at OpenDarwin/x86 |
Date: |
Thu, 7 Apr 2005 21:59:31 +0200 |
Am Donnerstag, 07.04.05 um 21:27 Uhr schrieb Adam Fedor:
On Apr 7, 2005, at 11:23 AM, Lars Sonchocky-Helldorf wrote:
I used the latest cvs-checkout of core together with
gnustep-startup-0.10.1
It failed during the linking of base thusly:
Linking library libgnustep-base ...
/usr/bin/libtool: can't locate file for: -lcallback
/usr/bin/libtool: file: -lcallback is not an object file (not allowed
in a library)
/usr/bin/libtool: can't locate file for: -lavcall
/usr/bin/libtool: file: -lavcall is not an object file (not allowed
in a library)
...
you might have noticed that those libs are not in the usual place for
libraries (because I used to install them thru DarwinPorts (
http://darwinports.opendarwin.org/ ) and they are no dynamic
libraries (.dylib). Must I set LD_LIBRARY_PATH to make those found?
Well, that's odd, because it appears the gcc knows to look in
/opt/local/lib for libraries (possibly because gcc is in /opt/local as
well), but libtool apparently does not. Perhaps we should be using
gcc to link on Darwin and not gcc? Anyone know why we are not doing
this?
Meanwhile I asked around on #opendarwin at freenode:
iooi (19:22:56 Uhr): how do I make my libraries in /opt/local/lib be
found? Set LD_LIBRARY_PATH?
ssen (19:23:42 Uhr): define "be found"
irc (19:23:53 Uhr): lamer0 has left opendarwin
ssen (19:23:56 Uhr): if you're building things correctly, nothing
ssen (19:24:11 Uhr): that's the whole point of darwinports
ssen (19:24:21 Uhr): nothing sense any dyld paths to find dylibs
iooi (19:25:56 Uhr): well if it's only darwinports this might work. But
I am trying to link something not darwinporty to those libs
iooi (19:26:57 Uhr): If you want to know: i am trying to build GNUstep
on OD/x86 which tries to link in libcallback and libavcall (ffcall
package)
ssen (19:27:02 Uhr): you shouldn't need to do anything then
irc (19:27:20 Uhr): Herrchen has joined opendarwin
iooi (19:27:38 Uhr): I get an error like:
iooi (19:27:40 Uhr): Linking library libgnustep-base ...
/usr/bin/libtool: can't locate file for: -lcallback /usr/bin/libtool:
file: -lcallback is not an object file (not allowed in a library)
iooi (19:28:08 Uhr): same for -lavcall
ssen (19:28:21 Uhr): what does "file" on those libraries say?
iooi (19:30:30 Uhr): /opt/local/lib/libcallback.a: current ar archive
irc (19:30:55 Uhr): snu has left opendarwin
iooi (19:31:08 Uhr): same for libavcall.a
irc (19:31:51 Uhr): lamer0 has joined opendarwin
iooi (19:32:00 Uhr): then I also got: /opt/local/lib/libcallback.la:
ASCII English text
iooi (19:32:28 Uhr): hmmm ...
irc (19:32:47 Uhr): snu has joined opendarwin
irc (19:33:15 Uhr): lamer0 has left opendarwin
irc (19:33:51 Uhr): lamer0 has joined opendarwin
irc (19:33:51 Uhr): Unamuno has joined opendarwin
Unamuno (19:35:32 Uhr): does anyone know if there's a way with
darwinports to install mod_perl for apache2?
ssen (19:38:43 Uhr): iooi: can you add "-t" to the link line?
ssen (19:38:53 Uhr): you may need to add -v and use the raw ld
invocation
maybe that helps to clear something up. I had no time to try the last
two advices of ssen.
greets, Lars