Open JonnyTech opened 2 months ago
You did the right thing ! However. Your app needs sqlite3. That library was not included into the cross-libraries as provided by fpcupdeluxe. So you used your own sqlite3. However2. Your sqlite3 library came from an older (or newer) linux version compared with the libs provided by fpcupdeluxe. So, your sqlite3 is not compatible with the other libraries. If you feel lucky, you might try a tool that will allow you to use the libraries from your own target system. https://github.com/LongDirtyAnimAlf/fpcupdeluxe/tree/master/fpcuptools/libraryscanner Compile the libraryscanner on your target system. Run the command line version. It will create a directory with all libraries needed from your target system.
You did the right thing !
Thank you for the reassurance, that makes me feel better, I was very unsure.
Your sqlite3 library came from an older (or newer) linux version compared with the libs provided by fpcupdeluxe.
Out of interest, how did you know from the details that I provided?
If you feel lucky, you might try a tool that will allow you to use the libraries from your own target system.
Fantastic! I do not feel at all lucky, but I am always ready for learning and an adventure.
Compile the libraryscanner on your target system.
Can I cross-compile? I do not have a development environment on the current target system.
Ultimately, the final system shall be Ultibo, so there may be more challenges ahead for me...
Just a question: this seems a bit long winded, am I doing it correctly?
Version of
fpcupdeluxe-x86_64-linux
:Compiling to native works correctly:
Cross compiling to linux-armhf (for Raspberry Pi):
Ahh, ok, I need the `sqlite3 library files for armhf:
Hmm, do I need
GLIBC_2.28
? OK, it is at https://packages.debian.org/buster/libc6File successfully built - yay! But were my steps necessary or is there an easier method?