Title: Installing dependencies on CentOS Post by: mstfck on December 06, 2013, 08:55:59 PM Hello!
I need a bit help here with CentOS. I need to build datacoin on CentOS, i install all of the dependencies using yum, but it doesn't set any paths, so make can still not detect it, so i decided to build from source. I built Boost lib, it worked great, before it showed libboost errors, but now it says db_cxx is missing, i know its BerkeleyDB, i also built that from source. I saw it was installed in /usr/lib, so i added this to the make string: Code: -L/usr/lib I tried: ld -L/usr/lib -l db_cxx It works, but when i use make it won't detect, any ideas how i can fix it? I am not familiar with CentOS Title: Re: Installing dependencies on CentOS Post by: nbkn on December 06, 2013, 09:23:44 PM Build with:
Code: make -f makefile.unix BOOST_LIB_SUFFIX=-mt Title: Re: Installing dependencies on CentOS Post by: mstfck on December 06, 2013, 09:27:05 PM Build with: Code: make -f makefile.unix BOOST_LIB_SUFFIX=-mt Boost library works, but BerkeleyDB doesn't work. And i can't find where yum installs the files Title: Re: Installing dependencies on CentOS Post by: nbkn on December 06, 2013, 09:30:45 PM Please post the error you encounter.
Title: Re: Installing dependencies on CentOS Post by: mstfck on December 06, 2013, 09:34:26 PM Code: root@host [~/datacoin/datacoin-master/src]# make -f makefile.my Makefile.my is copy of makefile.unix, it just adds some OpenSSL paths Makefile.unix returns the same error ld -l db_cxx returns: Code: root@host [~/datacoin/datacoin-master/src]# ld -l db_cxx Title: Re: Installing dependencies on CentOS Post by: nbkn on December 06, 2013, 09:40:09 PM is the package db4-cxx installed? you can verify with:
Code: rpm -qa | grep cxx if not install this package using yum. Title: Re: Installing dependencies on CentOS Post by: mstfck on December 06, 2013, 09:46:28 PM is the package db4-cxx installed? you can verify with: Code: rpm -qa | grep cxx if not install this package using yum. Code: root@host [~]# rpm -qa | grep cxx It is installed! Title: Re: Installing dependencies on CentOS Post by: nbkn on December 06, 2013, 10:22:12 PM the correct path where the file should be (x86_64 rpm which is installed) is /usr/lib64, could this be the problem?
|