[cups.general] cups 1.4.4 on Solaris 10

Tim Mooney Tim.Mooney at ndsu.edu
Wed Aug 11 11:28:27 PDT 2010


In regard to: [cups.general] cups 1.4.4 on Solaris 10, Burke Sean said (at...:

> 1. The following filters always fail die to the following error:
>
> ./bannertops
> ld.so.1: bannertops: fatal: libpng12.so.0: version `PNG12_0' not found (required by file /opt/csw/lib/libcupsimage.so.2)
> ld.so.1: bannertops: fatal: libpng12.so.0: open failed: No such file or directory
>
> ldd bannertops
>        libcupsimage.so.2 =>     /opt/csw/lib/libcupsimage.so.2
> .....
>        libpng12.so.0 =>         /usr/lib/libpng12.so.0
>        libpng12.so.0 (PNG12_0) =>       (version not found)
>        libjpeg.so.8 =>  /usr/local/lib/libjpeg.so.8

Is it possible that you installed CUPS that someone else built and packaged,
but you didn't install libpng from the same place?

The problem is that the version of libpng12.so.0 that bannertops found
doesn't provide the correct versioned symbol that was recorded by the
linker at link time.

You can use "elfdump -v" to explore symbol versioning for executables and
shared libraries.

> 2. Is with regards compiling the hplip (hplip-3.10.6 ) source. I've managed to fix all the dependencies except the very last one.....
>
> gcc -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -g -O2 -o .libs/hp hp-hp.o  ./.libs/libhpmud.so -lusb -lpthread -L/usr/local/lib /usr/local/lib/libdbus-1.so -lnsl -lsocket  -R/usr/local/lib
> Undefined                       first referenced
> symbol                             in file
> strcasestr                          hp-hp.o
> ld: fatal: Symbol referencing errors. No output written to .libs/hp
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `hp'

Just Google "strcasestr implementation" and take one of the
implementations there (e.g.
http://notmuchmail.org/pipermail/notmuch/2010/002265.html) and add it to
the top of hp-hp.c.

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164





More information about the cups mailing list