[cups.general] cups 1.4.4 on Solaris 10

Burke Sean sean.burke at stryker.com
Fri Aug 13 06:13:06 PDT 2010


Hi Tim,

thanks for the advice. We have now managed to get everything installed and working.

For CUPS, we rebuilt using another location for the libraries and for hplip, we added the strcase code as suggested.

Cheers

Sean

-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of Tim Mooney
Sent: 11 August 2010 20:27
To: Mirror of cups.general Newsgroup
Subject: Re: [cups.general] cups 1.4.4 on Solaris 10

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

_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups





More information about the cups mailing list