Linker error (DSO missing)
Chris via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Oct 19 07:30:45 PDT 2015
I keep getting this weird error with LDC. libogg is installed on
my machine, I have it listed in the dub.json file under "libs",
and it works fine when compiled with dmd (2.067.1), both release
and debug.
Do I have to pass anything else?
[EROOR]
$ dub --build=release
--compiler=../../D/ldc2-0.16.0-beta1/bin/ldc2
Performing "release" build using
../../D/ldc2-0.16.0-beta1/bin/ldc2 for x86_64.
vibe-d 0.7.25: target for configuration "libevent" is up to date.
program ~master: building configuration "server64"...
/usr/bin/ld: /lib/linux/64bit/libsndfile.a(ogg.o): undefined
reference to symbol 'ogg_stream_reset'
/usr/lib/x86_64-linux-gnu/libogg.so.0: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
Error: /usr/bin/gcc failed with status: 1
../../D/ldc2-0.16.0-beta1/bin/ldc2 failed with exit code 1.
[END ERROR]
More information about the digitalmars-d-ldc
mailing list