Package: cmake Version: 2.8.12.2-1 Severity: normal In jessie, the cmake executable references a pthread symbol, but the pthread library itself is not listed as a dependency. The executable only loads fine because pthread is loaded through libcurl. But if I have a custom libcurl that doesn't depend on pthread, then the cmake executable fails to load, and I get this error from ld.so: $ LD_LIBRARY_PATH=/some/custom/libcurl /usr/bin/cmake Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
$ readelf --dyn-syms /usr/bin/cmake | grep pthread 2378: 0000000000486680 0 FUNC WEAK DEFAULT UND __pthread_key_create@GLIBC_2.2.5 (20) $ readelf -V /usr/bin/cmake .... Version needs section '.gnu.version_r' contains 7 entries: Addr: 0x0000000000483388 Offset: 0x083388 Link: 6 (.dynstr) 000000: Version: 1 File: libpthread.so.0 Cnt: 1 0x0010: Name: GLIBC_2.2.5 Flags: none Version: 20 $ readelf -d /usr/bin/cmake Dynamic section at offset 0x3e8da8 contains 32 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libdl.so.2] 0x0000000000000001 (NEEDED) Shared library: [libexpat.so.1] 0x0000000000000001 (NEEDED) Shared library: [libz.so.1] 0x0000000000000001 (NEEDED) Shared library: [libarchive.so.13] 0x0000000000000001 (NEEDED) Shared library: [libcurl.so.4] 0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6] 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] 0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] .... -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (1001, 'testing-updates'), (1001, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages cmake depends on: ii cmake-data 2.8.12.2-1 ii libarchive13 3.1.2-8 ii libc6 2.19-7 ii libcurl3 7.37.1-1 ii libexpat1 2.1.0-6 ii libgcc1 1:4.9.1-4 ii libstdc++6 4.9.1-4 ii procps 1:3.3.9-7 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages cmake recommends: ii gcc 4:4.9.1-1 ii make 4.0-8 Versions of packages cmake suggests: pn codeblocks <none> pn eclipse <none> pn ninja-build <none> -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

