Processed: Re: Bug#976838: librocksdb.so: missing libdl linkage
Processing control commands: > tags -1 +confirmed Bug #976838 [librocksdb6.11] librocksdb.so: missing libdl linkage Added tag(s) confirmed. -- 976838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976838 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#976838: librocksdb.so: missing libdl linkage
Control: tags -1 +confirmed On Tue, Dec 8, 2020 at 1:39 PM Adrian Bunk wrote: > Package: librocksdb6.11 > Version: 6.11.4-2 [...] > https://buildd.debian.org/status/fetch.php?pkg=rocksdb=amd64=6.11.4-2=1607384772=0 [...] > dpkg-shlibdeps: warning: symbol dlopen used by > debian/librocksdb6.11/usr/lib/librocksdb.so.6.11.4 found in none of the > libraries [...] > https://buildd.debian.org/status/fetch.php?pkg=balboa=amd64=2.0.0%2Bds-3%2Bb1=1607421100=0 > gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong > -Wformat -Werror=format-security -pipe -Ofast -flto -s -fwhole-program > -fmax-errors=3 -D__GCC__ -std=c11 -Wall -Wextra -D_GNU_SOURCE -D__TRACE__ > -DNDEBUG -I. -I../lib -DMPACK_HAS_CONFIG ../lib/trace.c ../lib/daemon.c > ../lib/protocol.c ../lib/engine.c ../lib/mpack.c rocksdb-impl.c main.c -o > build/balboa-rocksdb -Wl,-z,relro -Wl,-z,now -lrocksdb -pthread -latomic > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: > undefined reference to `dlopen' > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: > undefined reference to `dlclose' > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: > undefined reference to `dlerror' > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: > undefined reference to `dlsym' > collect2: error: ld returned 1 exit status Strange. Build tested balboa at least twice on pbuilder with the new rocksdb version and it was compiled correctly. Going to look into it and fix this soon. Regards, Laszlo/GCS
Bug#976838: librocksdb.so: missing libdl linkage
Package: librocksdb6.11 Version: 6.11.4-2 Severity: serious Tags: ftbfs Control: affects -1 src:balboa https://buildd.debian.org/status/fetch.php?pkg=rocksdb=amd64=6.11.4-2=1607384772=0 ... dpkg-shlibdeps: warning: symbol dlopen used by debian/librocksdb6.11/usr/lib/librocksdb.so.6.11.4 found in none of the libraries dpkg-shlibdeps: warning: symbol dlclose used by debian/librocksdb6.11/usr/lib/librocksdb.so.6.11.4 found in none of the libraries dpkg-shlibdeps: warning: symbol dlsym used by debian/librocksdb6.11/usr/lib/librocksdb.so.6.11.4 found in none of the libraries dpkg-shlibdeps: warning: symbol dlerror used by debian/librocksdb6.11/usr/lib/librocksdb.so.6.11.4 found in none of the libraries ... https://buildd.debian.org/status/fetch.php?pkg=balboa=amd64=2.0.0%2Bds-3%2Bb1=1607421100=0 ... gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -Ofast -flto -s -fwhole-program -fmax-errors=3 -D__GCC__ -std=c11 -Wall -Wextra -D_GNU_SOURCE -D__TRACE__ -DNDEBUG -I. -I../lib -DMPACK_HAS_CONFIG ../lib/trace.c ../lib/daemon.c ../lib/protocol.c ../lib/engine.c ../lib/mpack.c rocksdb-impl.c main.c -o build/balboa-rocksdb -Wl,-z,relro -Wl,-z,now -lrocksdb -pthread -latomic /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: undefined reference to `dlopen' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: undefined reference to `dlclose' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: undefined reference to `dlerror' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib/librocksdb.so: undefined reference to `dlsym' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:55: build/balboa-rocksdb] Error 1