SUSE Support

Here When You Need Us cannot open shared object file

This document (7011705) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 11 SP1


At boot time the a kernel panic will be issues with the error:
/bin/bash: error while loading shared libraries: cannot open shared object file: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

In this instance bash-4.1-20.25.1  was installed.  This rpm version is an OpenSuse 11.4 release.


An unsupported bash package was installed and needs to be removed and a supported bash package needs to be installed from the SUSE Linux Enterprise Server 11 Service Pack 1 Installation media.

Chroot the Installed system:
1. Insert or mount a SUSE Linux Enterprise Server 11 Service Pack 1 installation disk
--for VMware mount the .iso file
2. Boot from the disk
3. Choose "Rescue System"
4. Type "root"

Follow Chrooting instructions in document Troubleshooting the SLES10 Boot Process

It will work with SLES 11 as well.  Start at step 9. chroot Installed System

While chrooted in Rescue#:
mount /dev/cdrom /media

rm /bin/bash

rpm -Uvh --force /media/suse/x86_64/bash-3.1.xx.xx.x86_64.rpm
exit chroot by typing "exit"
reboot the system



Unsupported bash package version.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7011705
  • Creation Date: 25-Jan-2013
  • Modified Date:27-Jan-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.