Author

Topic: Litecoin-QT compiling. (Read 745 times)

legendary
Activity: 1946
Merit: 1427
June 16, 2017, 08:29:32 AM
#4
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.
legendary
Activity: 1946
Merit: 1427
June 15, 2017, 10:13:50 AM
#3
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.
staff
Activity: 3458
Merit: 6793
Just writing some code
June 14, 2017, 03:24:03 PM
#2
Have you installed BDB 4.8?
legendary
Activity: 1946
Merit: 1427
June 14, 2017, 12:22:07 PM
#1

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.
Jump to: