Using dlopen/dlsym

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 26 21:02:09 PST 2016


On Tuesday, 27 December 2016 at 00:05:39 UTC, Andrei Alexandrescu 
wrote:
> I'm building with no flags using dmd.

Do dmd -v for verbose output and see what linker flags it is 
doing. Perhaps you have a configuration difference that is 
causing it not to export the symbol (`fun` isn't marked 
`export`... I don't think that matters on linux but it might on 
some versions or with some configurations).


More information about the Digitalmars-d mailing list