Re: Problems linking libdl?

2012-02-21 Thread Mike Wey
On 02/20/2012 10:33 PM, simendsjo wrote: On Mon, 20 Feb 2012 22:26:58 +0100, Mike Wey wrote: On 02/20/2012 09:49 PM, simendsjo wrote: On Mon, 20 Feb 2012 21:41:45 +0100, simendsjo wrote: I've tried the following using dmd 58 and trunk - both -m64 on kubuntu. Any idea what I'm doing wrong?

Re: Problems linking libdl?

2012-02-20 Thread simendsjo
On Mon, 20 Feb 2012 22:26:58 +0100, Mike Wey wrote: On 02/20/2012 09:49 PM, simendsjo wrote: On Mon, 20 Feb 2012 21:41:45 +0100, simendsjo wrote: I've tried the following using dmd 58 and trunk - both -m64 on kubuntu. Any idea what I'm doing wrong? import std.loader; void main(string[]

Re: Problems linking libdl?

2012-02-20 Thread Mike Wey
On 02/20/2012 09:49 PM, simendsjo wrote: On Mon, 20 Feb 2012 21:41:45 +0100, simendsjo wrote: I've tried the following using dmd 58 and trunk - both -m64 on kubuntu. Any idea what I'm doing wrong? import std.loader; void main(string[] args) { auto res = ExeModule_Init(); assert(res == 0); sc

Re: Problems linking libdl?

2012-02-20 Thread simendsjo
On Mon, 20 Feb 2012 21:41:45 +0100, simendsjo wrote: I've tried the following using dmd 58 and trunk - both -m64 on kubuntu. Any idea what I'm doing wrong? import std.loader; void main(string[] args) { auto res = ExeModule_Init(); assert(res == 0); scope(exit) ExeModule_Uninit(

Problems linking libdl?

2012-02-20 Thread simendsjo
I've tried the following using dmd 58 and trunk - both -m64 on kubuntu. Any idea what I'm doing wrong? import std.loader; void main(string[] args) { auto res = ExeModule_Init(); assert(res == 0); scope(exit) ExeModule_Uninit(); auto mod = ExeModule_Load("./libtcod.so"); } $ dmd-