[sane-devel] iscan and libpng error

Florian Reichert florianr at gmx.net
Thu Oct 30 17:41:30 GMT 2003


On Thu, 30 Oct 2003 15:05:29 -0100, gerard klaver <gerard at gkall.hobby.nl> 
wrote:

> On Thu, 2003-10-30 at 13:34, Florian Reichert wrote:
>> On Thu, 30 Oct 2003 12:17:15 -0100, gerard klaver 
>> <gerard at gkall.hobby.nl>
>> wrote:
>>
>> > On Thu, 2003-10-30 at 10:23, Florian Reichert wrote:
>> >> Hello!
>> >>
>> >> Scanning with iscan to png files gives the following error:
>> >> iscan_real: relocation error: /usr/lib/libpng.so: undefined symbol:
>> >> crc32
>> >> Scanning to pnm works.
>> >> Has anyone ideas what to do?
>> >>
[...]
>> > Maby your libpng version is not correct?
>> > For my system libpng.so is linked to libpng12.so (Debian sarge)
>>
>> That is my lib directory:
>>
>> lrwxrwxrwx    1 root     root           13 Aug 19 09:31 libpng12.so ->
>> libpng12.so.0*
>> lrwxrwxrwx    1 root     root           19 Aug 19 09:27 libpng12.so.0 ->
>> libpng12.so.0.1.2.5*
>> -rwxr-xr-x    1 root     root       147704 Feb 18  2003
>> libpng12.so.0.1.2.5*
>> lrwxrwxrwx    1 root     root           11 Aug 19 09:31 libpng.so ->
>> libpng.so.3*
>> lrwxrwxrwx    1 root     root           17 Aug 19 09:27 libpng.so.3 ->
>> libpng.so.3.1.2.5*
>> -rwxr-xr-x    1 root     root       147704 Feb 18  2003 
>> libpng.so.3.1.2.5*
>>
>> Should I link libpng.so to libpng12.so istead of libpng.so.3?
>> Or could I tell iscan to use a special library?
>>
>> Thanks for your answer!
>>
>> Florian
>
> According to my knowledge yes, libpng.so linked to libpng1.2.so, see
> also attached file (don't forget to check .a files.)

Ok I tried that ... now /usr/lib looks like the following, but iscan can't 
scan any png files ...

[florian at reichertnet lib]$ ls -al libpng*
-rw-r--r--    1 root     root       175342 Feb 18  2003 libpng12.a
lrwxrwxrwx    1 root     root           13 Aug 19 09:31 libpng12.so -> 
libpng12.so.0*
lrwxrwxrwx    1 root     root           19 Aug 19 09:27 libpng12.so.0 -> 
libpng12.so.0.1.2.5*
-rwxr-xr-x    1 root     root       147704 Feb 18  2003 
libpng12.so.0.1.2.5*
lrwxrwxrwx    1 root     root           10 Okt 29 21:34 libpng.a -> 
libpng12.a
lrwxrwxrwx    1 root     root           11 Okt 30 16:58 libpng.so -> 
libpng12.so*
lrwxrwxrwx    1 root     root           17 Aug 19 09:27 libpng.so.3 -> 
libpng.so.3.1.2.5*
-rwxr-xr-x    1 root     root       147704 Feb 18  2003 libpng.so.3.1.2.5*



Thanks and regards Florian

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/




More information about the sane-devel mailing list