Linking in an .so on linux with rebuild?

Bill Baxter wbaxter at gmail.com
Tue Sep 22 15:46:46 PDT 2009


Here under "prerequisite libraries"
http://www.dsource.org/projects/dsss/wiki/DSSSForSoftwareEngineers#DEPENDENCIES
it seems to say that -ll<libname> should work.

But it seems to suggest that
  version (build) {
      pragma(link, "example");
  }
is better.  That's what I always seem to end up using.

On Tue, Sep 22, 2009 at 3:37 PM, Nick Sabalausky <a at a.a> 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.
>
>
>


More information about the Digitalmars-d-learn mailing list