Package: bitcoin-cli
Version: 0.3.19~dfsg-6
Severity: serious
Justification: fails to build from source

$ debian/rules build
...
g++ -g -O2 -D__WXGTK__ -DNOPCH -DUSE_SSL -DFOURWAYSSE2 -D__WXDEBUG__ -o
bitcoind obj/nogui/util.o obj/nogui/script.o obj/nogui/db.o obj/nogui/net.o
obj/nogui/irc.o obj/nogui/main.o obj/nogui/rpc.o obj/nogui/init.o
obj/sha256.o -l boost_system-mt -l boost_filesystem-mt -l
boost_program_options-mt -l boost_thread-mt -l db_cxx -l ssl -l crypto
-lcrypto++   -l gthread-2.0 -l z -l dl
/usr/bin/ld.bfd.real: obj/nogui/rpc.o: undefined reference to symbol
-'pthread_getspecific@@GLIBC_2.2.5'
/usr/bin/ld.bfd.real: note: 'pthread_getspecific@@GLIBC_2.2.5' is defined in
/DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [bitcoind] Error 1
make[1]: Leaving directory `/tmp/bitcoin-0.3.19~dfsg/src'
make: *** [debian/stamp-makefile-build] Error 2

Adding -lpthread to the linker options fixes this.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'stable'), (400, 'unstable'), (10, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-continuum.2 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages bitcoin-cli depends on:
ii  libboost-filesystem1.42 1.42.0-4         filesystem operations (portable pa
ii  libboost-program-option 1.42.0-4         program options library for C++
ii  libboost-system1.42.0   1.42.0-4         Operating system (e.g. diagnostics
ii  libboost-thread1.42.0   1.42.0-4         portable C++ multi-threading
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libcrypto++8            5.6.0-6          General purpose cryptographic libr
ii  libdb4.8++              4.8.30-4         Berkeley v4.8 Database Libraries f
ii  libgcc1                 1:4.5.2-4        GCC support library
ii  libglib2.0-0            2.24.2-1         The GLib library of C routines
ii  libssl0.9.8             0.9.8o-5         SSL shared libraries
ii  libstdc++6              4.4.5-12         The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

bitcoin-cli recommends no packages.

Versions of packages bitcoin-cli suggests:
pn  db4.7-util                    <none>     (no description available)
ii  db4.8-util                    4.8.30-4   Berkeley v4.8 Database Utilities

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to