Hi Patrick, On 04/06/07, Patrick van Kleef <vos.ad...@openlinksw.com> wrote:
Hmm. i do not know if that will work everywhere. Sometimes we specially build static libraries with shared objects for convenience. Let me know if you have any more problems and i will see what i can do about it.
Just to reiterate in case the actual problem got lost in the shell output/patches in my previous emails... The perl hosting option simply didn't work on the mac as supplied (irrespective of the universal/intel target). The failure was due to the fat binary DynaLoader.a not getting added to the static version of the perl_hosting library correctly. You might like to verify this if you have an intel mac around, just to check there's nothing odd about my setup. However I believe it's pretty standard and is using the system perl, not one from MacPorts etc. The --disable-static was just an attempt to work around this problem. You could fix your libtool to recognise that DynaLoader.a is a fat binary and unpack it automatically (as it seems to do in other cases judging from the build output), but having looked at the contents of that script I don't envy you that task! :-) Have fun and let us know how you are getting on. Will do! Many thanks, James