From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1FMbUE-0007DM-IB
	for garchives@archives.gentoo.org; Fri, 24 Mar 2006 01:53:11 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2O1qeSj012026;
	Fri, 24 Mar 2006 01:52:40 GMT
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.235] (may be forged))
	by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2O1qcqD024593
	for <gentoo-osx@lists.gentoo.org>; Fri, 24 Mar 2006 01:52:39 GMT
Received: by wproxy.gmail.com with SMTP id 37so803311wra
        for <gentoo-osx@lists.gentoo.org>; Thu, 23 Mar 2006 17:52:37 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=p2VStKD/xHyyFGWWAlQS7eCJ2tdZMZn2GubbIFOu9iAxIuA8U1gESxUhkUMdWiU89dBPVFTpI1s8RxxvRahsz+lJP5G2EjGQosihEeh+vZ6Aw410Ymt2J0zABbZ6a1KlIyMperq7hehj9y5PlemWLB60zw2wI2gQ4TuLFcK7oLw=
Received: by 10.54.129.5 with SMTP id b5mr79284wrd;
        Thu, 23 Mar 2006 17:52:37 -0800 (PST)
Received: by 10.54.108.10 with HTTP; Thu, 23 Mar 2006 17:52:37 -0800 (PST)
Message-ID: <e36b84ee0603231752q71fc2bf4p53585c3c49fb93d7@mail.gmail.com>
Date: Thu, 23 Mar 2006 17:52:37 -0800
From: "m h" <sesquile@gmail.com>
To: gentoo-osx@lists.gentoo.org
Subject: Re: [gentoo-osx] [PREFIX] SUCCESS!!! system installed
In-Reply-To: <e36b84ee0603231741n6c942f97wbef640e5d7588e1a@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-osx@lists.gentoo.org>
List-Help: <mailto:gentoo-osx+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-osx+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-osx+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-osx.gentoo.org>
X-BeenThere: gentoo-osx@gentoo.org
Reply-to: gentoo-osx@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <e36b84ee0603221632p1f9a2bd8l1312679ecee9a072@mail.gmail.com>
	 <0C17D02F-2DC1-4A6E-B73F-BEF93FFD544B@gentoo.org>
	 <e36b84ee0603222014k715f96eepd517e70b0b7f493b@mail.gmail.com>
	 <20060323083104.GA12597@gentoo.org>
	 <e36b84ee0603231741n6c942f97wbef640e5d7588e1a@mail.gmail.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k2O1qcqD024593
X-Archives-Salt: d1e51d58-cfdf-420a-aab2-d919252f8202
X-Archives-Hash: 255b5eb891ec8d5c15ad36aa318d8337

>
> 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
>
>  /* end confdefs.h.  */
> #include <zlib.h>
> int
> main ()
> {
> int i = Z_OK;
>   ;
>   return 0;
> }
>
> Compile it:
> gcc -o foo -O2 -mcpu=i686 -pipe -pthread -I.
> -L/data1/tmp/Mar21/usr/lib foo.c -lz
>
> I get:
> /usr/bin/ld: cannot find /lib/libz.so
> collect2: ld returned 1 exit status
>
> Very weird.....
>

More data.  If I compile with:
-L/data1/tmp/Mar21/usr/lib/JUNK
or
-L/data1/tmp/Mar21
or
*no -L*
It compiles.... ldd states that it is linking with the system zlib
(/usr/lib/lib.so.1)

-- 
gentoo-osx@gentoo.org mailing list