Re: libxml2.2.dylib is incompatible with pymol-py27

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
> On Dec 17, 2014, at 1:46 PM, Xiaoguang Xue <[email protected]> wrote:
> 
> Dear All
> 
> I got an error after I install pymol-py27 through the latest fink.
> 
> My system is OS X Yosemite 10.10.1
> 
> Traceback (most recent call last):
>   File "/sw/lib/python2.7/site-packages/pymol/__init__.py", line 71, in <module>
>     import pymol
>   File "/sw/lib/python2.7/site-packages/pymol/__init__.py", line 533, in <module>
>     import pymol._cmd
> ImportError: dlopen(/sw/lib/python2.7/site-packages/pymol/_cmd.so, 2): Library not loaded: /sw/lib/libxml2.2.dylib
>   Referenced from: /sw/lib/python2.7/site-packages/pymol/_cmd.so
>   Reason: Incompatible library version: _cmd.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
> 
> Does anyone have idea about how to fix it?
> 
> Thanks!
> 
> -- 
> Xiaoguang Xue, PhD student
> Utrecht University
> Crystal & Structural Chemistry
> Padualaan 8. Room N807
> 3584 CH Utrecht
> The Netherlands
> Tel. +31-30-253-2383

Do you have DYLD_LIBRARY_PATH set in your environment? (“printenv DYLD_LIBRARY_PATH”)  People often _think_ that is the right thing to do based on a false analogy with LD_LIBRARY_PATH in Linux, but what it does is completely override the default lookups.  If you have that set, then what’s happening is pymol is trying to use a libxml2.2.dylib from something other than Fink based on that setting.

If you don’t have DYLD_LIBRARY_PATH set, then what do you get from “otool -L /sw/lib/libxml2.2.dylib” ?
-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.