Linking in an .so on linux with rebuild?

Jeremie Pelletier jeremiep at gmail.com
Tue Sep 22 15:40:38 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>
> -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.

While it doesn't solve your issue, I myself use pragma(lib, "thelibname");


More information about the Digitalmars-d-learn mailing list