[Lazarus] Fatal: Can't find unit system used by Lazarus
a.fortuny at sitasoftware.lu
Mon Jan 28 15:59:15 CET 2013
>> A simple project compiles ok, but a shared library outputs this:
>> /usr/bin/ld: warning: /home/sources/release/link.res contains output
>> sections; did you forget -T?
>> relocation R_X86_64_32S against `.data' can not be used when making a
>> shared object; recompile with -fPIC
>> /usr/lib64/lazarus/components/lazutils/lib/x86_64-linux/lazutf8.o: could
>> not read symbols: Bad value
>> SitaUdfLib.lpr(11) Error: Error while linking
>> but in project options, other, there are:
> According to the documentation units in a library must be compiled with
> -Cg (=-fPIC). Maybe all units must be compiled with this flag?
> Maybe you can ask on the fpc list.
No need. In the forum history I did found the answer: I've already
posted a message about the same subject and found the answer myself.
It's all OK
So, programs and shared libraries compile nicely as far as they do not
use the packages I would like to use
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
More information about the Lazarus