Hi Jose, ----- Original Message ----- > From: "Jose Vidal" <jvida...@gmail.com> > To: mozilla-dev-...@lists.mozilla.org > Sent: Friday, March 28, 2014 11:38:08 AM > Subject: [b2g] b2g is not running during init process > > Hi everyone, > > I'm porting B2G on freescale device. > > I stopped the /system/bin/b2g.sh process during init. This process is running > in infinite loop. > > When I try run the b2g.sh manually, I have the next error message: > > ================ > > root@android:/ # ./system/bin/b2g.sh > soinfo_link_image(linker.cpp:1635): could not load library > "libhardware_legacy.so" needed by "/system/b2g/b2g"; caused by > soinfo_link_image(linkE > 255|root@android:/ # > > ================ > > I checked the libhardware_legacy.so lib inside the /system/lib > > ================ > > root@android:/ # ls -l system/lib/libhardware_legacy.so > -rwxrwxr-x system system 21764 2014-03-28 12:36 libhardware_legacy.so > root@android:/ # > > ================ > > > Any idea which one is the problem?
Probably one of the libraries that libhardware_legacy.so needs is missing. On your host machine you can go do: cd out/target/product/DEVICE-NAME/system/lib readelf -d libhardware_legacy.so and it will print out what libraries are needed to load libhardware_legacy.so Repeat readelf for each of the libraries to find out what libraries they need etc. Verify that ALL of the needed libraries are in your /system/lib Dave Hylands _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g