How do I load a shared library?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at
Sat Oct 8 06:46:50 PDT 2016

On Saturday, 8 October 2016 at 07:33:30 UTC, Nafees wrote:
> It compiles fine, but when I run loader, it crashes as soon as 
> dlopen is called, giving a segFault.

What output do you get? If you compile with `-g` to dmd and run 
it in gdb, you can also use the command `where` to gdb and get a 
file/line number for the segfault. What does it say?

More information about the Digitalmars-d-learn mailing list