How do I load a shared library?
    Nafees via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sat Oct  8 08:51:49 PDT 2016
    
    
  
On Saturday, 8 October 2016 at 13:46:50 UTC, Adam D. Ruppe wrote:
> 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?
http://imgur.com/U9ZYhVKl.png
    
    
More information about the Digitalmars-d-learn
mailing list