[lxml-dev] Help getting lxml to work reliably on MacOS-X

Michael Guntsche mike at it-loops.com
Mon Feb 4 20:09:35 CET 2008


On Feb 4, 2008, at 19:55, Stefan Behnel wrote:

>> DYLD_LIBRARY_PATH is not set at all. All I had to do for lxml to find
>> the correct libraries was to make sure
>> that xml2-config and xslt-config from my macports installation is  
>> found
>> BEFORE the stock versions in /usr/bin.
>> This way etree links against the correct libraries.
>
> Hmmm, could others comment on this? Does this make a difference?  
> Especially
> for those, who must currently set the DYLD var?
>

Just had a look at setupinfo.py and CHANGES.txt, only "xslt-config"  
is used to find the corrent CFLAGS and libs, but since xml2-config  
and xslt-config should always be in the same directory this should  
not be much of a problem.
So just make sure the new xslt-config is found first and you should  
be safe.

/Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080204/aa112498/attachment.bin 


More information about the lxml-dev mailing list