Fedora 13 libcrypto

8 messages BitcoinTalk chupacabra, ribuck, sgtstein, Satoshi Nakamoto, Odin, Jeff Garzik July 12, 2010 — July 31, 2010
chupacabra July 12, 2010 19:27 UTC Source ·

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

ribuck July 13, 2010 21:16 UTC Source ·

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 Source ·
Quote from: ribuck on July 13, 2010, 12: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 Source ·
Quote from: sgtstein on July 13, 2010, 1: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 Source ·

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 Source ·
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 Source ·
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 Source ·
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.