[arch-general] sane - 'sane-config --libs' returns NON library information causing some CMake builds to fail - bug or feature?
Ionut Biru
ibiru at archlinux.org
Wed Mar 7 15:20:44 EST 2012
On 03/07/2012 10:16 PM, Ionut Biru wrote:
> On 03/07/2012 09:52 PM, David C. Rankin wrote:
>> Guys,
>>
>> Ran into a big problem with sane 1.0.22-6 causing builds to fail due to the
>> return of 'sane-config --libs' returning non-library flags which results in
>> CMake botching the link config. From the sane-config man page:
>>
>> --libs Print the additional libraries that are necessary to link a SANE
>> frontend to libsane.
>>
>> Currently, on arch, 'sane-config --libs' returns:
>>
>> 10:51 providence:~/bld/david> sane-config --libs
>> -lsane -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/lib
>> -lnetsnmp -lcrypto -lm -ldl -lv4l1 -lm -ltiff -ljpeg -lgphoto2 -lgphoto2_port
>> -lm -lexif -lusb -lavahi-common -lavahi-client -lusb
>>
>
> You should open a bug report than sending this on mailing list.
>
the idea is that net-snmp includes wrong stuff into libs and that's why
they ended up in sane
$ net-snmp-config --libs
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/lib
-lnetsnmp -lcrypto -lm
--
Ionuț
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120307/ddde1095/attachment.asc>
More information about the arch-general
mailing list