Bitcoin Forum
November 19, 2024, 03:31:15 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compiling from source on Debian, getting lboost error (Bounty)  (Read 1567 times)
PeaMine (OP)
Hero Member
*****
Offline Offline

Activity: 979
Merit: 510



View Profile
March 14, 2014, 06:54:36 AM
Last edit: March 17, 2014, 02:59:08 AM by PeaMine
 #1

I'm compiling by source on CentOS, I've tried many coins and get the same result now:

suncoin/src/
 make -f makefile.unix USE_UPNP=-
 produces:


 g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/suncoin/src -I/suncoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o suncoind obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/irc.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcrawtransaction.o obj/script.o obj/scrypt.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/noui.o -Wl,-z,relro -Wl,-z,now -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -Wl,-Bdynamic -l z -l dl -l pthread
 /usr/bin/ld: cannot find -lboost_thread
 collect2: ld returned 1 exit status
 make: *** [suncoind] Error 1


Using:
make -f makefile.unix BOOST_LIB_SUFFIX=-mt
It compiles, but the program has a * next to it in "ls" and produces:

./suncoind

EXCEPTION: 9key_error
 CKey::CKey() : EC_KEY_new_by_curve_name failed
piggycoin in AppInit()

terminate called after throwing an instance of 'key_error'
  what():  CKey::CKey() : EC_KEY_new_by_curve_name failed
Aborted (core dumped)

6 XPM bounty if I can get an altcoin properly compiled and working.

Read around 30 threads with no fix.

Datacenter Technician and Electrician.  If you have any questions feel free to ask me as I am generally bored looking at logs and happy to help during free time.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
March 15, 2014, 01:38:20 AM
 #2

Do you have libboost_thread installed?

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
PeaMine (OP)
Hero Member
*****
Offline Offline

Activity: 979
Merit: 510



View Profile
March 17, 2014, 02:33:07 AM
 #3

Do you have libboost_thread installed?

Package boost-thread-1.41.0-18.el6.x86_64 already installed and latest version
Nothing to do
I'm currently using yum on CentOS, I see a lot of boost options, but nothing libbost.


============================== N/S Matched: boost ==============================
boost-date-time.i686 : Runtime component of boost date-time library
boost-date-time.x86_64 : Runtime component of boost date-time library
boost-devel.x86_64 : The Boost C++ headers and shared development libraries
boost-doc.x86_64 : HTML documentation for the Boost C++ libraries
boost-filesystem.i686 : Runtime component of boost filesystem library
boost-filesystem.x86_64 : Runtime component of boost filesystem library
boost-graph.i686 : Runtime component of boost graph library
boost-graph.x86_64 : Runtime component of boost graph library
boost-graph-mpich2.x86_64 : Runtime component of parallel boost graph library
boost-graph-openmpi.x86_64 : Runtime component of parallel boost graph library
boost-iostreams.i686 : Runtime component of boost iostreams library
boost-iostreams.x86_64 : Runtime component of boost iostreams library
boost-math.i686 : Math functions for boost TR1 library
boost-math.x86_64 : Math functions for boost TR1 library
boost-mpich2.x86_64 : Runtime component of Boost.MPI library
boost-mpich2-devel.x86_64 : Shared library symlinks for Boost.MPI
boost-mpich2-python.x86_64 : Python runtime component of Boost.MPI library
boost-openmpi.x86_64 : Runtime component of Boost.MPI library
boost-openmpi-devel.x86_64 : Shared library symlinks for Boost.MPI
boost-openmpi-python.x86_64 : Python runtime component of Boost.MPI library
boost-program-options.i686 : Runtime component of boost program_options library
boost-program-options.x86_64 : Runtime component of boost program_options
                             : library
boost-python.x86_64 : Runtime component of boost python library
boost-regex.i686 : Runtime component of boost regular expression library
boost-regex.x86_64 : Runtime component of boost regular expression library
boost-serialization.i686 : Runtime component of boost serialization library
boost-serialization.x86_64 : Runtime component of boost serialization library
boost-signals.i686 : Runtime component of boost signals and slots library
boost-signals.x86_64 : Runtime component of boost signals and slots library
boost-static.x86_64 : The Boost C++ static development libraries
boost-system.i686 : Runtime component of boost system support library
boost-system.x86_64 : Runtime component of boost system support library
boost-test.i686 : Runtime component of boost test library
boost-test.x86_64 : Runtime component of boost test library
boost-thread.i686 : Runtime component of boost thread library
boost-thread.x86_64 : Runtime component of boost thread library
boost-wave.i686 : Runtime component of boost C99/C++ preprocessing library
boost-wave.x86_64 : Runtime component of boost C99/C++ preprocessing library
mingw32-boost.noarch : MinGW Windows port of Boost C++ Libraries
mingw32-boost-static.noarch : Static version of the MinGW Windows Boost C++
                            : library
boost.x86_64 : The free peer-reviewed portable C++ source libraries

  Name and summary matches only, use "search all" for everything.

Datacenter Technician and Electrician.  If you have any questions feel free to ask me as I am generally bored looking at logs and happy to help during free time.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
March 17, 2014, 03:33:57 AM
 #4

Just because the version is the latest in yum doesn't mean it's the latest.  Find the source and compile/install/ldconfig to see if that helps.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
Shahrukh
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile WWW
March 18, 2014, 06:48:32 AM
 #5

You should install libboost1.48-all-dev package

I turned everyone down Sad Sorry for that
PeaMine (OP)
Hero Member
*****
Offline Offline

Activity: 979
Merit: 510



View Profile
March 19, 2014, 06:14:13 PM
 #6

You should install libboost1.48-all-dev package

yum install libboost1.48-all-dev
No package libboost1.48-all-dev available.
Error: Nothing to do

I also tried boost all dev, which installed, but doesn't help with compiling.


Just because the version is the latest in yum doesn't mean it's the latest.  Find the source and compile/install/ldconfig to see if that helps.

What version do you recommend?
I tried their latest one, and had the same error/issue.
I did have to uninstall the yum version first.

Datacenter Technician and Electrician.  If you have any questions feel free to ask me as I am generally bored looking at logs and happy to help during free time.
cp1
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


Stop using branwallets


View Profile
March 19, 2014, 08:10:16 PM
 #7

What version do you recommend?

Whichever one the wallet developer used.

Guide to armory offline install on USB key:  https://bitcointalk.org/index.php?topic=241730.0
Dare
Hero Member
*****
Offline Offline

Activity: 508
Merit: 500


Techwolf on #bitcoin and Reddit


View Profile WWW
March 20, 2014, 12:51:41 AM
 #8

Try "sudo apt-get install libboost-all-dev". I'm used to seeing apt on Debian-based installs and yum on RedHat-based ones, so that may be part of your issue. You may need to remove the yum version first for it to work though.

BTC: 1M8oUcBnkRDEhWWgV8ZXLTB6p1mgnejVbX
How Forum Activity Works
Bitcointalk Forum Rules
|
|
|
Firstbits (lucky vanitygen): 1WoLfRUGDx1
How Forum Trust Works
Bitcoin Source Code
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!