Linux libglib 2 0 so 0

libglib2.0 errors on 11.10 upgrade and installing ia32-libs

Ran through the upgrade to 11.10 and bunch of errors came back. After some initial diagnosis and autoremove via apt-get, I’ve still got 17 packages that won’t install. Running dpkg —audit gives me:

The following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure or the configure menu option in dselect: libglib2.0-0:i386 GLib library of C routines 
sudo dpkg --configure libglib2.0-0:i386 Setting up libglib2.0-0:i386 (2.30.0-0ubuntu4) . /usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory /usr/lib/i386-linux-gnu/glib-2.0/gio-querymodules: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory dpkg: error processing libglib2.0-0:i386 (--configure): subprocess installed post-installation script returned error exit status 127 Processing triggers for libc-bin . ldconfig deferred processing now taking place Errors were encountered while processing: libglib2.0-0:i386 

Any ideas? UPDATE: So, I was able to clear some errors, but now I can reproduce this when trying to install ia32-libs. UPDATE2:

ldd /usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas linux-gate.so.1 => (0xf779d000) libglib-2.0.so.0 => not found libc.so.6 => /opt/McAfee/runtime/2.0/lib/libc.so.6 (0xf767b000) /lib/ld-linux.so.2 (0xf779e000) ldd /usr/lib/i386-linux-gnu/glib-2.0/gio-querymodules linux-gate.so.1 => (0xf76f2000) libglib-2.0.so.0 => not found libgobject-2.0.so.0 => not found libgmodule-2.0.so.0 => not found libgio-2.0.so.0 => not found libc.so.6 => /opt/McAfee/runtime/2.0/lib/libc.so.6 (0xf75cf000) /lib/ld-linux.so.2 (0xf76f3000) 
/etc/ld.so.conf:include /etc/ld.so.conf.d/*.conf /etc/ld.so.conf.d/biarch-compat.conf:# Legacy biarch compatibility support /etc/ld.so.conf.d/biarch-compat.conf:/lib32 /etc/ld.so.conf.d/biarch-compat.conf:/usr/lib32 /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf:/usr/lib/nvidia-current-updates /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf:/usr/lib32/nvidia-current-updates /etc/ld.so.conf.d/i686-linux-gnu.conf:# Multiarch support /etc/ld.so.conf.d/i686-linux-gnu.conf:/lib/i386-linux-gnu /etc/ld.so.conf.d/i686-linux-gnu.conf:/usr/lib/i386-linux-gnu /etc/ld.so.conf.d/i686-linux-gnu.conf:/lib/i686-linux-gnu /etc/ld.so.conf.d/i686-linux-gnu.conf:/usr/lib/i686-linux-gnu /etc/ld.so.conf.d/nvidia_settings.conf:/usr/lib/nvidia-settings-updates /etc/ld.so.conf.d/libc.conf:# libc default configuration /etc/ld.so.conf.d/libc.conf:/usr/local/lib /etc/ld.so.conf.d/x86_64-linux-gnu.conf:# Multiarch support /etc/ld.so.conf.d/x86_64-linux-gnu.conf:/lib/x86_64-linux-gnu /etc/ld.so.conf.d/x86_64-linux-gnu.conf:/usr/lib/x86_64-linux-gnu 
/lib32/libglib-2.0.so.0 -> libglib-2.0.so.0.3000.0 /lib/i386-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.3000.0 /usr/lib32/libgobject-2.0.so.0 -> libgobject-2.0.so.0.3000.0 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.3000.0 
echo $LD_LIBRARY_PATH, $LD_PRELOAD, $PATH: , , /home/vrigdon/bin:/home/vrigdon/apache-maven-3.0.3/bin:/home/vrigdon/apache-ant-1.8.2/bin:/home/vrigdon/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/vrigdon/dev/lib/android-sdk-linux_x86/platform-tools:/home/vrigdon/gradle-1.0-milestone-3/bin 

Источник

CentOS

After I restart my PC, following message is being displayed and GUI is not coming up..
How to get rid of this problem?

Читайте также:  Astra linux java one

******/usr/bin/rhgb-client: error while loading shared libraries: libglib-2.0.so.0: Cannot open shared object file: No such file or directory******

pschaff Retired Moderator Posts: 18276 Joined: 2006/12/13 20:15:34 Location: Tidewater, Virginia, North America Contact:

Re: «libglib-2.0.so.0» problem

Post by pschaff » 2010/01/29 21:35:13

Welcome to the CentOS fora.

