Skip to content

Symbol lookup error #338

Description

@KingDuckZ

Hello, compiling this with meson 1.6.1 and gdc 14.2.1, I'm getting this error when I start my program (just an empty main):

[9/10] Generating symbol file subprojects/dyaml/libdyaml.so.0.10.0.p/libdyaml.so.0.10.0.symbols
./src/animerelink: symbol lookup error: /home/michele/dev/rambuild/animerelink/debug/src/../subprojects/dyaml/libdyaml.so.0: undefined symbol: _D3std9algorithm9searching__T3allSQBg6format8internal5write__T20formatValueImplUlongTSQDg5array__T8AppenderTAyaZQoTaZQCdFKQBlmIbMKxSQFaQDu4spec__T10FormatSpecTaZQpZ10__lambda16Z__TQFvTAaZQGcMFNaNfQmZb

demangled it looks like:

pure @safe bool std.algorithm.searching.all!(std.format.internal.write.formatValueImplUlong!(std.array.Appender!(immutable(char)[]).Appender, char).formatValueImplUlong(ref std.array.Appender!(immutable(char)[]).Appender, ulong, in bool, scope ref const(std.format.spec.FormatSpec!(char).FormatSpec)).__lambda16).all!(char[]).all(char[])

Note that meson.build seems to be missing 'source/dyaml/stdsumtype.d' and the lib version is set to 0.8.4. Adding stdsumtype.d gets me past the first error and produces the one above. This only happens when building a .so, static lib seems to link and run fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions