Can't run executable built with Dub - OS thinks it is shared library

Stephen C schatelain at msn.com
Tue Oct 26 15:13:02 UTC 2021


I recently upgraded my Linux OS and installed DMD 2.098. But now 
when I build my project with Dub, I can't run the binary by 
clicking the binary's icon because the OS thinks it is a shared 
library. I can still run it from the command line though.

I read that this might be fixed by not using -fPIE, so I removed 
that flag from dmd.conf. But then my program won't even compile.


More information about the Digitalmars-d mailing list