Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-osx
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-osx@g.o
From: "m h" <sesquile@...>
Subject: Re: [PREFIX] SUCCESS!!! system installed
Date: Thu, 23 Mar 2006 17:52:37 -0800
>
> 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@g.o mailing list


Replies:
Re: [PREFIX] SUCCESS!!! system installed
-- Kito
References:
[PREFIX] SUCCESS!!! system installed
-- m h
Re: [PREFIX] SUCCESS!!! system installed
-- Kito
Re: [PREFIX] SUCCESS!!! system installed
-- m h
Re: [PREFIX] SUCCESS!!! system installed
-- Grobian
Re: [PREFIX] SUCCESS!!! system installed
-- m h
Navigation:
Lists: gentoo-osx: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [PREFIX] SUCCESS!!! system installed
Next by thread:
Re: [PREFIX] SUCCESS!!! system installed
Previous by date:
Re: [PREFIX] SUCCESS!!! system installed
Next by date:
Re: [PREFIX] SUCCESS!!! system installed


Updated Jun 17, 2009

Summary: Archive of the gentoo-osx mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.