Bitcoin Forum
December 11, 2016, 12:25:06 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: CentOS error  (Read 3613 times)
Brandon
Newbie
*
Offline Offline

Activity: 6


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
1481459106
Hero Member
*
Offline Offline

Posts: 1481459106

View Profile Personal Message (Offline)

Ignore
1481459106
Reply with quote  #2

1481459106
Report to moderator
1481459106
Hero Member
*
Offline Offline

Posts: 1481459106

View Profile Personal Message (Offline)

Ignore
1481459106
Reply with quote  #2

1481459106
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481459106
Hero Member
*
Offline Offline

Posts: 1481459106

View Profile Personal Message (Offline)

Ignore
1481459106
Reply with quote  #2

1481459106
Report to moderator
1481459106
Hero Member
*
Offline Offline

Posts: 1481459106

View Profile Personal Message (Offline)

Ignore
1481459106
Reply with quote  #2

1481459106
Report to moderator
1481459106
Hero Member
*
Offline Offline

Posts: 1481459106

View Profile Personal Message (Offline)

Ignore
1481459106
Reply with quote  #2

1481459106
Report to moderator
Xunie
Full Member
***
Offline Offline

Activity: 132



View Profile
April 14, 2010, 09:15:21 PM
 #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

Thank me for this post here: 1PyNKEyqtDFB4HBG8ueDVxdPZfgwC6gAqw
Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
Brandon
Newbie
*
Offline Offline

Activity: 6


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



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

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

Thank me for this post here: 1PyNKEyqtDFB4HBG8ueDVxdPZfgwC6gAqw
Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
The Madhatter
Hero Member
*****
Offline Offline

Activity: 490


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



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

Thank me for this post here: 1PyNKEyqtDFB4HBG8ueDVxdPZfgwC6gAqw
Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
Brandon
Newbie
*
Offline Offline

Activity: 6


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: 2506


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
Newbie
*
Offline Offline

Activity: 6


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



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?

Thank me for this post here: 1PyNKEyqtDFB4HBG8ueDVxdPZfgwC6gAqw
Caffeinism -- a toxic condition caused by excessive ingestion of coffee and other caffeine-containing beverage.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!