October 11, 2010 03:04PM
On Mon, Oct 11, 2010 at 02:43:44PM -0400, djeyewater wrote:

> Igor Sysoev Wrote:
> -------------------------------------------------------
> >
> > Then try:
> >
> > --with-ld-opt="-rpath $HOME/apps/GeoIP/lib -L
> > $HOME/apps/GeoIP/lib"
> >
>
> Unfortunately that's the same (from autoconf.err):
> [code]checking for --with-ld-opt="-rpath /home/djeyewater/apps/GeoIP/lib
> -L /home/djeyewater/apps/GeoIP/lib"
>
> gcc: unrecognized option '-rpath'
> /home/djeyewater/apps/GeoIP/lib: file not recognized: Is a directory
> collect2: ld returned 1 exit status[/code]

Oh, sorry, I have just noticed that this is an gcc's error, but not
linker's one. Try

--with-ld-opt="-Wl,-R,$HOME/apps/GeoIP/lib -L $HOME/apps/GeoIP/lib"

or

--with-ld-opt="-Wl,-rpath,$HOME/apps/GeoIP/lib -L $HOME/apps/GeoIP/lib"


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Building with geo-ip when GeoIP lib in non-standard location

djeyewater October 11, 2010 06:47AM

Re: Building with geo-ip when GeoIP lib in non-standard location

Igor Sysoev October 11, 2010 07:46AM

Re: Building with geo-ip when GeoIP lib in non-standard location

djeyewater October 11, 2010 08:43AM

Re: Building with geo-ip when GeoIP lib in non-standard location

Igor Sysoev October 11, 2010 08:52AM

Re: Building with geo-ip when GeoIP lib in non-standard location

djeyewater October 11, 2010 11:36AM

Re: Building with geo-ip when GeoIP lib in non-standard location

Igor Sysoev October 11, 2010 01:28PM

Re: Building with geo-ip when GeoIP lib in non-standard location

djeyewater October 11, 2010 02:43PM

Re: Building with geo-ip when GeoIP lib in non-standard location

Igor Sysoev October 11, 2010 03:04PM

Re: Building with geo-ip when GeoIP lib in non-standard location

djeyewater October 12, 2010 10:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 179
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready