Bitcoin Forum

Other => Archival => Topic started by: AdolfinWolf on June 14, 2017, 05:22:07 PM



Title: Litecoin-QT compiling.
Post by: AdolfinWolf on June 14, 2017, 05:22:07 PM

I am receiving the following error when i am trying to run the compiled litecoin-qt,
Code:
 Error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file 

How do i make a new path for the berkeley lib?

Code:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"

Is it somewhere in /etc/ld.so.conf.d ? And if so, what command should i run?

Thanks.


Title: Re: Litecoin-QT compiling.
Post by: achow101 on June 14, 2017, 08:24:03 PM
Have you installed BDB 4.8?


Title: Re: Litecoin-QT compiling.
Post by: AdolfinWolf on June 15, 2017, 03:13:50 PM
Have you installed BDB 4.8?

I have it installed yes, in /usr/local/berkeleyDB.4.8/ , I used CPPflags to compile the litecoin wallet on linux,


Code:
 ./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib"

But whenever i try to run

Code:
 $ litecoin-qt 

It'll just give me the previous stated error.

Code:
 Error while loading shared libraries: libdb_cxx-4.8.so: cannot open shared object file 



Whenever i try to find where libdb_cxx-4.8.so is installed,


Code:
 $ whereis libdb_cxx-4.8.so 

The output is just this,

Code:
 libdb_cxx-4.8: 



Thanks for your time.


Title: Re: Litecoin-QT compiling.
Post by: AdolfinWolf on June 16, 2017, 01:29:32 PM
If anyone has a solution for this, please let me know. --edit a friend of mine has found the solution. No longer answers needed. Thanks for your time.