Mack Johnson wrote:
hi, i got this error while 'fink update-all' did a 'fink self update'. still got held up here.

Generating namespace member index...
Generating page index...
Generating graph info page...
Generating bitmaps for formulas in HTML...
dyld: Library not loaded: /usr/local/lib/libpng.3.dylib
  Referenced from: /sw/bin/latex
  Reason: image not found

What this says is that at the time you built /sw/bin/latex, you had a library with an install_name of /usr/local/lib/libpng.3.dylib, but now you don't have a file of that name. At build time of /sw/bin/latex (that is, when you [re]built the tetex-base package), there must have been a file named "libpng.dylib" that came on your linker search path before /sw/lib/libpng.dylib, probably /usr/local/lib/libpng.dylib, and this file (or rather the file it pointed to, because it probably was a symbolic link) had an install_name (not necessarily equal to its file name) of /usr/local/lib/libpng.3.dylib. In the meantime you must have removed the file /usr/local/lib/libpng.3.dylib or it never existed.

This situation is one of the reasons why the garbage dump that is /usr/local on many computers is evil when you want to compile things yourself or with fink, see the FAQ entry #6.9 http://fink.sourceforge.net/faq/faq.en.html#comp-general.usr-local-libs

You might need to rebuild quite a few of your Fink packages. You can check with otool, like in

  otool -L /sw/bin/latex

whether such a library in /usr/local/lib has contaminated your binaries. If you want to find all of these, a little shell script might be needed, but even

  grep /usr/local/lib -r /sw/bin

can give you a first list of things that need rebuilding. Besides /sw/bin, you would also have to check inside /sw/lib, and this is huge. You can also look in the directory

  /sw/var/lib/fink/prebound/deps/

whether you find any usr-local-lib-+ entry there, for example

  usr-local-lib-libpng.3.dylib

and then look inside this sub-directory to find a list of packages that have libraries with links to that library and therefore need to be rebuilt.

--
Martin




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to