Dynamic library

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 11 06:40:14 PDT 2016


On Monday, 11 April 2016 at 11:42:22 UTC, Chris wrote:
> I followed these steps:
>
> https://dlang.org/dll-linux.html#dso7
>
> What I get is this error:
>
> libphobos2.so: file format not recognized; treating as linker 
> script
>
> I don't know why it is not recognized. Any ideas?

For the record, I fixed it by changing the contents of 
libphobos2.so from

libphobos2.so.069.2 [or whatever]

to

GROUP (libphobos2.so.0.69.2)


More information about the Digitalmars-d-learn mailing list