Skip to content

dub run raylib-d:install - Undefined symbols #72

@joelcnz

Description

@joelcnz

Running it with dub works though (with 5.0.0 dylib files and the dependencies at ~5.5.3).

joelchristensen@MacBookPro JecRayRef % dub run raylib-d:install
Building package raylib-d:install in /Users/joelchristensen/.dub/packages/raylib-d/5.0.1/raylib-d/install/
Warning Warning: License in sub-package raylib-d:install is different than its parent package, this is discouraged.
Starting Performing "debug" build using /Users/joelchristensen/jpro/dmd2/osx/bin/dmd for x86_64.
Up-to-date io 0.3.5: target for configuration [library] is up to date.
Up-to-date iopipe 0.2.5: target for configuration [library] is up to date.
Up-to-date jsoniopipe 0.2.7: target for configuration [library] is up to date.
Building raylib-d:install 5.0.1: building configuration [application]
../../../.dub/packages/iopipe/0.2.5/iopipe/source/iopipe/refc.d(110,13): Deprecation: function std.algorithm.mutation.move!(AutoFlusher).move is deprecated - Can't move into target as AutoFlusher can't be assigned
move(other, _impl.item);
^
../../../.dub/packages/iopipe/0.2.5/iopipe/source/iopipe/valve.d(324,16): instantiated from here: RefCounted!(AutoFlusher)
return RefCounted!AutoFlusher(c);
^
../../../.dub/packages/iopipe/0.2.5/iopipe/source/iopipe/valve.d(351,26): instantiated from here: autoFlush!(AutoValve)
return .autoFlush(pipeline(c.holdingValve).holdingLoop);
^
../../../.dub/packages/raylib-d/5.0.1/raylib-d/install/source/app.d(164,17): instantiated from here: push!((c) => c.outputPipe(sink), true, BufferedInputSource!(AllocatedBuffer!(ubyte, GCNoPointerAllocator, 32LU), immutable(NullDev), 32LU))
return chain.push!(c => c.outputPipe(sink));
^
../../../.dub/packages/raylib-d/5.0.1/raylib-d/install/source/app.d(186,28): instantiated from here: writeTo!(BufferedInputSource!(AllocatedBuffer!(ubyte, GCNoPointerAllocator, 32LU), immutable(NullDev), 32LU), RefCounted!(File))
return bufd.writeTo(File(fname, mode!"wb").refCounted);
^
Linking raylib-d_install
Undefined symbols for architecture x86_64:
"___darwin_check_fd_set_overflow", referenced from:
___darwin_check_fd_set in libphobos2.a(zlib.o)
___darwin_fd_isset in libphobos2.a(zlib.o)
___darwin_fd_set in libphobos2.a(zlib.o)
___darwin_fd_clr in libphobos2.a(zlib.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: undefined reference to ___darwin_check_fd_set_overflow
perhaps a library needs to be added with the -L flag or pragma(lib, ...)
Error: linker exited with status 1
cc /Users/joelchristensen/.dub/cache/raylib-d/5.0.1/+install/build/application-debug-ql9bLfIMk738Nx9_QHD2zQ/raylib-d_install.o -o /Users/joelchristensen/.dub/cache/raylib-d/5.0.1/+install/build/application-debug-ql9bLfIMk738Nx9_QHD2zQ/raylib-d_install -g -m64 -Xlinker -no_compact_unwind ../../../.dub/cache/jsoniopipe/0.2.7/build/library-debug-m2vQBK1HisTs2KZ_zx1-_A/libjsoniopipe.a ../../../.dub/cache/iopipe/0.2.5/build/library-debug--JlOJNuGlDSxkNyw-3cYIg/libiopipe.a ../../../.dub/cache/io/0.3.5/build/library-debug-U0W-ncDXw0LmoVV2Xu7bTw/libio.a -L/Users/joelchristensen/jpro/dmd2/osx/bin/../lib -lphobos2 -lpthread -lm
Error /Users/joelchristensen/jpro/dmd2/osx/bin/dmd failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions