I had the same problem a couple weeks ago. libpng installs two libraries,
libpng.so and libpng12.so. The failing function was deprecated some time
ago, and finally removed from libpng12.so. And of course cups is trying to
link against libpng12.so, which doesn't have the function; hence your error.

My fix was to alter the libpng symlinks. I'm not sure if these alterations
are really recommended, but everything still seems to be working. Now I
forget the exact change, but I changed (or possibly created) a symlink to
point to libpng.so instead of libpng12.so.

Here's the symlink setups that works for me. You should do: ls -l
/usr/lib/libpng*, and see what's different from mine:

matt $ ls -l /usr/lib/libpng*

-rw-r--r-- 1 root root 195696 2006-09-12 22:31 /usr/lib/libpng12.a
-rwxr-xr-x 1 root root    804 2006-09-12 22:31 /usr/lib/libpng12.la
lrwxrwxrwx 1 root root     18 2006-09-12 22:31 /usr/lib/libpng12.so ->
libpng12.so.0.12.0
lrwxrwxrwx 1 root root     18 2006-09-12 22:31 /usr/lib/libpng12.so.0 ->
libpng12.so.0.12.0
-rwxr-xr-x 1 root root 166481 2006-09-12 22:31 /usr/lib/libpng12.so.0.12.0
lrwxrwxrwx 1 root root     10 2006-09-12 22:31 /usr/lib/libpng.a ->
libpng12.a
lrwxrwxrwx 1 root root     11 2006-09-12 22:31 /usr/lib/libpng.la ->
libpng12.la
lrwxrwxrwx 1 root root     11 2006-09-12 22:31 /usr/lib/libpng.so ->
libpng12.so
lrwxrwxrwx 1 root root     16 2006-09-12 22:31 /usr/lib/libpng.so.3 ->
libpng.so.3.12.0
-rwxr-xr-x 1 root root 176821 2006-09-12 22:31 /usr/lib/libpng.so.3.12.0

My change could be: /usr/lib/libpng.so.3 -> libpng.so.3.12.0. If yours
points to libpng.12, try changing it to point to libpng, and then rebuild
cups.

Matt Sanchez

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to