Author

Topic: Fedora 13 libcrypto (Read 11227 times)

newbie
Activity: 16
Merit: 0
July 31, 2010, 02:11:13 AM
#17
I get this when trying to run bitcoin:

[[email protected] 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.

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.

This is irrelevant to finding memory leaks.  (humour)

Yes understood on ECDSA use (and Fedora patent policy), this is a seperate matter and not the question you asked.

Your original query was over "running" bitcoin not "building".  Hence the reply from me relating to running (and hence my humour comment).
legendary
Activity: 1596
Merit: 1022
July 30, 2010, 11:15:05 PM
#16
I get this when trying to run bitcoin:


[[email protected] 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.
newbie
Activity: 16
Merit: 0
July 30, 2010, 09:38:37 PM
#15
I get this when trying to run bitcoin:


[[email protected] 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.
donator
Activity: 826
Merit: 1008
July 16, 2010, 12:45:39 PM
#14
0.3.1 release candidate ... Let me know if that works.
Thank you! So far, so good.
founder
Activity: 364
Merit: 3077
July 16, 2010, 10:55:23 AM
#13
Please try the 0.3.1 release candidate, it should at least resolve the libcrypto dependency:

https://bitcointalksearch.org/topic/bitcoin-031-released-383

Let me know if that works.
donator
Activity: 826
Merit: 1008
July 16, 2010, 06:47:17 AM
#12
... 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.
member
Activity: 61
Merit: 10
July 13, 2010, 06:14:26 PM
#11
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.
donator
Activity: 826
Merit: 1008
July 13, 2010, 05:16:10 PM
#10
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.
member
Activity: 61
Merit: 10
July 13, 2010, 03:58:07 PM
#9
YAY.  Fedora users try this binary.  http://www.alloscomp.com/bitcoin/bitcoin-r102

Second confirmation that this is the WORKING build for Fedora 13.

Thanks!
newbie
Activity: 3
Merit: 0
July 13, 2010, 02:39:15 PM
#8
YAY.  Fedora users try this binary.  http://www.alloscomp.com/bitcoin/bitcoin-r102
full member
Activity: 210
Merit: 100
July 13, 2010, 02:20:24 PM
#7
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! Cheesy

Alternatively, try this build: (x86_64 only, sorry)
http://www.alloscomp.com/bitcoin/bitcoin-r102
newbie
Activity: 3
Merit: 0
July 13, 2010, 02:12:32 PM
#6
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.    Shocked
full member
Activity: 199
Merit: 696
July 13, 2010, 01:27:28 PM
#5
If you're ok with hacking the makefile to update your paths and such, try looking these notes I took to get you started:

http://heliacal.net/~solar/bitcoin/bitcoin-linuxbuild.pdf



member
Activity: 61
Merit: 10
July 13, 2010, 01:09:31 PM
#4
I too am having issues running it. Same error as above.

Does anyone know how to build it from source on F13? If we could do that, it should work just fine with the new module.
donator
Activity: 826
Merit: 1008
July 13, 2010, 11:26:15 AM
#3
I am having the same problem on Fedora 12 32-bit, which also uses libcrypto.so.1.0.0a.

As chupacabra says, a symlink doesn't help because the different library versions contain different symbols.
newbie
Activity: 14
Merit: 0
July 12, 2010, 04:05:15 PM
#2
I am having the same issue on Slackware64 13.1.
newbie
Activity: 3
Merit: 0
July 12, 2010, 03:27:30 PM
#1
I get this when trying to run bitcoin:


[[email protected] 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
Jump to: