Bitcoin Forum
May 17, 2024, 12:43:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: compiling error !!  (Read 1324 times)
java.dev (OP)
Member
**
Offline Offline

Activity: 166
Merit: 10

CRYPTO CODING SERVICES !!!


View Profile
January 03, 2015, 11:27:58 AM
 #1

Hi,

Iam trying to compile bitcoind (also tried litecoind) on my Ubuntu vps (Description:Ubuntu 12.04.5 LTS      Release:12.04) but getting error every time i do: make -f makefile.unix USE_UPNP=-


Error :

leveldb/libleveldb.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status




Thanks in advance.

 
Madness
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


My goal is becaming a billionaire.


View Profile WWW
January 03, 2015, 11:40:16 AM
 #2

Hi,

Iam trying to compile bitcoind (also tried litecoind) on my Ubuntu vps (Description:Ubuntu 12.04.5 LTS      Release:12.04) but getting error every time i do: make -f makefile.unix USE_UPNP=-

Error :

leveldb/libleveldb.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status


Thanks in advance.


I don't really have knowldege with Native programming languages but im pretty sure you will find help on "Development & Technical Discussion" Section . just move your thread day and you will certaintly get the needed help there

~ Madness

SeymourSkinner
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
January 03, 2015, 01:56:30 PM
 #3

You'll probably find an awnser here:

   
Building headless Bitcoin and Bitcoin-qt on Windows


edit: oh, linux...

Maybe this one is better:

   
[Solved] Compile Bitcoin 0.9.0 from source linux


Or this one:

compiling bitcoind on ubuntu-server 12.04
java.dev (OP)
Member
**
Offline Offline

Activity: 166
Merit: 10

CRYPTO CODING SERVICES !!!


View Profile
January 03, 2015, 06:27:11 PM
 #4

Thanks but iam still looking for a solution.... Sad Sadly i still can't get rid of that error !!
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
January 03, 2015, 10:20:56 PM
 #5

aren't you supposed to do
Code:
./autogen.sh
./configure
make
rather than using the makefile directly?

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
activebiz
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 03, 2015, 10:38:57 PM
 #6

what version of bitcoin are u trying to compile. newer versions are compiled with
./autogen.sh
./configure
make
make install # optional

java.dev (OP)
Member
**
Offline Offline

Activity: 166
Merit: 10

CRYPTO CODING SERVICES !!!


View Profile
January 03, 2015, 11:29:18 PM
 #7

aren't you supposed to do
Code:
./autogen.sh
./configure
make
rather than using the makefile directly?

what version of bitcoin are u trying to compile. newer versions are compiled with
./autogen.sh
./configure
make
make install # optional


Thanks a lot i was just missing that  Smiley Now i have successfully compiled bitcoind and litecoind both.

Here is one issue if anyone can help with iam tiered of pulling searches for it:
I did an altcoin ( a litecoin clone) just for my learning as i won't release it, for that coin iam still having the same error though i can compile it easily on my windows32 bit...... I guess a problem with my libleveldb.a libmemenv.a Huh any idea how to fix it ?
activebiz
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
January 04, 2015, 09:55:30 AM
 #8

u should post the error msg.
some altcoins need to set permission to libleveldb;
cd litecoin
chmod 755 src/leveldb/build_detect_platform
to compile them.

.on windows u might need to build libleveldb.a libmenenv.a before compile.

java.dev (OP)
Member
**
Offline Offline

Activity: 166
Merit: 10

CRYPTO CODING SERVICES !!!


View Profile
January 04, 2015, 12:56:26 PM
 #9

u should post the error msg.
some altcoins need to set permission to libleveldb;
cd litecoin
chmod 755 src/leveldb/build_detect_platform
to compile them.

.on windows u might need to build libleveldb.a libmenenv.a before compile.

Hi this is the error iam getting:

leveldb/libleveldb.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status



on windows i can compile the qt easily for my altcoin using the source but on linux only iam having this error.

Edit this is my os info:
Debian:
Release Kali Linux 1.0.6 32-bit
Kernel Linux 3.12-kali1-486
GNOME 3.4.2
java.dev (OP)
Member
**
Offline Offline

Activity: 166
Merit: 10

CRYPTO CODING SERVICES !!!


View Profile
January 04, 2015, 06:09:01 PM
 #10

Its finally working the wallet is in sync with others and giving outputs as well


What i did was :

just copy the liblevel.db.a   and   libmemenv.a from the litecoin source i compiled on the same linux to my testcoin and then compiled my testcoind and it worked Smiley

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!