Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium shared library libjpeg.so.62 + etc-update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Drone4four
Apprentice
Apprentice


Joined: 09 May 2006
Posts: 247

PostPosted: Sat Feb 06, 2010 6:32 am    Post subject: Chromium shared library libjpeg.so.62 + etc-update Reply with quote

I just installed the unmasked version of Chromium in portage and it won't start. At the command line it says there is a shared library issue:
Code:

drone4four@localhost ~ $ chromium
/usr/lib64/chromium-browser/chrome: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory


Also, Portage is telling me etc needs updating:
Code:
IMPORTANT: 9 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.


Here is the etc-update command and it's output:
Code:
localhost drone4four # etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/X11/gdm/Xsession (1)
2) /etc/X11/gdm/custom.conf (1)
3) /etc/dbus-1/system.d/ConsoleKit.conf (1)
4) /etc/pam.d/gnome-screensaver (1)
5) /etc/pam.d/system-login (1)
6) /etc/sound/events/gnome-2.soundlist (1)
7) /etc/sound/events/gtk-events-2.soundlist (1)
8) /etc/xdg/autostart/gnome-at-session.desktop (1)
9) /etc/xdg/autostart/gnome-settings-daemon.desktop (1)
Please select a file to edit by entering the corresponding number.
              (don't use -3, -5, -7 or -9 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all remaining files)
                           (-5 to auto-merge AND not use 'mv -i')
                           (-7 to discard all updates)
                           (-9 to discard all updates AND not use 'rm -i'):

I'm not gonna use -3, -5, -7 or -9 because I am unsure what to do. What should I do? Could etc-update be related to my Chromium issue?

Portage is also saying some shit about Performing Global Updates:
Code:
Performing Global Updates: /usr/portage/profiles/updates/1Q-2010
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
  s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
  p='update /etc/portage/package.*'


What is Portage trying to say here?
_________________
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)


Last edited by Drone4four on Sat Feb 06, 2010 7:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5418

PostPosted: Sat Feb 06, 2010 7:17 am    Post subject: Reply with quote

nope, not related, read the output... it is jpeg related, you've probably upgraded jpeg latly, depending on the version you have installed, run
Code:
revdep-rebuild --library libjpeg.so.{version}

_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Drone4four
Apprentice
Apprentice


Joined: 09 May 2006
Posts: 247

PostPosted: Sat Feb 06, 2010 8:42 pm    Post subject: Reply with quote

Thanks DaggyStyle: That command worked beautifully. Chromium runs just fine now.

How should I use etc-update to update the files? Which should I use? -3, -5, -7 or -9?
_________________
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5418

PostPosted: Sat Feb 06, 2010 9:25 pm    Post subject: Reply with quote

Drone4four wrote:
Thanks DaggyStyle: That command worked beautifully. Chromium runs just fine now.

How should I use etc-update to update the files? Which should I use? -3, -5, -7 or -9?

nither, press enter, that will show you the diffs between the files, then see if it deletes your previous settings, if not, then save the update.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Drone4four
Apprentice
Apprentice


Joined: 09 May 2006
Posts: 247

PostPosted: Sat Feb 06, 2010 10:33 pm    Post subject: Reply with quote

If I just press enter, then nothing really happens. This screen appears:
Code:
Showing differences between /etc/X11/gdm/Xsession and /etc/X11/gdm/._cfg0000_Xsession
--- /etc/X11/gdm/Xsession       2009-09-25 21:23:08.000000000 -0400
+++ /etc/X11/gdm/._cfg0000_Xsession     2010-02-05 21:55:08.000000000 -0500
@@ -35,8 +35,6 @@
 # Second read /etc/xprofile and .xprofile for X specific setup
 test -f /etc/xprofile && . /etc/xprofile
 test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
-# Third read .bash_profile for keychain to work correctly
-test -f "$HOME/.bash_profile" && . "$HOME/.bash_profile"
 
 # Translation stuff
 if [ -x "/usr/libexec/gdmtranslate" ] ; then
@@ -179,24 +177,6 @@
   fi
 fi
 
-# @DISTRO_XSESSION@
-#
-# End of Distribution configuration section.
-#
-
-#Startup Input methods (IIIM->XIM)
-if [ -f /etc/iiim/xsession ]; then
-       . /etc/iiim/xsession
-fi
-#Startup XIM stuff
-if [ "x$XMODIFIERS" = "x" ]; then
- if [ -f "$HOME/.xim" ]; then
-       . $HOME/.xim
- elif [ -f "/etc/skel/.xim" ]; then
-       . /etc/skel/.xim
- fi
-fi
-
 if [ "x$command" = "xcustom" ] ; then
   if [ -x "$HOME/.xsession" ]; then
     command="$HOME/.xsession"
@@ -233,14 +213,6 @@
     done
 fi
 
-# add ssh-agent if found
-sshagent="`gdmwhich ssh-agent`"
-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
-    command="$sshagent -- $command"
-elif [ -z "$sshagent" ] ; then
-    echo "$0: ssh-agent not found!"
-fi
-
 echo "$0: Setup done, will execute: $command"
 
 eval exec $command


