-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm and LD_LIBRARY_PATH (ld-linux-armhf.so.3: No such file or directory) #7770
Comments
It looks like the same issue: #7491 (comment) |
My investigation shows that displayed LD_LIBRARY_PATH is not LD_LIBRARY_PATH variable. My problem (ld-linux-armhf.so.3: No such file or directory) is related with icupkg compiled for ARM and executed on x86 machine. |
Funny but ARM is selected on x86 build machine in Yocto environment:
If I run ./configure from a command line, host_arch = x64 is detected. Need to add an option to setup host_arch for cross-compiling. |
After host_arch = x64 selection CC.host is still ARM:
|
After applying a workaround have new problem with -m32 added somewere:
|
Have you seen #7731? |
@bnoordhuis It is not my case. My problem was related with V8. I will try to make a pull request with changes to simplify cross-compiling process. BR, |
Okay, I'll close the issue for now. |
PR: #7787 |
I met the same issue when I cross compiling nodejs for arm. It use icupkg, however icupkg cannot run on x86 platform. So compilation is failed. |
Make sure the |
@bnoordhuis How to set |
have the same issue, but I'm trying to cross compile QT application for ARM7 lubuntu using raspberry pi3 toolchain via visual GDB, the executable generated and work normally, but the debugging through with break :( |
I make a cross-compiled version of NodeJS 6.3.0
Build machine: Ubuntu 14.10, Yocto poky
Target machine: Raspberry Pi2 (arm armv7a vfp thumb neon callconvention-hard vfpv4 cortexa7 vfp-vfpv4-neon)
Problem:
/lib/ld-linux-armhf.so.3: No such file or directory
It tries to find this library in the root of Build machine instead of defined sysroot directory.
Environment during a compilation:
| LD_LIBRARY_PATH=/sdd/raspi3/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/nodejs/6.3.0-r0/node-v6.3.0/out/Release/lib.host:/sdd/raspi3/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/nodejs/6.3.0-r0/node-v6.3.0/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/icu; mkdir -p /sdd/raspi3/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/nodejs/6.3.0-r0/node-v6.3.0/out/Release/obj/gen/icutmp; python icutrim.py -P "/sdd/raspi3/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/nodejs/6.3.0-r0/node-v6.3.0/out/Release" -D ../../deps/icu-small/source/data/in/icudt57l.dat --delete-tmp -T "/sdd/raspi3/rpi-build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/nodejs/6.3.0-r0/node-v6.3.0/out/Release/obj/gen/icutmp" -F icu_small.json -O icudt57l.dat -v -L en,root
Source of this environment: node-v6.3.0/out/tools/icu/icudata.target.mk
Same configuration works without problem for Target machine i586-poky-linux.
The text was updated successfully, but these errors were encountered: