I'm running OS X Server 10.3.9 with Fink (with libraries under /sw).

Normally I simply use this configure line and install:

./configure --with-apxs --prefix=/usr/local/php-5.1.0 --with-ftp
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config --enable-track-vars
--enable-calendar --disable-debug --with-curl=/sw --enable-mbstring
--enable-mbstr-enc-trans --with-mcrypt=/sw --with-gd --with-png-dir=/sw
--with-zlib-dir=/sw --with-jpeg-dir=/sw --with-pear --with-mhash=/sw
--with-freetype-dir=/sw/lib/freetype2 --enable-exif --quiet

However, this time, I got a TON of libxml errors when running "make".
Basically I think that the stock libxml in OS X 10.3.9 is not up to date for
PHP 5.1.0

So, I upgraded it within fink. And added this to my configure:
    --with-libxml-dir=/sw

Configured and compiled and it worked like a charm.

Now, after restarting apache eveything fails and I get this error in my
error_logs

[Fri Nov 25 16:00:11 2005] [notice] child pid 12821 exit signal Trace/BPT
trap (5)
dyld: /usr/sbin/httpd Undefined symbols:
/usr/libexec/httpd/libphp5.so undefined reference to
_xmlOutputBufferCreateFilenameDefault expected to be defined in
/sw/lib/libxml2.2.dylib
/usr/libexec/httpd/libphp5.so undefined reference to
_xmlParserInputBufferCreateFilenameDefault expected to be defined in
/sw/lib/libxml2.2.dylib

So, does this all mean I cannot run PHP version 5.1.0 on OS X Server or does
someone know how to upgrade the stock libxml library?

-- 

Thomas Deliduka
Chief Technology Officer
     -------------------------
Xenocast
Street Smart Media Solutions
http://www.xenocast.com/

Reply via email to