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


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat /usr/bin/rhgb-client -- error while loading shared libraries: libpopt.so.0
# 1  
Old 05-02-2013
/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.
# 2  
Old 05-02-2013
Hi,

This error corresponds to the following line of you inittab file
Quote:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
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
# 3  
Old 05-02-2013
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"
# 4  
Old 05-03-2013
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
# 5  
Old 05-04-2013
Is the rpm popt installed ?

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


Last edited by Corona688; 05-04-2013 at 02:04 PM..
# 6  
Old 05-04-2013
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.
# 7  
Old 05-09-2013
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

Quote:
rpm -qa | grep popt
If you do not have it, please install it

Quote:
yum install popt
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Error while loading shared libraries

I am trying to run a C++ program which uses a static library libprun.a. During compilation, I am loading this library file using a environment variable as below. LIBDIR = ${CUSTOM_PATH}/lib LOADLIBS = $(LIBDIR)/libgqlcomm.a \ $(LIBDIR)/libgsml.a \ ... (7 Replies)
Discussion started by: vdivb
7 Replies

2. Shell Programming and Scripting

/usr/bin/scp error

I have this scp script running, /usr/bin/scp -r /cerner/mgr --exclude-from=/atg/move_exclude.dat 102.126.112.68:/cerner but am getting an error: --exclude-from=/atg/move_exclude.dat: No such file or directory I am wondering if the syntax is incorrect... I also have additional... (3 Replies)
Discussion started by: Daniel Gate
3 Replies

3. UNIX for Dummies Questions & Answers

Error while loading shared libraries

Hello, I am trying to run a program from my local account and receive the following error: /local/app: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory On the root account (which I DO NOT have access to), I see that libtiff.so.4... (3 Replies)
Discussion started by: bphqk3
3 Replies

4. UNIX and Linux Applications

/usr/bin/ld: cannot find -lz error

I am installing lxml module for python on redhat I have installed libxml2 already. When I run for libxslt: ./configure --prefix=libxslt_folder --with-libxml-prefix=libxml2_folder It is ok the I run : make I have error: /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status I... (4 Replies)
Discussion started by: AIX_30
4 Replies

5. Linux

xz: error while loading shared libraries: liblzma.so.5

Help! I'm busy working on MySQL replication for the site and trying to unzip this bind-geodns xz file on Linux (ubuntu) and am having some problems. http://distro.ibiblio.org/pub/linux/distributions/archlinux/community/os/i686/bind-geodns-9.4.1-4-i686.pkg.tar.xz Could anyone kindly unzip... (4 Replies)
Discussion started by: Neo
4 Replies

6. Ubuntu

error while loading shared libraries: libxerces-c.so.28

Hi, Can any one help me ,how to rectify the below problem?........ "error while loading shared libraries: libxerces-c.so.28: cannot open shared object file: No such file or directory" Im using "ubuntu 10.04" (64 bit) (0 Replies)
Discussion started by: kavi.mogu
0 Replies

7. Shell Programming and Scripting

!/usr/bin/ksh error

Usually we use !/usr/bin/ksh at the start of the script.But if I am having this stuff in the scripts and calling one script from other its not working.What may be the reason behind it ? xyz.ksh #!/usr/bin/ksh echo "Hi" abc.ksh #!/usr/bin/ksh echo "I am fine" ksh xyz.ksh Its... (4 Replies)
Discussion started by: dr46014
4 Replies

8. AIX

nim mksysb error :/usr/bin/savevg[33]: 1016,07: syntax error

-------------------------------------------------------------------------------- Hello, help me please. I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? : Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies

9. HP-UX

Loading shared Libraries dynamically

HI, I am dynamically loading shared libraries using shl_load(). There are multiple processes (50 or more) which loads the same shared library. Will Unix internally load only one copy of the shared library or it will load multiple copies. Can I have memory issues if this is done. Thanks,... (1 Reply)
Discussion started by: Debasisb2002
1 Replies
Login or Register to Ask a Question