Bitcoin Forum
June 25, 2024, 09:28:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Litecoin-QT compiling.  (Read 723 times)
AdolfinWolf (OP)
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
June 14, 2017, 05: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.

achow101
Staff
Legendary
*
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
June 14, 2017, 08:24:03 PM
 #2

Have you installed BDB 4.8?

AdolfinWolf (OP)
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
June 15, 2017, 03:13:50 PM
Last edit: June 15, 2017, 08:08:07 PM by AdolfinWolf
 #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.

AdolfinWolf (OP)
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
June 16, 2017, 01:29:32 PM
Last edit: June 16, 2017, 03:32:29 PM by AdolfinWolf
 #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.

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!