Gentoo Archives: gentoo-osx

From: Grobian <grobian@g.o>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] [PREFIX] SUCCESS!!! system installed
Date: Fri, 24 Mar 2006 08:42:01
In Reply to: Re: [gentoo-osx] [PREFIX] SUCCESS!!! system installed by m h
On 23-03-2006 17:41:40 -0800, m h wrote:
> > I'm on a fix here, if I can get my gcc recompiled (I screwed up the > > linker: ${PREFIX}/usr/bin/ld: crt1.o: No such file: No such file or directory) > > > > I'm actually having linker issues with apache. For some reason it is > trying to look for libz in /lib instead of ${PREFIX}/usr/lib (even > though I've told apache that's the location of zlib). Even when I > compile a simple c program that includes zlib.h
This is EXACTLY the problem I have and trying to tackle right now.
> gcc is the only symlink (for binaries) I have right now. Maybe that's > indicative of the linker problem...
I believe not. GCC or the linker is the problem. If you look at the SEARCH_DIR things for the linker (`ld --verbose | head -n20`) you will see that it doesn't even looks in ${PREFIX}/lib.
> Stuck on the linker issue right now....
Ok... so it becomes even more important that I find a fix for this issue... -- Fabian Groffen Gentoo for Mac OS X Project -- gentoo-osx@g.o mailing list