Subject: Re: issues with libm and SANE??
To: Bill Studenmund <wrstuden@netbsd.org>
From: paul <pkdb1@attbi.com>
List: port-macppc
Date: 02/21/2002 17:26:55
[/usr/pkgsrc/graphics/xsane]# pkg_info -F /usr/pkg/lib/libm.so.0
pkg_info: No matching pkg for /usr/pkg/lib/libm.so.0.

WTF?

now what? do I need this? Do I delete it? is it missing the rest 
of a package?


Bill Studenmund wrote:

> On Thu, 21 Feb 2002, paul beard wrote:
> 
> 
>>Bill Studenmund wrote:
>>
>>Will do.
>>
>>ldd yields this:
>>
>>/usr/pkg/bin/scanimage:
>>          -lusb-0.1.5 => /usr/pkg/lib/libusb-0.1.so.5
>>          -lm.0 => /usr/pkg/lib/libm.so.0
>>
>                      ^^^^^^^^^^^^^^^^^^^^^^
> 
> ??? Why do you have a libm in there? Try:
> 
> pkg_info -F /usr/pkg/lib/libm.so.0
> 
> to see what package this is from. I think it's your problem.
> 
> Also, nm /usr/pkg/lib/libm.so.0 | more should show you what symbols are in
> there.
> 
> 
>>          -ljpeg.62 => /usr/pkg/lib/libjpeg.so.62
>>          -lsane.1 => /usr/pkg/lib/libsane.so.1
>>
>>NetBSD purple.paulbeard.org 1.5.2 NetBSD 1.5.2 (PURPLE) #0: Fri
>>Feb 15 22:35:22 PST 2002
>>root@purple.paulbeard.org:/opt/src/sys/arch/macppc/compile/PURPLE
>>macppc
>>
>>we already resolved a compiler problem whereby too much
>>optimization (-O2) would hose up the way some values got
>>populated. That was why I was asking about versions newer that 2.91.
>>
> 
> Are you using the stock compiler (with circumventions to avoid the
> problem)?
> 
> Take care,
> 
> Bill
> 
> 
>