Martin Costabel wrote: > Sam McMyler wrote: > [] > >> Finally, I run >> >> find * | grep "\.la" | xargs grep "/Users/Z" | xargs dpkg -S | cut >> -d: -f1 | uniq >> >> >> again and it gives me. >> >> dpkg: *libgd.la:dependency_libs= -L/usr/X11R6/lib -L/sw/lib >> /sw/lib/libiconv.la <http://libiconv.la> -lXpm -lX11 >> /sw/lib/libjpeg.la <http://libjpeg.la> -lfontconfig >> /Users/Z/Desktop/FreeType//lib/libfreetype.la >> <http://libfreetype.la> /sw/lib/libpng12.la <http://libpng12.la> >> -lz* not found. >> > > There was something wrong with the command. Instead of > > xargs grep "/Users/Z" > > it should use > > xargs -l grep "/Users/Z" > > Otherwise dpkg is right to be confused. Ooops. Yeah, I noticed that, and had to run off to teach class before I could email a correction.
> (In addition, "sort | uniq" > instead of just "uniq" might be a good idea, too.) > > Right--totally forgot that: So the command should have been find * | grep "\.la" | xargs grep -l "/Users/Z" | xargs dpkg -S | cut -d: -f1 | sort |uniq > But anyway, the file that contains the bad string is identified in your > error message: It is libgd.la which comes from the gd2 package. > > So you want to run "fink rebuild gd2". > > There's no libpng12 package. Had my script done what it was supposed to have, you would have rebuilt libpng3 ;-) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
