[Lazarus] /usr/bin/ld: cannot find -lwhatever
Giuliano Colla
giuliano.colla at fastwebnet.it
Sun Feb 21 18:54:28 CET 2016
Il 21/02/2016 18:41, David W Noon ha scritto:
> You should not put .o files into library directories. You should use
> the ar command to build a library and put the resulting .a file into
> you library directory.
>
> E.g.,
>
> ar -crs libsomething.a something.o
Thanks a lot. I wasn't aware that I must prepend *lib* to the library
name. Just renaming my link to something.so into libsomething.so did the
trick!
Giuliano
More information about the Lazarus
mailing list