Hi, 

I am having the same problem as described by David in an earlier post to this 
list (which I am quoting below). Is there a solution available meanwhile?

The problem basically is, that PHP SAPI is built as an .so file of type 
MH_BUNDLE but ld expects a MH_DYLIB. PHP uses its own (old) version of libtool 
I tried to symlink to /usr/bin/glibtool (delivered with the OS by Apple) but to 
no avail.


> I'm am not having success in getting php hosting up on Mac OS 10.5.   
> Following the instructions here 
> http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSBldPHP
> 
> , I am getting a link error.
> I can't figure out how to get a dylib out of the php build process.
> 
> configure:23970: /usr/bin/gcc-4.0 -o conftest -O2 -arch ppc -I/opt/ 
> local/include -I/Users/virgin
> ia/php53/include/php/main -I/Users/virginia/php53/include/php/Zend -I/ 
> Users/virginia/php53/inclu
> de/php/TSRM -I/Users/virginia/php53/include/php -L/opt/local/lib -arch  
> ppc conftest.c  -L/Users/
> virginia/php53/lib -lphp5 >&5
> ld: in /Users/virginia/php53/lib/libphp5.so, can't link with bundle  
> (MH_BUNDLE) only dylibs (MH_
> DYLIB)
> collect2: ld returned 1 exit status
> 
> 
> any ideas on the proper build flags and where to add them to the build  
> process (acinclude.m4 maybe?)?
> 
> thanks
> David Coate


Regards, 
Norman


––––
Norman Heino
Semantic Web Researcher/Developer at
AKSW Research Group <http://aksw.org/>
University of Leipzig
WebID: http://id.feedface.de/me


Reply via email to