socket question(3)

Rick Y msg_2222 at yahoo.com
Mon Apr 7 21:44:14 CEST 2003


installed openssl package from sunfreeware. error:

./viewcvs-install
Traceback (most recent call last):
  File "./viewcvs-install", line 35, in ?
    import compat
  File "./lib/compat.py", line 20, in ?
    import urllib
  File "/usr/local/lib/python2.1/urllib.py", line 26,
in ?
    import socket
  File "/usr/local/lib/python2.1/socket.py", line 41,
in ?
    from _socket import *
ImportError: ld.so.1: python: fatal: libgcc_s.so.1:
open failed: 
No such file or directory


followed these steps:

PATH=/usr/local/ssl/bin:${PATH}
export PATH

LD_LIBRARY_PATH=/usr/local/ssl/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

cd /usr/lib
ln -s ../local/ssl/lib/libcrypto.a libcrypto.a
ln -s ../local/ssl/lib/libcrypto.so.0.9.6
libcrypto.so.0.9.6
ln -s ../local/ssl/lib/libssl.a libssl.a
ln -s ../local/ssl/lib/libssl.so.0.9.6 libssl.so.0.9.6
ln -s libssl.so.0 libssl.so
ln -s libssl.so.0.9.6 libssl.so.0
cd /usr/bin
ln -s ../local/ssl/bin/openssl openssl
ln -s ../local/ssl/bin/c_rehash c_rehash
cd /usr/include
ln -s ../local/ssl/include/openssl openssl

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com





More information about the Python-list mailing list