error loading php5.so

Joe Auty joe at netmusician.org
Wed Apr 4 20:45:41 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe Auty wrote:
> Kevin Kinsey wrote:
>> Joe Auty wrote:
>>>>> # apachectl start Syntax error on line 273 of
>>>>> /usr/local/etc/apache2/httpd.conf: Cannot load
>>>>> /usr/local/libexec/apache2/libphp5.so into server:
>>>>> /usr/local/libexec/apache2/libphp5.so: Undefined symbol
>>>>> "__res_ninit"
>>>>>
>>>>> This is occurring under FBSD 6.2 running the latest
>>>>> versions of Apache/PHP
>>>> Possibly looks as if PHP is unaware of Apache's existence?
>>>> (or at least it was at time of compile). How did you do the
>>>> upgrade?
>>>>
>>> Just via a simple portupgrade... doing a:
>>>
>>> portupgrade -f php5
>>>
>>> Does not correct this problem (although it does create a new
>>> libphp5.so). Any further ideas?
>> Well, I'm not absolutely certain of anything.  I'd make sure that
>>  "make config" under /usr/ports/lang/php5 indicated Apache module
>>  was to be built, and do something more like "-rR php5" instead
>> of "-f".  Did you add new "extensions" to php at the time of this
>>  build, also?
>
>> ??,
>
>> Kevin Kinsey
>
> I did not manually add any extensions... In fact, this error
> persists even with all of my extensions commented out in my
> extensions.ini file. Could this be connected to the major gettext
> upgrade?
>
>
> I'm doing a portupgrade -rRf php5 as we speak (this will take a
> good while to complete on this slower computer).
>


Okay, doing the portupgrade -rRf php5 has resolved this issue. I'm not
sure as to what it was, but for now I suppose I can be content in just
having it working since this is not a production machine.

Thanks for all your help!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFA5xCgdfeCwsL5ERAgocAJ9jld7nxkgOp3Qz0146+dNwlZzr8wCeNiKp
QQIhqksZD9BNWpsvJJ9Rjxs=
=K0Ma
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list