View previous topic :: View next topic |
Author |
Message |
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Wed Sep 06, 2006 8:33 am Post subject: fix libs with revdep-rebuild does not work [solved] |
|
|
Hi,
I updated the last week gcc. A few days ago I did a revdep-rebuild to see if there a some broken dependencies. And there are
Code: | Checking dynamic linking consistency...
broken /usr/lib/avifile-0.7/ac3pass.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/ac3pass.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/divx4.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/divx4.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/divx4.la (requires /-lstdc++)
broken /usr/lib/avifile-0.7/divx4.la (requires /-lstdc++)
broken /usr/lib/avifile-0.7/ffmpeg.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/ffmpeg.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mad_audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mad_audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mp3lame_audioenc.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mp3lamebin_audioenc.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/mpeg_audiodec.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/osmjpeg.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/osmjpeg.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/vorbis_audio.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/vorbis_audio.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/win32.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/win32.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/avifile-0.7/xvid4.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/avifile-0.7/xvid4.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/libaviplay.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/libqavm.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/libtunepimp.la (requires /-lstdc++)
broken /usr/lib/libtunepimp.la (requires /-lstdc++)
broken /usr/lib/transcode/export_af6.la (requires /usr/lib/libaviplayavformat.la)
broken /usr/lib/transcode/export_af6.la (requires /usr/lib/libaviplayavcodec.la)
broken /usr/lib/transcode/filter_preview.la (requires /usr/lib/libdv.la)
broken /usr/lib/xmms/Input/libmp4.la (requires /usr/lib/libfaad.la)
done.
(/root/.revdep-rebuild.3_rebuild) |
The system wants to recompile gcc to solve its broken dependencies
Code: | All prepared. Starting rebuild...
emerge --oneshot =sys-devel/gcc-4.1.1 |
But it doesn't work although the emerge process ended successfully.
I tried to find where the lib belongs to:
Code: | # equery b /usr/lib/libgcj.la
[ Searching for file(s) /usr/lib/libgcj.la in *... ] |
But the result is that ther is no package for this lib.
Does anyone know what is the cause of this?
Thanx
menschmeier _________________ Please notice the back of this message.
Last edited by menschmeier on Tue Sep 19, 2006 10:56 am; edited 1 time in total |
|
Back to top |
|
|
zAfi Apprentice
Joined: 08 Aug 2006 Posts: 220 Location: Austria
|
Posted: Wed Sep 06, 2006 9:15 pm Post subject: |
|
|
I know, this may be a stupid suggestion, but did you follow the guide @ http://www.gentoo.org/doc/en/gcc-upgrading.xml??
Especially this part: Code: | # emerge -uav gcc
(Please substitute "i686-pc-linux-gnu-4.1.1" with the GCC
version and CHOST settings you've upgraded to:)
# gcc-config i686-pc-linux-gnu-4.1.1
# source /etc/profile
If you upgraded from gcc 3 to 4 (e.g. from 3.4.6 to 4.1.1 in this
example) you will have to run fix_libtool_files.sh manually
# fix_libtool_files.sh 3.4.6
(Rebuilding libtool)
# emerge --oneshot -av libtool |
_________________ Gentoo 2008.0/desktop | Kernel: 2.6.27-tuxonice | Arch: amd64 | KDE 3.5.9 | WU Wien |
----------
Share your kernel information @ http://klive.cpushare.com/ |
|
Back to top |
|
|
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Thu Sep 07, 2006 5:21 am Post subject: |
|
|
Hi,
I think so, but I upgraded gcc before it came officially stable - one or two days before ... so I am not sure abbout reading this doc a this time. Maybe I didn't emerged libtool before emerging system. So I will emerge libtool again and system too.
Thanx
menschmeier _________________ Please notice the back of this message. |
|
Back to top |
|
|
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Thu Sep 07, 2006 12:16 pm Post subject: |
|
|
Hi,
I emerge libtool and system again ... no success ... ????
This wasn't the problem - unfortunately.
menschmeier _________________ Please notice the back of this message. |
|
Back to top |
|
|
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Thu Sep 07, 2006 12:50 pm Post subject: |
|
|
Hi,
I found on an other thread the "solution" - using a symlink ...
I did so .... but I don not understand what went wrong ...
menschmeier
PS: in my opion it is not really solved, so I will not mark this thread so. _________________ Please notice the back of this message. |
|
Back to top |
|
|
hitachi Guru
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Thu Sep 14, 2006 6:27 pm Post subject: |
|
|
Hi
Quote: | I found on an other thread the "solution" - using a symlink ... |
From where do where did you simlink?
Thanks |
|
Back to top |
|
|
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Fri Sep 15, 2006 6:19 am Post subject: |
|
|
Hi hitachi,
I linked this Quote: | /usr/lib/libgcj.la -> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcj.la | because revdep-rebuild tell me that this is broken: Quote: | broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la) |
CU
menschmeier _________________ Please notice the back of this message. |
|
Back to top |
|
|
hitachi Guru
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Fri Sep 15, 2006 9:42 am Post subject: |
|
|
Thank you! It is working now.
first: Quote: | Checking dynamic linking consistency...
broken /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la (requires /usr/lib/libgcj.la)
done.
(/root/.revdep-rebuild.3_rebuild)
|
then: Code: | ln -sfn /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgij.la /usr/lib/libgcj.la |
now: Quote: | Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done.
|
Again: Thank you. |
|
Back to top |
|
|
tommoyer324 Tux's lil' helper
Joined: 06 Jun 2005 Posts: 104 Location: USA
|
Posted: Fri Sep 22, 2006 1:28 am Post subject: |
|
|
Can someone explain why this problem exists, and why it can't be fixed except by manual intervention? I thought portage was supposed to handle all things like this? |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|