LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   apt-config:error while loading shared libraries: libgcc_s.so.1 cannot open shared object file: No such file or directory (https://www.linuxquestions.org/questions/ubuntu-63/apt-config-error-while-loading-shared-libraries-libgcc_s-so-1-cannot-open-shared-object-file-no-such-file-or-directory-4175585102/)

wenyumei 07-20-2016 05:52 AM

apt-config:error while loading shared libraries: libgcc_s.so.1 cannot open shared object file: No such file or directory
 
Hi:
I can not log in my linux even with the right password.When i press ctrl+alt+F1,it is showing the following error:
apt-config:error while loading shared libraries: libgcc_s.so.1 cannot open shared object file: No such file or directory

I am trying to install fluka in my linux.I think i had delete my libgcc_s.so.1 in this process.
I try to solve this problem with :sudo apt-get install libgcc_s.so.1,but it shows:
apt-get:error while loading shared libraries: libgcc_s.so.1 cannot open shared object file: No such file or directory.

Can anyone tell me what should i do to solve this error?Thank you!

knudfl 07-20-2016 10:58 AM

Welcome to LQ.

You can get libgcc_s.so.1 from the package libgcc1 for your OS
http://packages.ubuntu.com/search?ke...searchon=names
Download the package, unpack with 'dpkg -x libgcc1_* ./'
... and make a copy of libgcc_s.so.1 to /lib/x86_64-linux-gnu/
... by booting from a live OS (live cd or live USB).


-


All times are GMT -5. The time now is 06:31 AM.