Missing libgcc_s.so.1 library

Hi there again,

After installing rar-3.3.0 I discovered the fact that I don't have the libgcc present in my Coredistro+BLFS box.

"rar: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory"

After searching the net and rpmfind.net I learned that there's an RPM available for RedHat systems, but I can't find a source tarball anywhere. Or must I recompile GCC 3.2.0?

Thanx in advance, Harold.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

karlwilburConnect With a Mentor Commented:
You can consult the BLFS Mailing List.


First check and make sure that you do have libgcc_s.so.1.

cd /
find|grep libgcc_s.so.1

This might take a little while.

You should find it under /lib or /usr/lib /usr/local/lib depending on your core distro.  I recommend LFS. ;-)  In which case it'd be /usr/lib.

If you don't have it....recomplie GCC.  The version of your choice.

I'll bet that rar is looking in /usr/local/lib so if you do have libgcc_s.so.1, you'd be able to handle this by passing to configure the location of you libdir when you configure rar.

Hope this helps.

owensleftfootConnect With a Mentor Commented:
You could update gcc to
alingAuthor Commented:
I've upgraded to GCC 3.3 and I have the desired library again...

Thanx for your help/advise...

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.