more woes with php 5.2.6

Ryan Schmidt ryandesign at macports.org
Wed Jul 23 17:39:13 PDT 2008


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_p 
> hp5/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"



More information about the macports-users mailing list