Android on linux lazarus / 43-Android ---------------------------------------------------------------------- thierrydijoux · 2014-11-15 14:27 Hi all, i'm trying to install the androidmodulewizard on linux (debian jessie 64bits). All is ready 'sdk, ndk, path and compiler). i compiled the dummylibs and ran ldconfig /path/to/so when i try to install the package i've got this error : /usr/bin/ld: warning: /home/thierry/.lazarus/bin/link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lGL lazarus.pp(141,1) Error: Error while linking lazarus.pp(141,1) Fatal: There were 1 errors compiling module, stopping Any ideas ? ---------------------------------------------------------------------- Leledumbo · 2014-11-15 16:33 Find which package contains libGL.so.X.Y.Z ---------------------------------------------------------------------- osvaldotcf · 2015-01-25 21:16 Could you test this? https://github.com/jmpessoa/lazandroidmodulewizard/issues/1 ---------------------------------------------------------------------- osvaldotcf · 2015-02-01 18:45 Ok, now! ---------------------------------------------------------------------- renabor · 2015-02-08 15:53 You must use the old linker, because the new version, aka gold linker, are incompatible with free pascal (http://forum.lazarus.freepascal.org/index.php?topic=22088.15;wap2) for a definitive solution use arm-linux-androideabi-ld.bfd instead of arm-linux-androideabi-ld: sudo ln -s ~/Android/ndk/toolchains/arm-linux- androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld.bfd /usr/bin/arm-linux-androideabi-ld ln -s /usr/bin/arm-linux-androideabi-ld /usr/bin/arm-linux-ld