You have a serious error.[code]
[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
[/code]

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 try[code]yum reinstall glib2[/code]
If (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.

Re: «libglib-2.0.so.0» problem

Post by 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/libglib-2.0.so.0’ was linked to some other file generated by gstreamer.

I manually changed the soft links for libglib, libgmodule, libgthread files.

But I wonder if there could be some other files which might have been replaced in the similar way and I doubt whether the above changes are good enough. Is there any way to cross check them and update now?

Читайте также:  Remove programs in linux

toracat Site Admin Posts: 7516 Joined: 2006/09/03 16:37:24 Location: California, US Contact:

«libglib-2.0.so.0» problem

Post by toracat » 2010/02/01 05:36:11

[quote]
vinturi wrote:
While compiling gstreamer package, it seems some of the files were replaced.
[/quote]
By now you know why installing from source is not a great idea. I’d still like to refer you to:
http://wiki.centos.org/PackageManagement/SourceInstalls

[quote]
But I wonder if there could be some other files which might have been replaced in the similar way and I doubt whether the above changes are good enough. Is there any way to cross check them and update now?
[/quote]
For sanity check, please run the command:

Re: «libglib-2.0.so.0» problem

Post by vinturi » 2010/02/01 05:51:27

For sanity check, please run the command:

and show us the output.[/quote]

Thank you for your response.
Below is the output, kindly lemme know if I have to do some thing

pschaff Retired Moderator Posts: 18276 Joined: 2006/12/13 20:15:34 Location: Tidewater, Virginia, North America Contact:

Re: «libglib-2.0.so.0» problem

Post by pschaff » 2010/02/01 14:14:08

I’d try «yum reinstall glib2» and hope for the best.

In addition to endorsing [b]toracat[/b]’s advice about avoiding source installs (and particularly avoiding building as root!), let me recommend the following reading:
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14274&forum=47]Readme First[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url]
[url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14273&forum=47]Where to Find Answers[/url]
[url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url]
[url=http://wiki.centos.org/PackageManagement/Yum]Package Management with Yum[/url]
[url=http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac835c7]FAQ#20. Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere.[/url]

If you must still have a later version of gstreamer than is available in the repos read about [url=http://wiki.centos.org/HowTos/RebuildSRPM]how to rebuild SRPMs[/url] and find a Fedora or other SRPM as a starting place.

Re: «libglib-2.0.so.0» problem

Post by vinturi » 2010/02/03 00:40:31

If I try reinstalling ‘glib2’, it is overwriting the libraries and coming back to the old problem. Any solution to revert back to original settings permanently?

And thank you for providing the informative links 🙂

pschaff Retired Moderator Posts: 18276 Joined: 2006/12/13 20:15:34 Location: Tidewater, Virginia, North America Contact:

Читайте также:  Astra linux служба управления питанием

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not open library ‘libglib-2.0.so.0.so’ #212

Could not open library ‘libglib-2.0.so.0.so’ #212

Comments

I’ve tried using the 2.0.16 version of this gem on Ruby 2.5.5 (combined with libvips 8.8.3 on an Alpine Docker container, if it helps) and I get the following error:

Traceback (most recent call last): 24: from /usr/local/bin/bundle:22:in `' 23: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/friendly_errors.rb:124:in `with_friendly_errors' 22: from /usr/local/bin/bundle:30:in `block in ' 21: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:18:in `start' 20: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start' 19: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:27:in `dispatch' 18: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch' 17: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command' 16: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run' 15: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:494:in `console' 14: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/cli/console.rb:15:in `run' 13: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler.rb:114:in `require' 12: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:65:in `require' 11: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:65:in `each' 10: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:76:in `block in require' 9: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:76:in `each' 8: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:81:in `block (2 levels) in require' 7: from /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:81:in `require' 6: from /app/vendor/bundle/ruby/2.5.0/gems/ruby-vips-2.0.16/lib/ruby-vips.rb:1:in `' 5: from /app/vendor/bundle/ruby/2.5.0/gems/ruby-vips-2.0.16/lib/ruby-vips.rb:1:in `require' 4: from /app/vendor/bundle/ruby/2.5.0/gems/ruby-vips-2.0.16/lib/vips.rb:36:in `' 3: from /app/vendor/bundle/ruby/2.5.0/gems/ruby-vips-2.0.16/lib/vips.rb:45:in `' 2: from /app/vendor/bundle/ruby/2.5.0/gems/ffi-1.11.1/lib/ffi/library.rb:99:in `ffi_lib' 1: from /app/vendor/bundle/ruby/2.5.0/gems/ffi-1.11.1/lib/ffi/library.rb:99:in `map' /app/vendor/bundle/ruby/2.5.0/gems/ffi-1.11.1/lib/ffi/library.rb:145:in `block in ffi_lib': Could not open library 'glib-2.0.so.0': Error loading shared library glib-2.0.so.0: No such file or directory. (LoadError) Could not open library 'libglib-2.0.so.0.so': Error loading shared library libglib-2.0.so.0.so: No such file or directory 

I assume it has to do with the latest changes with regards to generating libnames.

The text was updated successfully, but these errors were encountered:

Источник

Оцените статью
Adblock
detector