Bitcoin Forum
December 13, 2024, 06:39:04 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CentOS error  (Read 13431 times)
Brandon (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 4


View Profile
April 14, 2010, 07:39:32 PM
 #1

Hello all,

I've setup a BitCoin machine within my network (the one posted in the Static IP thread), but I am also trying to set one up on a server I have in Germany. When I try to run BitCoin it is returning me this error :

Code:
[****@m6091 bitcoin-0.2.0]# ./bitcoin
./bitcoin: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory

I have made sure openSSL is installed and libcrypto can be found when searching for it, is there anything I am missing?

Thank you,
Brandon
Xunie
Full Member
***
Offline Offline

Activity: 132
Merit: 101



View Profile
April 14, 2010, 09:15:21 PM
Last edit: April 14, 2010, 09:26:47 PM by Xunie
 #2

NEVER RUN A USERSPACE APPLICATION AS ROOT, EVER
Sorry about that, but using root for that is so foolish caps and bold is required.
It's unsafe for your security, it will get you laughed at, it will cause kittens to be raped. (Seriously, who doesn't like kittens?)

Anyhow, if it's installed it *should* work.
Is it properly installed and findable?
Run this:
Code:
$ whereis libcrypto

Ignore this: 734d417914faa443d74e8205f639dfb0f79fdc44988ecae44db31e5636525afe

Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
Brandon (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 4


View Profile
April 14, 2010, 09:20:58 PM
 #3

It returns :

Code:
[*****@m6091 lib]# whereis libcrypto
libcrypto: /usr/lib/libcrypto.a /usr/lib/libcrypto.so
[*****@m6091 lib]#
Xunie
Full Member
***
Offline Offline

Activity: 132
Merit: 101



View Profile
April 14, 2010, 09:26:08 PM
 #4

Run this and afterwards try bitcoin again:
Code:
# ldconfig
(just to be safe guys!)

Ignore this: 734d417914faa443d74e8205f639dfb0f79fdc44988ecae44db31e5636525afe

Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
The Madhatter
Hero Member
*****
Offline Offline

Activity: 490
Merit: 511


My avatar pic says it all


View Profile
April 14, 2010, 09:27:29 PM
 #5


Better yet -- run it in a sandbox / jail / virtual instance. That's what I do. But I am paranoid. Wink

NEVER RUN A USERSPACE APPLICATION AS ROOT, EVER
Sorry about that, but using root for that is so foolish caps and bold is required.
It's unsafe for your security, it will get you laughed at, it will cause kittens to be raped. (Seriously, who doesn't like kittens?)
Xunie
Full Member
***
Offline Offline

Activity: 132
Merit: 101



View Profile
April 14, 2010, 09:30:16 PM
 #6


Better yet -- run it in a sandbox / jail / virtual instance. That's what I do. But I am paranoid. Wink

NEVER RUN A USERSPACE APPLICATION AS ROOT, EVER
Sorry about that, but using root for that is so foolish caps and bold is required.
It's unsafe for your security, it will get you laughed at, it will cause kittens to be raped. (Seriously, who doesn't like kittens?)


You could also run it on an entirely different machine locked out from the world by a firewall allowing traffic to only another machine's 8333 port which also has bitcoin running on there which actually connects to the network. Grin

Ignore this: 734d417914faa443d74e8205f639dfb0f79fdc44988ecae44db31e5636525afe

Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
Brandon (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 4


View Profile
April 14, 2010, 09:31:52 PM
 #7

Same issue, and thanks for the warning, it's not running as root, I just replaced the username it is running under with stars. This is a publicly accessible FTP server as well, so I'm being smart about security, no worries.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5404
Merit: 13498


View Profile
April 14, 2010, 09:44:57 PM
 #8

Did you try "LD_LIBRARY_PATH=/usr/lib ./bitcoin"? Are you sure libcrypto.so.0.9.8 actually exists?

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Brandon (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 4


View Profile
April 14, 2010, 10:28:31 PM
 #9

I figured it out, thanks for the help anyways guys
Xunie
Full Member
***
Offline Offline

Activity: 132
Merit: 101



View Profile
April 15, 2010, 12:37:53 AM
 #10

I figured it out, thanks for the help anyways guys

Out of curiosity, what was the problem?

Ignore this: 734d417914faa443d74e8205f639dfb0f79fdc44988ecae44db31e5636525afe

Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
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!