meta: bernard meta-demo: master (bbbba2bb74846db9b2505089522b60d97ea0ea70) OE Build Configuration: BB_VERSION = "1.11.0" METADATA_BRANCH = "bernard" METADATA_REVISION = "82af8b9fb6d6d1439943fd15b8a75c0e663e4a45" TARGET_ARCH = "mips" TARGET_OS = "linux" MACHINE = "routerstationpro" DISTRO = "poky" DISTRO_VERSION = "0.9+snapshot-20110321" TARGET_FPU = "" I built poky-image-mediatomb for the Router Station Pro today, and after getting a tftpd server setup to boot the thing, I ran into this: root@routerstationpro:~# /etc/init.d/mediatomb restart Restarting upnp media server: /usr/bin/mediatomb: error while loading shared libraries: libjs: cannot open shared object file: No such file or directory mediatomb. I noticed that libjs.so does exist in /usr/lib, so I tried the following: root@routerstationpro:~# LD_PRELOAD=/usr/lib/libjs.so mediatomb MediaTomb UPnP Server version 0.12.1 - http://mediatomb.cc/ =============================================================================== Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer. MediaTomb is free software, covered by the GNU General Public License version 2 2011-03-21 19:20:34 INFO: Loading configuration from: /home/root/.mediatomb/config.xml 2011-03-21 19:20:34 INFO: Checking configuration... 2011-03-21 19:20:34 INFO: Setting filesystem import charset to ANSI_X3.4-1968 2011-03-21 19:20:34 INFO: Setting metadata import charset to ANSI_X3.4-1968 2011-03-21 19:20:34 INFO: Setting playlist charset to ANSI_X3.4-1968 2011-03-21 19:20:34 INFO: Configuration check succeeded. Segmentation fault Get's further, but something still isn't quite right. The library looks sane: # file /usr/lib/libjs.so /usr/lib/libjs.so: ELF 32-bit MSB shared object, MIPS, MIPS32 version 1 (SYSV), dynamically linked, with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70401, stripped
Hmm, I seem to recall this from the Laverne demo - Mark, did we not fix this? Can you remember the workaround you used in Cambridge?
We had incorrectly linked libraries on PPC in 0.9 which iirc resulted in similar errors. http://bugzilla.pokylinux.org/show_bug.cgi?id=515
Per #515 running ldconfig on the device after boot I can then start mediatomb. However it still segfaults...
Did we change the version of Mediatomb or libjs since the 0.9 demo?
it looks that this does be machine specific. On my eMenlow board, mediatomb is launched successfully FYI.
I guess mediatomb hasn't seen much build/test on MIPS. Even if I revert to the 0.9 demo and build an image with mediatomb for the routerstationpro I get a segfault on launch...
Needs an owner.
I doubt Shane is still looking at this. As a "low" it doesn't need to be scheduled. I would suggest removing the target milestone instead of just bumping it along every milestone.
meta-dlna is dead now.