php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58323 PECL module geoip fails to compile
Submitted: 2008-08-23 09:55 UTC Modified: 2008-08-23 11:05 UTC
From: ex_adres at yahoo dot com Assigned:
Status: Not a bug Package: geoip (PECL)
PHP Version: 5.2.5 OS: OpenBSD
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ex_adres at yahoo dot com
New email:
PHP Version: OS:

 

 [2008-08-23 09:55 UTC] ex_adres at yahoo dot com
Description:
------------
When I run: 'pecl install geoip' it fails. I have noticed -ldl 
flags in configure, which is not necessary on OpenBSD. I use 
autoconf version 2.61. Unfortunately removing the -ldl flags 
does nog get the module to compile. Some other modules (idn 
for example) do not compile, actually all modules fail to 
install properly.

(I am sorry for this not so very good bugreport, I am no 
programmer. I am always willing to supply more information or 
test things)

Expected result:
----------------
module is installed and compiles properly.

Actual result:
--------------
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for geoip support... yes, shared
checking for geoip files in default path... found in 
/usr/local
checking for GeoIP_open in -lGeoIP... no
configure: error: wrong geoip lib version or lib not found
ERROR: `/tmp/pear/temp/geoip/configure' failed





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-23 11:05 UTC] ohill@php.net
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

Please read the error, it gives the exact reason of the failure:

configure: error: wrong geoip lib version or lib not found

You need the GeoIP library installed on your system, this is only a PHP wrapper around the GeoIP library. You need version 1.4.0 or higher, but from what I can see, you don't seem to have any version installed.
 [2014-06-04 16:18 UTC] agrijag1 at yahoo dot com
Your answer sucks ohill!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC