Hi,
I got new Raspberry Pi3 and wanted to compile my old program using Lazarus.
I got this error from linker:
/usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld.bfd: cannot find -llua52
svlad.lpr(22) Error: Error while linking
svlad.lpr(22) Fatal: There were 1 errors compiling module, stopping
ERROR: failed compiling of project /home/pi/Desktop/severak/svlad2/svlad.lpi
Note that I use lua52.pas file, which is located in same folder as other program files. This file is just a wrapper of lua5.2 DLL/SO lib, which seems to be installed in system.
On Windows, compilation just works.
Look at my source code here, if you need it:
https://github.com/severak/svlad2