Sign up

undefined symbol with shared libraries

I just installed dmd 2.100.0 and re-built gtkd 3.10.0.
Now when I link to the shared library version of gtkd, I get the following error when I run my program:

undefined symbol: D6object_T8opEqualsTC8TypeInfoTQlZQyFNbNfQvQxZb

If I use the static gtkd library, the program links and runs without issue.

I also tried install gtkd 3.10.0 with dub, but that only builds the static libraries.

Has anyone run into this issue, or have any suggestions I can try?

Chris

Re: undefined symbol with shared libraries

On 19-06-2022 05:13, Chris Bare wrote:

I just installed dmd 2.100.0 and re-built gtkd 3.10.0.
Now when I link to the shared library version of gtkd, I get the following error when I run my program:

undefined symbol: D6object_T8opEqualsTC8TypeInfoTQlZQyFNbNfQvQxZb

If I use the static gtkd library, the program links and runs without issue.

I also tried install gtkd 3.10.0 with dub, but that only builds the static libraries.

Has anyone run into this issue, or have any suggestions I can try?

Chris

I'm not able to reproduce the issue, the symbol in the error should be
part of phobos/druntime.