Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by Haroon Ahmad (not registered) on Fri, 2009-01-16 13:40.
Hi

I am trying to install mod_geoip for apache 2.2.9 on centos 4.7, setup with whm and cpanel.

I first logged in as root user then did the following,

mkdir geoip

wget http://www.maxmind.com/download/geoip/api/c/GeoIP.tar.gz

tar xzfv GeoIP.tar.gz

cd GeoIP*

./configure
make
make check
make install

cd ..

mkdir mod_geoip
cd mod_geoip

wget http://www.maxmind.com/download/geoip/api/mod_geoip/mod_geoip_1.1.1.tar.gz

tar xzfv mod_geoip_1.1.1.tar.gz

cd mod_geoip_1.1.1

apxs -cia -I/usr/local/include -L/usr/local/lib -lGeoIP mod_geoip.c

now at this point i am getting following error
[code]
# apxs -cia -I/usr/local/include -L/usr/local/lib -lGoeIP mod_geoip.c
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-0 -I/usr/include/httpd -I/usr/local/include  -c -o mod_geoip.lo mod_geoip.c && touch mod_geoip.slo
/bin/sh /usr/lib/apr/build/libtool --silent --mode=link gcc -o mod_geoip.la  -L/usr/local/lib -lGoeIP -rpath /usr/lib/httpd/modules -module -avoid-version    mod_geoip.lo
/usr/bin/ld: cannot find -lGoeIP
collect2: ld returned 1 exit status
[b]apxs:Error: Command failed with rc=65536[/b][/code]


i was wondering if anybody could help with it.

thank you very much
Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.