On Mon, 13 May 2013, Allan Duncan <[email protected]> wrote:
> /usr/bin/ld: cannot find -lpng12
> collect2: ld returned 1 exit status
> [src]>
> 
> [src]> ls -l /usr/lib/libpng12.so.0
> lrwxrwxrwx 1 root root 18 May 13 21:09 /usr/lib/libpng12.so.0 -> 
> libpng12.so.0.49.0

Does the file it links to exist and have the correct contents?  Have you run 
the command your distribution uses to verify the checksums of the files in 
question?

You could run "strace -s 2000 -o ~/tmp/gcc-trace -ff c++ ..." and then look 
through the trace to see what happened before the error.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to