Ticket #21 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Rebuild does not link derelict libraries

Reported by: demise Assigned to: Gregor
Priority: major Milestone:
Component: DSSS Version:
Keywords: Cc:

Description

I've installed Derelict using DSSS. On Windows one just has to write

rebuild myproject.d

to build a project and link it with Derelict. However, on Linux one also needs to list all libraries on the command line or it complains about missing invariant and typeinfo symbols. So this should be either documented or fixed somehow. AFAIK, only this works on linux:

rebuild myproject.d /path/to/libs/libSDD-*

Change History

03/27/07 15:13:15 changed by Gregor

  • status changed from new to assigned.

I can't help you unless you post rebuild output with -v.

03/29/07 08:12:38 changed by demise

03/29/07 16:58:41 changed by demise

Actually this happens with other libraries too (at least when installed with dsss). For example ddbi on windows works like this

rebuild my_ddbi_app.d

but on Linux

rebuild my_ddbi_app.d ~/d/dsss/lib/libSDD-dbi* /usr/lib/libmysqlclient.a /usr/lib/libz.a  -ofmy_ddbi_app

does the same. So it doesn't seem to have any clue where those libraries are located.

03/30/07 16:12:14 changed by Gregor

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in revision 434, which will be in release 0.56. Closing.