[Lazarus] Dynamic library dependency error

Antonio Fortuny a.fortuny at sitasoftware.lu
Wed Jan 23 08:39:33 CET 2013

Le 22/01/2013 16:14, xrfang a écrit :
> Hi Howard,
> Thanks for your info. Â After adding LCLBase to dependencies, I get these errors:
> /usr/bin/ld: warning: link.res contains output sections; did you forget -T?
> /usr/bin/ld: /home/xrfang/Desktop/paintrect/lib/x86_64-linux/paintrect.o: relocation R_X86_64_32S against `_$PAINTRECT$_Ld1' can not be used when making a shared object; recompile with -fPIC
> /home/xrfang/Desktop/paintrect/lib/x86_64-linux/paintrect.o: æ— æ³•è¯»å–ç¬¦å·: 错误的值
> liboval.lpr(14) Error: Error while linking
> where "æ— æ³•è¯»å–ç¬¦å·: 错误的值" means "cannot read symbol: illegal value".
> What's wrong here?
Try adding
into program's options, Other section
Tha's what I use when building shared libraries.


More information about the Lazarus mailing list