/usr/bin/rhgb-client -- error while loading shared libraries: libpopt.so.0

Hi All,

I have RHEL 5 installed in my system. Something must has happened because when i reboot the server, it came with many error..

/usr/bin/rhgb-client -- error while loading shared libraries: libpopt.so.0. Can't open shared object files. No such file/directory

It finnaly ends with the "init: Id "x" respawning too fast: disabled for 5 minutes".

From there, if i hit enter, i can't log in..

How Can i fix it without re-installing?

Help Appreciated.

Hi,

This error corresponds to the following line of you inittab file

Reboot into run level 3

1] check what your display manager is via the file /etc/X11/prefdm

2] run the command redhat-config-xfree86

Hi maverick,

as suggested, I have edit to level 3.
Also attached content .. of file /etc/X11/prefdm
while running " run the command redhat-config-xfree86 " received received not found.

I also try to another way that is...went to shell prompt
$su
$init 3

it boot successfully but I do not get GUI mode.

even when I try xhost + it gives error "enable to open display"

Ok, now is it a vm or a physical machine. If it is a VM ,please ensure you have vmtools running. If it is a physical machine, run the command redhat-config-xfree86. Also check for your xlog in /var/log ( /var/log/Xorg.0.log ) .

Check if there are any big files in temp or ensure temp is not 100% full

Is the rpm popt installed ?

[root@rhel6 lib]# rpm -ql popt|grep libpopt.so.0
/lib/libpopt.so.0
/lib/libpopt.so.0.0.0
[root@rhel6 lib]#

Hi maverick,

I am using Oracle Linux 5.8 x64 as a guest OS as virtual machine under Oracle VirtualBox.

I did not understood vmtool ?

Actaully earlier after Linux boot I used to get GUI mode without using any tool.

PFA error in/var/log/Xorg.0.log .

tmp has sufficient space.

thanks in advance for your support.

Sorry, for getting back so late. Well, in the above post Hiten has suggested for popt library to be installed.It is a C library for parsing command line parameters something on the lines of getopt()

You may check is you have it installed by

If you do not have it, please install it