Linking in an .so on linux with rebuild?
grauzone
none at example.net
Tue Sep 22 15:59:21 PDT 2009
Nick Sabalausky wrote:
> I can't seem to get that to work. Tried all sorts of stuff. Off the top of
> my head:
>
> -ll<thelibname>
This should work. If the lib is named "libsomething", don't include the
"lib": -llsomething
Excluding the "lib" seems to be standard on Unix-like OSes.
> -ll<thelibname>.so
> "-L-l <thelibname>"
> "-L-l <thelibname>.so"
> -L-l -L<thelibname>
> -L-l -L<thelibname>.so
>
> None of them were able to find the file (and, yes, the name+path are right),
> and I'm not using any links.
>
>
More information about the Digitalmars-d-learn
mailing list