Author

Topic: compiling error !! (Read 1347 times)

member
Activity: 166
Merit: 10
CRYPTO CODING SERVICES !!!
January 04, 2015, 01: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

member
Activity: 166
Merit: 10
CRYPTO CODING SERVICES !!!
January 04, 2015, 07:56:26 AM
#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
hero member
Activity: 518
Merit: 500
January 04, 2015, 04: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.
member
Activity: 166
Merit: 10
CRYPTO CODING SERVICES !!!
January 03, 2015, 06: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 ?
hero member
Activity: 518
Merit: 500
January 03, 2015, 05: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
legendary
Activity: 2058
Merit: 1452
January 03, 2015, 05:20:56 PM
#5
aren't you supposed to do
Code:
./autogen.sh
./configure
make
rather than using the makefile directly?
member
Activity: 166
Merit: 10
CRYPTO CODING SERVICES !!!
January 03, 2015, 01:27:11 PM
#4
Thanks but iam still looking for a solution.... Sad Sadly i still can't get rid of that error !!
newbie
Activity: 28
Merit: 0
January 03, 2015, 08:56:30 AM
#3
hero member
Activity: 644
Merit: 500
My goal is becaming a billionaire.
January 03, 2015, 06: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
member
Activity: 166
Merit: 10
CRYPTO CODING SERVICES !!!
January 03, 2015, 06: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.

 
Jump to: