[horde] Update broke geoip

Jan Schneider jan at horde.org
Thu Nov 3 15:55:40 UTC 2011


Zitat von Simon Wilson <simon at simonandkate.net>:

> ----- Message from Jan Schneider <jan at horde.org> ---------
>       Date: Thu, 03 Nov 2011 14:15:48 +0100
>       From: Jan Schneider <jan at horde.org>
>    Subject: Re: [horde] Update broke geoip
>         To: horde at lists.horde.org
>> Zitat von Simon Wilson <simon at simonandkate.net>:
>>> Just in case anyone else gets this...
>>>
>>>   I ran an update this morning (pear upgrade -a -B -c horde).
>>>
>>>   One of the things it upgraded was geoip.
>>>
>>>   I ran it again later when I saw another of Jan's update notices,
>>> and I got:
>>>
>>>   PHP Warning:  PHP Startup: Unable to load dynamic library
>>> '/usr/lib64/php/modules/geoip.so' -
>>> /usr/lib64/php/modules/geoip.so: cannot open shared object file: No
>>> such file or directory in Unknown on line 0
>>>
>>>   It was correct, the file was not there, and was not anywhere on
>>> my system, so the extension=geoip.so line in my php.ini was causing
>>> the error. Comment it out and the error went away (obviously!).
>>>
>>>   A pecl uninstall geoip / pecl install geoip rebuilt everything,
>>> and now it works again.
>>  The -B flag installs PECL extensions without building them.
>>
>>  Jan.
>>
>
> That will do it every time... :)
>
> Hmm wonder where I got that from. So just do "pear upgrade -a -c horde"?

If you want to build and install all pecl updates too, yes.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list