[lsb-discuss] Problem building an LSB package which includes its own copy of the CUPS library
Till Kamppeter
till.kamppeter at gmail.com
Mon Jul 14 13:42:42 PDT 2008
Wichmann, Mats D wrote:
> Till Kamppeter wrote:
>> Then I get
>
> Hmmm, not quite what I thought. Trying a bigger snip:
>
>> 005: /home/till/rpm/BUILD/hplip-2.8.6/cups-1.3.7/cups/libcups.a
>> 006: conftest.c
>> 007: -nodefaultlibs
>> 008: -L
>> 009: /opt/lsb/lib64
>> 010: -L
>> 011: /home/till/rpm/BUILD/hplip-2.8.6/cups-1.3.7/cups/
>> 012: -lcups
>
> I suspect this issue is caused by libcups.a being *before*
> conftest.c, if the references to cups are in conftest,
> which they would be for a configure test, there's
> nothing to satisfy out of libcups.a at the time it's seen,
> then the reference is seen in conftest, which gets
> satisfied against of /opt/lsb/lib64/libcups.so.
>
> I *think*.
>
> Maybe someone is wiser than I on this?
>
>
>
The command line works when I put conftest.c before libcups.a, but this
is not a solution, as the configure macro puts conftest.c always to the
end of the command line and CFLAGS and LDFLAGS before.
Till
More information about the lsb-discuss
mailing list