On Mon, 7 Mar 2005 19:06:26 -0600, Brian Medley <bpm-list-osx-unix at 4321.tv> wrote: >On Tue, Mar 08, 2005 at 12:15:28AM +0000, Phil Dobbin wrote: > >> I'm having great difficulty using libtool to link DSOs after I >> upgraded httpd. >> >> Upon completion of `make install' when trying to start the >> server I got this error message: >> >> --------------------------------------------------------- >> >> /Library/Apache2/bin/apachectl start >> dyld: /Library/Apache2/bin/httpd version mismatch for library: >> /Library/Apache2/lib/libexpat.0.dylib (compatibility version of >> user: 5.0.0 greater than library's version: 2.0.0) >> /Library/Apache2/bin/apachectl: line 87: 15100 Trace/BPT trap $HTTPD -k $ARGV >> >> ---------------------------------------------------------- > >If I'm reading this error message correctly it is saying that the >/Library/Apache2/lib/libexpat.0.dylib is version 2.0.0 and you >need 5.0.0? Is libexpat.0.dylib a symlink? If so, what does it >point to? The output for directories containing libexpat.0.dylib is: --------------------------------------------------------------- $ find / -name libexpat.0.dylib /usr//local/lib/libexpat.0.dylib /usr//local/php/lib/libexpat.0.dylib /Library/Apache2/lib/libexpat.0.dylib /usr/local/lib $ ls -lai 253495 -rwxr-xr-x 1 root wheel 329464 Dec 3 2002 libexpat.0.4.0.dylib 253496 lrwxr-xr-x 1 root wheel 20 Mar 6 02:57 libexpat.0.dylib -> libexpat.0.4.0.dylib 253500 -rw-r--r-- 1 root wheel 418568 Dec 3 2002 libexpat.a 253497 lrwxr-xr-x 1 root wheel 20 Mar 6 02:57 libexpat.dylib -> libexpat.0.4.0.dylib 253498 -rwxr-xr-x 1 root wheel 724 Dec 3 2002 libexpat.la /usr/local/php/lib $ ls -lai 1633178 -rwxr-xr-x 1 root admin 322344 Dec 8 2003 libexpat.0.4.0.dylib 1633179 lrwxr-xr-x 1 root admin 20 May 6 2004 libexpat.0.dylib -> libexpat.0.4.0.dylib 1633180 -rw-r--r-- 1 root admin 402824 Dec 8 2003 libexpat.a 1633181 lrwxr-xr-x 1 root admin 20 May 6 2004 libexpat.dylib -> libexpat.0.4.0.dylib 1633182 -rwxr-xr-x 1 root admin 742 Dec 8 2003 libexpat.la /Library/Apache2/lib $ ls -lai 2619512 -rwxr-xr-x 1 root admin 288140 Jul 9 2003 libexpat.0.1.0.dylib 2619513 lrwxr-xr-x 1 root admin 20 Mar 7 22:10 libexpat.0.dylib -> libexpat.0.1.0.dylib 2619514 lrwxr-xr-x 1 root admin 20 Mar 7 22:10 libexpat.dylib -> libexpat.0.1.0.dylib 2619515 -rwxr-xr-x 1 root admin 721 Jul 9 2003 libexpat.la ---------------------------------------------------------------- So there are definitely two libexpat.0.dylib versions but I'm kind of reaching the limits of my Unix experience here. Does this help in conjunction with the error message? FWIW, PHP was compiled as an Apache module before the upgrade so maybe that is the offending libexpat.0.dylib... Thanks, Regards, Phil.