Welcome! Log In Create A New Profile

Advanced

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

October 11, 2010 07:46AM
On Mon, Oct 11, 2010 at 06:47:22AM -0400, djeyewater wrote:

> I have the GeoIP lib installed in a non standard location. I am
> configuring nginx like
> [code]./configure --prefix=$NGX_PATH
> --with-pcre=$HOME/tarballs/pcre-8.10 --without-http_autoindex_module
> --without-http_charset_module --without-http_empty_gif_module
> --without-http_geo_module --without-http_ssi_module
> --with-http_gzip_static_module --with-http_realip_module
> --with-http_geoip_module --with-cc-opt="-I $HOME/apps/GeoIP/include"
> --with-ld-opt="-L $HOME/apps/GeoIP/lib"[/code]
>
>
> Nginx will configure, make and make install okay.
>
> But when I try to start it I get the error
> [code]error while loading shared libraries: libGeoIP.so.1: cannot open
> shared object file: No such file or directory[/code]
>
>
> How should I get nginx with the geo-ip module to work when the GeoIP lib
> is installed in a non-standard location?

Try

--with-ld-opt="-R $HOME/apps/GeoIP/lib -L $HOME/apps/GeoIP/lib"[/code]


--
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: 288
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