[Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

Bob Ippolito bob at redivi.com
Mon Apr 4 03:37:10 CEST 2005


On Apr 3, 2005, at 21:03, OpenMacNews wrote:

> i've originally posted this on python-list -- but I have a suspicion 
> my questions may have to do with Mac-specific issues, so I'll try here 
> as well ...
>
> i've successfully built Python-2.4.1 from src on OSX 10.3.8 as a 
> framework install with, simply:
>
>    ./configure \
>    --enable-framework \
>    --with-threads \
>    --with-cxx=g++ \
>    --enable-ipv6 \
>    --enable-toolbox-glue
>
>    make frameworkinstall
>
> i'm next attempting to build same but linking against an external 
> instance of libxml2 (v2.6.18) installed in /usr/local ...
>
> i've tried the ususal combinations of setting LDFLAGS and/or assigning 
> --with-libs (="/usr/local/lib/libxml2.2.6.18.dylib"), to no avail.
>
> no matter what i do, the build links against the 'native' 
> /usr/lib/libxml* ... successful w/ no error, just the 'wrong' lib.

Neither Python itself, nor any extension in the standard library, links 
to libxml.  What the heck are you talking about?

-bob



More information about the Pythonmac-SIG mailing list