Hi Dave, This was fixed.
I used readelf -d libhardware_legacy.so Finally, I needed libwpa_client.so Actually, I have others service in different place: /system/media, /system/b2g.. etc. So, only I have add the missed libraries inside directory ?. Is there automatic form to does that during build process? Thanks in advance. Best regards, jvidalsm 2014-03-29 12:33 GMT-05:00 Jose Vidal <[email protected]>: > Hi Dave, > > Thanks for your response. > > Let me try. > > Best regards. > > Jvidalsm > El mar 28, 2014 3:03 p.m., "Dave Hylands" <[email protected]> escribió: > > Hi Jose, >> >> ----- Original Message ----- >> > From: "Jose Vidal" <[email protected]> >> > To: [email protected] >> > 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 [email protected] https://lists.mozilla.org/listinfo/dev-b2g
