aaron bryden <[EMAIL PROTECTED]> said:
> I have used fink successfully for over a year now and this is the
> first problem i have had. I was doing an update so that I could use
> another package in unstable and found that the package pymol broke
> because of a problem with libpng. I tried in vain to fix this and
> found some references to a similar problem that was allegedly fixed.
> Eventually I gave up and wiped out /sw and reinstalled fink completely
> and only installed the package pymol after changing to unstable.  I
> still get the following error when trying to run pymol:
>
> Traceback (most recent call last):
>   File "/sw/lib/pymol-py24/modules/pymol/__init__.py", line 109, in ?
>     import pymol
>   File "/sw/lib/pymol-py24/modules/pymol/__init__.py", line 353, in ?
>     import _cmd
> ImportError: Failure linking new module:
> /sw/lib/pymol-py24/modules/pymol/_cmd.so: Library not loaded:
> /sw/lib/libpng.3.dylib
>   Referenced from: /sw/lib/pymol-py24/modules/pymol/_cmd.so
>   Reason: Incompatible library version: _cmd.so requires version
> 16.0.0 or later, but libpng.3.dylib provides version 3.0.0
>
> If anyone has any ideas on what could have gone wrong here they would
> be greatly appreciated.

I just compiled pymol-py24-0.99-4 and don't see any of my initial flag
suspicions. So here are some pieces of info that could help us nail it
down:

What specific version of which pymol package are you using? What OS X
version, what CPU type? Which x11 are you using (Apple's X11, Fink's
xfree86, or Fink's x.org)?

Is this package being compiled on your machine or is it downloaded
precompiled? If it's being compiled locally, could you tell us the
command that created that _cmd.so file (it's the one that contains "-o
modules/pymol/_cmd.so", about 6/7 of the way through the build
output).

Also, the output of these commands:

  otool -L /sw/lib/pymol-py24/modules/pymol/_cmd.so
  otool -L /sw/lib/libpng.3.dylib
  locate libpng.3.dylib

Do you have any shell environment variables set in your personal shell
config files?

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to