Bitcoin Institute

Fedora 13 libcrypto

10 messages BitcoinTalk chupacabra, Eric Swanson, ribuck, sgtstein, Satoshi Nakamoto, Odin, Jeff Garzik July 12, 2010 — July 31, 2010
chupacabra July 12, 2010 19:27 UTC

I get this when trying to run bitcoin:

[michael@fed13 64]$ ./bitcoin ./bitcoin: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory

Fedora 13 uses this:

/lib64/libcrypto.so.1.0.0a

How can I get around this?

I tried a symlink and running ldd and ldconfig to no avail.

Thanks

chupacabra July 13, 2010 18:12 UTC

I would hope some real developer fixes this so Fedora and Slackware users can use it.  No telling what other distros it fails on.  What was it built on?  I’m guessing Ubuntu/Debian which in my opinion is the most broken fork existing. 

Please guys.  Help us out.

Thanks.

I’m having my wedding today so I dont have time to code.    😲

Eric Swanson (lachesis) July 13, 2010 18:20 UTC

Mazel tov!

Don’t be hatin’ on Ubuntu though. It’s a good OS, and it’s helping to drive Linux adoption in the home.

Try building yourself when you get some free time on the honeymoon! 😁

Alternatively, try this build: (x86_64 only, sorry) http://www.alloscomp.com/bitcoin/bitcoin-r102

ribuck July 13, 2010 21:16 UTC

Thanks for the link to that binary.

Unfortunately it doesn’t work for me. The bash shell gives a “cannot execute binary file” error.

I guess bitcoin-r102 is a 64-bit binary, and I’m running 32-bit Fedora.

sgtstein July 13, 2010 22:14 UTC
Quote from: ribuck on July 13, 2010, 9:16:10 PM UTC

Thanks for the link to that binary.

Unfortunately it doesn’t work for me. The bash shell gives a “cannot execute binary file” error.

I guess bitcoin-r102 is a 64-bit binary, and I’m running 32-bit Fedora.

True. This is only a 64-bit binary.

If no one else gets a binary uploaded tonight, I will try my hand at building one tomorrow morning.

ribuck July 16, 2010 10:47 UTC
Quote from: sgtstein on July 13, 2010, 10:14:26 PM UTC

… I will try my hand at building one …

I’ll pledge my first hundred bitcoins to anyone who can post a 32-bit Fedora version. I’d pledge more, except I don’t know how many I’ll be able to generate. Perhaps other 32-bit Fedora users can add their pledges to mine.

Satoshi Nakamoto July 16, 2010 14:55 UTC

Please try the 0.3.1 release candidate, it should at least resolve the libcrypto dependency:

topic 383

Let me know if that works.

ribuck July 16, 2010 16:45 UTC
Quote from: satoshi on July 16, 2010, 2:55:23 PM UTC

0.3.1 release candidate … Let me know if that works.

Thank you! So far, so good.

Odin July 31, 2010 01:38 UTC
Quote from: chupacabra on July 12, 2010, 7:27:30 PM UTC

I get this when trying to run bitcoin:

[michael@fed13 64]$ ./bitcoin ./bitcoin: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory

Fedora 13 uses this:

/lib64/libcrypto.so.1.0.0a

How can I get around this?

I tried a symlink and running ldd and ldconfig to no avail.

Thanks

No its a breaking DSO major version change. The problem with Fedora is that it cuts backward compatibility ASAP, where as for RHEL/CentOS there would be compat-openssl providing the libraries you need.

# Maybe look at
yum search crypto | egrep -i "(ssl|crypto)"
# Shot in the dark.
yum install compat-openssl

I only have Fedora12 (been advised to say away from 13, maybe its unlucky!)

Hopefully I can have an OBS build up at https://build.opensuse.org/project/packages?project=home%3Adlmiles over the weekend. This should allow a native Fedora build to exist.

Jeff Garzik (jgarzik) July 31, 2010 03:15 UTC
Quote from: Odin on July 31, 2010, 1:38:37 AM UTC
Quote from: chupacabra on July 12, 2010, 7:27:30 PM UTC

I get this when trying to run bitcoin:

[michael@fed13 64]$ ./bitcoin ./bitcoin: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory

Fedora 13 uses this:

/lib64/libcrypto.so.1.0.0a

How can I get around this?

I tried a symlink and running ldd and ldconfig to no avail.

Thanks

No its a breaking DSO major version change. The problem with Fedora is that it cuts backward compatibility ASAP, where as for RHEL/CentOS there would be compat-openssl providing the libraries you need.

That is irrelevant to building. bitcoin requires ECDSA, which Fedora will not include due to patent issues. A custom openssl build is a requirement on Fedora, in order to build bitcoin.