Changes between Initial Version and Version 1 of Ticket #1635
- Timestamp:
- 2011-12-14T16:46:58Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1635 – Description
initial v1 1 {{{2 1 (16:00:04) tcatm: hey. I have some trouble running tahoe-lafs on fedora: exceptions.RuntimeError: crypto for PB is not available, try importing foolscap.crypto and see what happens 2 3 3 (16:10:19) davidsarah: tcatm: is that error from running 'setup.py build', or 'bin/tahoe', or using an operating system package of tahoe? 4 4 5 (16:11:11) tcatm: bin/tahoe start ... using the latest tarball from the download page 6 5 7 (16:12:48) davidsarah: which version of python? 8 6 9 (16:12:56) tcatm: 2.7 10 7 11 (16:14:59) davidsarah: please tell me the output from: PYTHONPATH=`pwd`/support/lib/python2.7/site-packages python -c "import foolscap.crypto; print foolscap.crypto" 12 8 13 (16:16:16) tcatm: <module 'foolscap.crypto' from '/usr/lib/python2.7/site-packages/foolscap/crypto.pyc'> 14 9 15 (16:16:56) davidsarah: what about: bin/tahoe --version-and-path 10 [see attachment] 16 17 see [attachment:paste.txt] 11 18 12 19 (16:20:11) davidsarah: thanks 20 13 21 (16:21:23) davidsarah: this is the problem: 22 14 23 (16:21:23) davidsarah: pyOpenSSL: None [(<type 'exceptions.ImportError'>, 'libcrypto.so.1.0.0: cannot open shared object file: No such file or directory', ('/home/tahoe/allmydata-tahoe-1.9.0/support/lib/python2.7/site-packages/pyOpenSSL-0.13-py2.7-linux-x86_64.egg/OpenSSL/__init__.py', 36, '<module>', 'from OpenSSL import crypto'))] (None), 24 15 25 (16:22:22) davidsarah: it appears that pyOpenSSL can't find the OpenSSL shared lib it is linked against 26 16 27 (16:22:33) davidsarah: I've seen that problem before recently. zooko? 28 17 29 (16:24:09) davidsarah: if there is an operating system package of pyOpenSSL for fedora, installing that (and doing 'python setup.py build' again) would probably fix it 30 18 31 (16:24:42) davidsarah: but we should try to understand why the pyOpenSSL egg it found by default didn't work 32 19 33 (16:25:30) davidsarah: can you do 'make clean' and then paste the full output of 'python setup.py build'? 34 20 35 (16:25:52) tcatm: pyOpenSSL is installed, but I only got a libcrypto.so 36 21 37 (16:26:01) davidsarah: ah 38 22 39 (16:26:54) davidsarah: if you symlink 'libcrypto.so.1.0.0' in the same directory to 'libcrypto.so', does it work then? 40 23 41 (16:27:36) tcatm: sounds like that could break easily on the next upgrade 42 24 43 (16:27:59) davidsarah: it could, but I'm just trying to verify a hypothesis for the cause of the error 44 25 45 (16:28:40) tcatm: hrm, make clean and running setup.py build seemed to have fixed the problem. strange :) 46 26 47 (16:28:47) davidsarah: sigh 48 27 49 (16:28:52) davidsarah: that is annoying 50 28 51 (16:29:23) tcatm: yep. thanks for helping, though :) 52 29 53 (16:29:35) davidsarah: I will file a ticket anyway. thanks for reporting the problem 30 (16:31:12) davidsarah: mind if I include your paste above? I don't think it has any sensitive paths 54 55 (16:31:12) davidsarah: mind if I include your paste above? I don't think it 56 has any sensitive paths 57 31 58 (16:32:19) tcatm: no problem. I've already checked it for sensitive information 59 32 60 (16:34:52) davidsarah: which version of Fedora? 61 33 62 (16:40:25) tcatm: 14 34 }}}