more woes with php 5.2.6
Ryan Schmidt
ryandesign at macports.org
Thu Jul 24 15:30:40 PDT 2008
On Jul 24, 2008, at 16:30, Mark Hattam wrote:
>> On Jul 22, 2008, at 14:08, Mark Hattam wrote:
>>
>>> After a shutdown & restart, the Powerbook (10.4.11) wouldn't run up
>>> Apache/php5 ... so tried uninstalling and re-installing ...
>>> Apache by
>>> itself seems OK, but php5 won't install. Obviously it had
>>> previously,
>>> when 5.2.6_1 first worked, but now it wont. I'm up to date on port
>>> sync (selfupdate).
>>>
>>>
>>> Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx
>>> +mysql5+sqlite
>>>
>>> ---> Building php5 with target all
>>> Error: Target org.macports.build returned: shell command " cd
>>> "/opt/local/var/macports/build/
>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_www
>>> _php5/work/php-5.2.6"
>>> && make all " returned error 2
>>
>> [snip]
>>
>>> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open
>>> dynamic library: /opt/local/lib/libxml2.2.dylib referenced from:
>>> /opt/local/lib/libexslt.dylib (checking for undefined symbols may be
>>> affected) (No such file or directory, errno = 2)
>>> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
>>> _xmlTextReaderSchemaValidate
>>> _xmlTextReaderSetup
>>> collect2: ld returned 1 exit status
>>> make: *** [libs/libphp5.bundle] Error 1
>>>
>>> Error: Status 1 encountered during processing.
>>
>> It seems you do not have /opt/local/lib/libxml2.2.dylib
>> I wonder why not.
>> On my system, that is a symlink to libxml2.2.6.32.dylib and it's
>> provided by the libxml2 port.
>> What version of the libxml2 port do you have installed?
>> Try "port installed libxml2"
>
> Yes, that's pretty much what I thought ... how has it gone? I
> usually only do reboots on the PowerBook after Apple updates. But
> on Saturday I shut it down and restarted it in the evening. On
> restart I found Apache2 wouldn't run, which is a rather big blow.
>
> Welcome to Darwin!
> modem-645:~ $ sudo port installed libxml2
> The following ports are currently installed:
> libxml2 @2.6.31_0
> libxml2 @2.6.32_0
> libxml2 @2.6.32_1 (active)
Try
sudo port deactivate libxml2 @2.6.32_1
sudo port activate libxml2 @2.6.32_1
Does that bring back the /opt/local/lib/libxml2.2.dylib symlink?
More information about the macports-users
mailing list