newbie: python 2.1 looking for libgcc_s.so.1 on SOL2.6?

Skip Montanaro skip at pobox.com
Fri Jan 11 16:38:46 EST 2002


    >> Trying to get the script at: http://ipcheck.sourceforge.net/ to run
    >> on my Solaris 2.6 box.  I downloaded and installed the Python 2.1.x
    >> pkg from sunfreeware.com (I trust those guys, I haven't had any
    >> problems with their packages).

    >> However, whenever I try to run the script I get the following errors.
    >> /usr/local/lib/python2.1 is in my LD_LIBRARY_PATH.  "gcc 2.95.2" is
    >> installed as well as "binutils".

    ...

    >> ImportError: ld.so.1: python: fatal: libgcc_s.so.1: open failed: No
    >> such file or directory 

Sounds to me like you actually built Python using GCC 3.0.  (Try gcc -v.)
If so, you will have to extend LD_LIBRARY_PATH to include the directory that
contains libgcc_s.so.1 (I look in /usr/local/lib first).

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)




More information about the Python-list mailing list