Dear list,
I get the following linker error building upstream lirc on sid, updated
as of today:
/usr/bin/ld: cannot find /lib/
/usr/bin/ld: cannot find s/libusb-0.1.so.4.4.4
The link command (which builds a plugin):
$ gcc -shared -fPIC -DPIC .libs/atilibusb_la-atilibusb.o -Wl,-rpath \
-Wl,/home/mk/debian-pkg/lirc-0.9.4~pre2/lib/.libs -L../lib \
/home/mk/debian-pkg/lirc-0.9.4~pre2/lib/.libs/liblirc_driver.so \
-ludev -lusb -pthread -g -O2 -fstack-protector-strong -Wl,-z \
-Wl,relro -pthread -Wl,-soname -Wl,atilibusb.so -o .libs/atilibusb.so
Facts in case:
- The command is generated by autotools.
- The same package builds fine on jessie.
- If I remove the -lusb option the link succeeds, but the resulting
plugin is of course unusable having unresolved references.
- libusb-0.1-4 and libusb-dev is in place:
$ dpkg -L libusb-0.1-4
...
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
/lib/x86_64-linux-gnu/libusb-0.1.so.4
dpkg -s libusb-dev
...
Version: 2:0.1.12-29
Feeling lost. The error message just makes no sense. Any hint out there?
Cheers!
--alec