Building with geo-ip when GeoIP lib in non-standard location
Igor Sysoev
igor at sysoev.ru
Mon Oct 11 21:25:07 MSD 2010
On Mon, Oct 11, 2010 at 11:36:48AM -0400, djeyewater wrote:
> Igor Sysoev Wrote:
> -------------------------------------------------------
>
> > What is in objs/autoconf.err near this test ?
>
> Hi Igor
>
> objs/autoconf.err has
> [code]checking for --with-ld-opt="-R /home/djeyewater/apps/GeoIP/lib -L
> /home/djeyewater/apps/GeoIP/lib"
>
> gcc: unrecognized option '-R'
> /home/djeyewater/apps/GeoIP/lib: file not recognized: Is a directory
> collect2: ld returned 1 exit status[/code]
>
> The gcc and ld versions installed are:
> gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
> GNU ld version 2.17.50.0.6-14.el5 20061020
Then try:
--with-ld-opt="-rpath $HOME/apps/GeoIP/lib -L $HOME/apps/GeoIP/lib"
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list