Raeanne Napoleon wrote:
> Received the following error when installing gnuplot on MAC OSX 10.5.2 
> Power PC:
>
> Making all in tutorial
> dyld: Library not loaded: /usr/X11/lib/libpng12.0.dylib
>   Referenced from: /sw/lib/libgd.2.dylib
>   Reason: Incompatible library version: libgd.2.dylib requires version 
> 27.0.0 or later, but libpng12.0.dylib provides version 25.0.0
> /bin/sh: line 1: 97908 Trace/BPT trap          ../src/gnuplot eg1.plt
> make[2]: *** [eg1.tex] Error 133
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gnuplot-4.0.0-1005
> (Reading database ... 40461 files and directories currently installed.)
> Removing fink-buildlock-gnuplot-4.0.0-1005 ...
> Failed: phase compiling: gnuplot-4.0.0-1005 failed
>
> Ran fink selfupdate, and then fink update-all and received same error.
>
> I have no idea what to do next.  
>
> Thanks for any suggestions.  
>
Just for completeness, could you run

otool -L /sw/lib/libgd.2.dylib
otool -L /sw/lib/libpng12.0.dylib

?

I suspect that the problem is related to the Leopard linker's "feature" 
of using libraries other than the ones that a package was specifically 
built to use, and that this version of gnuplot isn't set up to deal with 
that correctly, but I want to rule out anything local to your system.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to