<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,<br>
<br>
I hope this message finds you well.<br>
<br>
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.<br>
<br>
Despite setting the appropriate environment variables and paths, I
encountered issues during the cross-compilation process. The error
I am facing is as follows:</p>
<p>medha@L1429:~/Desktop/data/taws_algorithm/codes/QSI/sep24$ export
LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib:$LD_LIBRARY_PATH<br>
medha@L1429:~/Desktop/data/taws_algorithm/codes/QSI/sep24$ make<br>
aarch64-linux-gnu-g++ findplacefile.o wrapper.o -lgdal
-L/usr/lib/aarch64-linux-gnu -o my_program<br>
/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<br>
/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<br>
collect2: error: ld returned 1 exit status<br>
make: *** [Makefile:18: my_program] Error 1<br>
<br>
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.<br>
<br>
I would greatly appreciate your guidance on the following:<br>
<br>
How to download aarch64-compatible GDAL libraries, along with
their dependencies.<br>
The process for acquiring static library files for GDAL to
facilitate static compilation.<br>
Any suggestions or solutions to address the cross-compilation
issue mentioned above.<br>
The target board I am using is based on the LS1046 processor
(ARM64 architecture) from NXP.<br>
<br>
Thank you for your time and assistance. I look forward to your
prompt response.</p>
<p></p>
<div class="moz-signature">-- <br>
Regards,<br>
Pujitha.U<br>
Medha Servo Drives Pvt. Ltd.<br>
Mobile: +91 6302796207<br>
<a class="moz-txt-link-abbreviated" href="mailto:Email:pujithau@medha.com">Email:pujithau@medha.com</a><br>
web:<a href="https://www.medha.com/">www.medha.com</a><br>
</div>
*******************************************************************************************<br><strong>Disclaimer:</strong>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.<br><span style="color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px;">"<strong>Please consider the environment before printing this message</strong>."</span><br>*******************************************************************************************</body>
</html>