As the error message indicates, at some time you must have had on your  
system /usr/local/lib/libpng12.dylib, and it is no longer present.

Fink prevents you from removing fink-installed libraries which you  
still need, but when you put things into /usr/local/lib, they override  
the fink things (and there is nothing fink can do about that).  This  
leads to messes like the one you are in.

You didn't show enough of the error message for me to determine  
exactly which fink package of yours is accidentally linked to the no- 
longer-present /usr/local/lib package.  It sounds, however, as if it  
is hiding it a .la file, so one way to assess your situation is to run  
"grep /usr/local/lib /sw/lib/*.la" to find out what bad references  
would be hiding in .la files.  "dpkg -S /sw/lib/foo.la" will then tell  
you which fink package contains that .la file, and you should rebuild  
all such fink packages, after having removed all offending things  
from /usr/local.

   -- Dave

On Apr 26, 2007, at 12:49 PM, Raul Hennings-Yeomans wrote:

> Dear Dave
> I am trying to install gnuplot and povray in my powerbook G4 but
> run into an error.
>
> I gave the command:
> fink install gnuplot povray
>
> and the error is:
> powerpc-apple-darwin8-gcc-4.0.1: /usr/local/lib/libpng12.dylib: No  
> such file or directory
> make[2]: *** [libgd.la] Error 1
> 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-gd2-2.0.33-3
> (Reading database ... 33776 files and directories currently  
> installed.)
> Removing fink-buildlock-gd2-2.0.33-3 ...
> Failed: phase compiling: gd2-2.0.33-3 failed
>
> thanks in advanced
> -Raul


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to