Centos Error While Loading Shared Libraries Libgio-2.0.so.0
General support questions including new installations Post Reply Print view Search Advanced search 11 posts 1 2 Next vinturi Posts: 5 Joined: 2010/01/29 09:57:32 "libglib-2.0.so.0" problem Quote Postby vinturi » 2010/01/29 10:02:33 After I restart my PC, following message is being displayed and GUI is not coming up..How to get rid of this problem?******/usr/bin/rhgb-client: error while loading shared libraries: libglib-2.0.so.0: Cannot open shared object file: No such file or directory******--Thanks in advance Top pschaff Retired Moderator Posts: 18276 Joined: 2006/12/13 20:15:34 Location: Tidewater, Virginia, North America Contact: Contact pschaff Website Re: "libglib-2.0.so.0" problem Quote Postby pschaff » 2010/01/29 21:35:13 Welcome to the CentOS fora.You have a serious error.Code: Select all[pschaffn@c5 ~]$ locate libglib-2.0.so.0
/lib/libglib-2.0.so.0
/lib/libglib-2.0.so.0.1200.3
[pschaffn@c5 ~]$ rpm -qf /lib/libglib-2.0.so.0
glib2-2.12.3-4.el5_3.1.i386
Large parts of the system depend on glib2. An attempt to remove it will remove hundreds of packages including virtually anything GUI, and nice things like yum, rpm, and associated packages. You could try booting in runlevel3 or single user mode.Boot to runlevel 3 by interrupting GRUB by typing a character such as "space" then appending to the kernel line by typing "a" and appending " 3". Should give you text login prompt.If that fails boot to single user mode by interrupting GRUB by typing a character such as "space" then appending to the kernel line by typing "a" and appending " 1". Should give you a root shell and not a login prompt.You need to reinstall glib2, but how the file disappeared would be interesting to know. If you can get on in runlevel 3 tryCode: Select allyum reinstall glib2If (unfortunately more likely when) that fails you may need to boot to rescue mode using the installation media, or from a LiveCD, and see what is recoverable. Top vinturi Posts: 5 Joined: 2010/01/29 09:57:32 Re: "libglib-2.0.so.0" problem Quote Postby vinturi » 2010/02/01 02:52:40 Thank you very much pschaff for your response.While compiling gstreamer package, it seems some of the files were replaced.When I tried locating 'libglib-2.0.so.0', I could find "/lib/libglib-2.0.so.0.1200.3" as it is but '/lib
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Linux error while loading http://www.centos.org/forums/viewtopic.php?t=15051 shared libraries: cannot open shared object file: No such file or directory up vote 142 down vote favorite 54 Program is part of the Xenomai test suite, cross-compiled from Linux PC into Linux+Xenomai ARM toolchain. # echo $LD_LIBRARY_PATH /lib # ls /lib ld-2.3.3.so libdl-2.3.3.so libpthread-0.10.so ld-linux.so.2 libdl.so.2 libpthread.so.0 libc-2.3.3.so libgcc_s.so libpthread_rt.so libc.so.6 libgcc_s.so.1 libstdc++.so.6 libcrypt-2.3.3.so libm-2.3.3.so libstdc++.so.6.0.9 libcrypt.so.1 libm.so.6 # ./clocktest ./clocktest: error while loading http://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s shared libraries: libpthread_rt.so.1: cannot open shared object file: No such file or directory Edit: OK I didn't notice the .1 at the end was part of the filename. What does that mean anyway? linux shared-libraries file-not-found xenomai share|improve this question edited Jan 26 '09 at 18:22 asked Jan 26 '09 at 18:07 zaratustra 2,17462538 153 This might happen if you have recently installed a shared library and didn't run ldconfig(8) afterwards. Do 'ldconfig', there's no harm in it. –AbiusX Jun 5 '11 at 21:02 14 +1 to @AbiusX comment - running sudo ldconfig (assuming that libraries are in fact where they should be [/usr/bin/lib/, /usr/bin/include/, /usr/local/lib/ and /usr/local/include/ AFAIK], please correct me if I'm wrong) can resolve that problem. Cheers! –AeroCross Nov 16 '11 at 18:11 add a comment| 13 Answers 13 active oldest votes up vote 57 down vote accepted Update While what I write below is true as a general answer about shared libraries, I think the most frequent cause of these sorts of message is because you've installed a package, but not installed the "-dev" version of that package. Well, it's not lying - there is no libpthread_
Primer All Books and Articles Community Mailing Lists Forums User Groups Events Q&A (external) Developers Project Ideas SVN Repository Perforce Repository Support Vendors Security Information Bug Reports Submit Bug-report Foundation Monetary Donations Hardware https://forums.freebsd.org/threads/12637/ Donations Log in or Sign up The FreeBSD Forums Forums > Ports and Packages > Installation and Maintenance of Ports or Packages > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. nspluginwrapper can't find libgio-2.0.so.0, but it's there? Discussion in 'Installation and Maintenance of Ports or Packages' started by centos error alaric, Mar 24, 2010. alaric New Member Messages: 13 Thanks Received: 0 Followed "How to" for flash (twice). Got great help from a Dude calling himself Dutch Daemon (thanks again). I'm now stuck on the following: Code:/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory In spite of: Code:find / -name libgio-s.0so.0 /usr/local/lib/libgio-2.0.so.0 ?? centos error while Any Help Greatly Appreciated alaric, Mar 24, 2010 #1 Shuny New Member Messages: 13 Thanks Received: 2 Got the same problem error yesterday. After a reboot it was gone and I could use flash on my system. Shuny, Mar 25, 2010 #2 DutchDaemon Administrator Staff Member Administrator Moderator Messages: 10,998 Thanks Received: 2,203 It may be looking for /usr/compat/linux/lib/libgio-2.0.so.0, not /usr/local/lib/libgio-2.0.so.0. Freedom must be organized in order to persist. FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki FreeBSD Forum Rules and Guidelines DutchDaemon, Mar 25, 2010 #3 alaric thanks for this. errd New Member Messages: 2 Thanks Received: 0 DutchDaemon said: It may be looking for /usr/compat/linux/lib/libgio-2.0.so.0, not /usr/local/lib/libgio-2.0.so.0.Click to expand... Have got the same problem: Code:/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory I've tried to link /usr/local/lib/libgio-2.0.so.0 to /usr/compat/linux/lib/libgio-2.0.so.0 but without success: Code:/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: /lib/libgio-2.0.so.0: ELF file OS ABI invalid Any ideas? errd, Mar 28, 2010 #4 DutchDaemon Administrator Staff Member Administrator Moderator Messages: 10,998 Thanks Received: 2,203 Linking FreeBSD an