There is no way to exit this screen except by closing the terminal. Could this be vi or vim?
_________________
My rig:
IBM Personal System/2 Model 30-286 - - Intel 80286 (16 bit) 10 Mhz - - 1MB DRAM - - Integrated VGA Display adapter
1.44MB capacity Floppy Disk - - PS/2 keyboard (no mouse)
Back to top
View user's profile Send private message
codestation
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2008
Posts: 126
Location: /dev/negi

PostPosted: Sun Feb 07, 2010 1:07 am    Post subject: Reply with quote

Its "less", do you have to press the letter (q)uit to exit.
Read the handbook for more info.
_________________
Just feel the code...
Back to top
View user's profile Send private message
chaim
Apprentice
Apprentice


Joined: 11 Jul 2008
Posts: 172

PostPosted: Tue Feb 23, 2010 11:49 pm    Post subject: Re: Chromium shared library libjpeg.so.62 + etc-update Reply with quote

Drone4four wrote:
I just installed the unmasked version of Chromium in portage and it won't start. At the command line it says there is a shared library issue:
Code:

drone4four@localhost ~ $ chromium
/usr/lib64/chromium-browser/chrome: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory



Code:
chromium-bin
./chrome: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
[00:41] chime@gentusso ~ $


I tried to do 'revdep-rebuild --library libjpeg.so.8' but there isn't any positive result, i tried with version=8 because i upgraded this lib a week ago when the chromium-bin crashed. In fact, the emerge log said:

Code:
Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

  # revdep-rebuild --library libjpeg.so.7

Once you've finished running revdep-rebuild, it should be safe to
delete the old libraries.  Here is a copy & paste for the lazy:
  # rm '/usr/lib/libjpeg.so.7'



And I tried first with libjpeg.so.7 but didn't work so today I try with version 8 but I got the same result.


PD: Sorry, my english is veyrbad.
_________________
Mi Blog - Universo Binario
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1698

PostPosted: Wed Feb 24, 2010 3:33 am    Post subject: Reply with quote

chaim, try "revdep-rebuild --library libjpeg.so.62", since that's the one it can't find ;)
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 450
Location: Paris, France

PostPosted: Sat Mar 06, 2010 9:22 pm    Post subject: Reply with quote

Same issue here, except that revdep-rebuild does not good to me.
It returns very happily that everything is ok:
Code:
 * There are no dynamic links to libjpeg.so.62... All done.


Yet:
Code:
./chrome: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory


I also tried re-merging chromium-bin. I guess I will try to unmerge it and go for chromium (not bin).
Back to top
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Sat Mar 06, 2010 10:51 pm    Post subject: Reply with quote

After both of these are done,

# revdep-rebuild --library libjpeg.so.62
# revdep-rebuild --library libjpeg.so.7

You can install slotted jpeg's for binary-only pkgs,

# emerge media-libs/jpeg:62 media-libs/jpeg:7

These will give you both libjpeg.so.62 and libjpeg.so.7.

And then everything new will still compile against jpeg-8, so it's also safe.
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 450
Location: Paris, France

PostPosted: Sun Mar 07, 2010 2:01 pm    Post subject: Reply with quote

Thanks,
I have tried this, re-emerged a large number of packages, but still have the same trouble.

I was not aware the default invocation of revdep-rebuild (with no option) was not returning all breakages in the system. Is there a way to get this ?
As for chrome, I will probably go ahead with the switch to chromium (not bin) later today. Before I do that, I guess I will spend some more time fixing other broken things (I discovered my install of qt was a major problem too ---but this is not relevant to the chromium issue, since I did emerge that one with USE=qt-static).
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 450
Location: Paris, France

PostPosted: Sun Mar 07, 2010 6:20 pm    Post subject: Reply with quote

I could fix the problem by switching to chromium (not bin). Unmerged chromium-bin, and emerged chromium, and now it works fine.
I do not regret recompiling a large part of my system today, since revdep-rebuild with various options revealed quite a few package breakages. But I kind of wonder how come so many things break, whereas I just run regular updates, and perform regular revdep-rebuild (actually, I am still shocked revdep-rebuild with no option may return nothing whereas it will show some breakages if we ask about a particular library).
Back to top
View user's profile Send private message
Pistos
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 175
Location: Canada

PostPosted: Fri Mar 12, 2010 6:56 pm    Post subject: Reply with quote

I was able to get rid of the libjpeg.so.62 problem by reemerging '=media-libs/jpeg-6b-r9', then reemerging chromium-bin.
Back to top
View user's profile Send private message
nivw
Apprentice
Apprentice


Joined: 09 Nov 2005
Posts: 261

PostPosted: Thu Mar 24, 2011 8:26 pm    Post subject: Reply with quote

I had the same issue with net-misc/nxclient 3.4.0.5 and 3.4.0.7-r1
solved by remerging media-libs/jpeg-6b-r9
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum