Hi,

I hope this message finds you well.

I am reaching out to seek assistance regarding the download and compilation of GDAL libraries and their dependencies for the aarch64 architecture. Specifically, I am working on a project that requires static compilation, and I need compatible GDAL libraries and their static dependencies for cross-compilation on an LS1046 ARM64-based processor, manufactured by NXP.

Despite setting the appropriate environment variables and paths, I encountered issues during the cross-compilation process. The error I am facing is as follows:

medha@L1429:~/Desktop/data/taws_algorithm/codes/QSI/sep24$ export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib:$LD_LIBRARY_PATH
medha@L1429:~/Desktop/data/taws_algorithm/codes/QSI/sep24$ make
aarch64-linux-gnu-g++ findplacefile.o wrapper.o -lgdal -L/usr/lib/aarch64-linux-gnu -o my_program /usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find /usr/lib/libm.so.6: No such file or directory /usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find /usr/lib/libmvec.so.1: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: my_program] Error 1

It appears that the linker is unable to locate certain standard libraries such as libm.so.6 and libmvec.so.1, which are critical for the build process.

I would greatly appreciate your guidance on the following:

How to download aarch64-compatible GDAL libraries, along with their dependencies. The process for acquiring static library files for GDAL to facilitate static compilation. Any suggestions or solutions to address the cross-compilation issue mentioned above. The target board I am using is based on the LS1046 processor (ARM64 architecture) from NXP.

Thank you for your time and assistance. I look forward to your prompt response.

--
Regards,
Pujitha.U
Medha Servo Drives Pvt. Ltd.
Mobile: +91 6302796207
Email:pujit...@medha.com
web:www.medha.com <https://www.medha.com/>
*******************************************************************************************
Disclaimer:The information contained in this e-mail and/or attachments to it 
may contain confidential data (or) privileged information of Medha. If you are 
not the intended recipient, any dissemination, use in any manner, review, 
distribution, printing, copying of the information contained in this e-mail 
and/or attachments to it are strictly prohibited. If you have received this 
communication in error, please notify the sender and immediately delete the 
message and attachments (if any) permanently.
"Please consider the environment before printing this message."
*******************************************************************************************
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to