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

djeyewater nginx-forum at
Mon Oct 11 22:43:44 MSD 2010

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]


Posted at Nginx Forum:,139261,139436#msg-139436

More information about the nginx mailing list