[OE-core] libs transition /usr/lib -> /lib questions

Andreas Müller schnitzeltony at gmx.de
Thu Jan 5 23:29:44 UTC 2012


Hi

currently some libs are moving from $libdir (/usr/lib) -> $base_libdir (/lib). I 
have the following questions:

* can sombody explain a bit more what is it for and how the decision is made to 
transit libs? I read the commit messages but still have no idea what this 
enhances / fixes. What is 'not safe' or - I guess the insane.bbclass modification 
deals same issue - 'system recovery'. Is that something I (should) have? :)
* can somebody please take care what I see with meta-oe / obexd:

| ./arm-angstrom-linux-gnueabi-libtool  --tag=CC   --mode=link ccache arm-
angstrom-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      -mthumb-
interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-
thumb --sysroot=/home/Superandy/tmp/oe-core-eglibc/sysroots/overo -
I/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/glib-2.0 -
I/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/glib-2.0/include   -
I/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/include/dbus-1.0 -
I/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/usr/lib/dbus-1.0/include -
D_FILE_OFFSET_BITS=64 -DOBEX_PLUGIN_BUILTIN -
DPLUGINDIR=\""/usr/lib/obex/plugins"\" -O -fno-omit-frame-pointer -g -
feliminate-unused-debug-types -pipe -O0 -Wl,--export-dynamic -Wl,-O1 -Wl,--hash-
style=gnu -Wl,--as-needed -o src/obexd gdbus/mainloop.o gdbus/watch.o 
gdbus/object.o gdbus/polkit.o plugins/bluetooth.o  plugins/filesystem.o  
plugins/opp.o plugins/ftp.o plugins/pbap.o plugins/vcard.o plugins/mas.o 
plugins/irmc.o plugins/syncevolution.o btio/btio.o src/main.o src/plugin.o 
src/log.o src/manager.o src/obex.o src/mimetype.o src/service.o src/transport.o 
src/server.o plugins/phonebook.o plugins/messages.o -ldbus-1 -lpthread -lrt   -
lglib-2.0 -lopenobex -lbluetooth   -lical -licalss -licalvcal -lpthread -ldl
| arm-angstrom-linux-gnueabi-libtool: link: cannot find the library 
`/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/lib/libusb-1.0.la' or 
unhandled argument `=/lib/libusb-1.0.la'
| make[1]: *** [src/obexd] Error 1

libusb-1.0.la still resides in .../sysroots/overo/usr/lib. Maybe it needs 
transition too? If yes: Are there also others which need libtool-lib transition?

Thanks

Andreas




More information about the Openembedded-core mailing list