Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Gnome 2.2 emerge problem - libmpeg2 fails

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
charlieg
Advocate
Advocate
User avatar
Posts: 2149
Joined: Tue Jul 30, 2002 11:05 am
Location: Manchester UK
Contact:
Contact charlieg
Website

Gnome 2.2 emerge problem - libmpeg2 fails

  • Quote

Post by charlieg » Thu Feb 06, 2003 11:13 pm

media-libs/libmpeg2 is giving me the following error. I've tried 'ldconfig', 'env-update' and 'etc-update'. The error is terribly undescriptive.

Code: Select all

gcc -march=pentium3 -pipe -fomit-frame-pointer -Wall -O3 -fomit-frame-pointer -o .libs/sample2 sample2.o -Wl,-rpath -Wl,/usr/lib  ../libmpeg2/.libs/libmpeg2.so ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv -L/usr/lib /usr/lib/libSDL.so 
-L/usr/kde/3/lib -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -lX11 -lXext -lvga -ldl -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[1]: *** [sample2] Error 1
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
make: *** [all-recursive] Error 1
Making all in autotools
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/autotools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/autotools'
Making all in include
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
make  all-am
make[2]: Entering directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
Making all in libmpeg2
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libmpeg2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libmpeg2'
Making all in libvo
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libvo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libvo'
Making all in doc
make[1]: Entering directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
/bin/sh ../libtool --mode=link gcc  -march=pentium3  -pipe -fomit-frame-pointer -Wall -O3 -fomit-frame-pointer   -o sample2  sample2.o ../libmpeg2/libmpeg2.la ../libvo/libvo.a   -lSM -lICE  -L/usr/X11R6/lib -lX11  -lXext -lXv -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread 
gcc -march=pentium3 -pipe -fomit-frame-pointer -Wall -O3 -fomit-frame-pointer -o .libs/sample2 sample2.o -Wl,-rpath -Wl,/usr/lib  ../libmpeg2/.libs/libmpeg2.so ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv -L/usr/lib /usr/lib/libSDL.so -L/usr/kde/3/lib -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -lX11 -lXext -lvga -ldl -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[1]: *** [sample2] Error 1
make[1]: Leaving directory `/var/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libmpeg2-0.3.1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Top
Spack
n00b
n00b
User avatar
Posts: 32
Joined: Sun Feb 02, 2003 3:46 am

  • Quote

Post by Spack » Thu Feb 06, 2003 11:19 pm

I had a couple of random things fail during the emerge also. Just doing an emerge gnome again seemed to work. A lot of others appear to be reporting similar problems and repeating the command fixes it. I had to try a couple of times (different builds failed each time) but I got there everntually.

Failing that you could try removing the distfile of the failed build and downloading it again...though md5 should have checked it was ok so not sure if this would help.
Gentoo 2004.4
Gnome 2.8
Athlon XP 1800+ 512MB DDR
Promise SATA
Top
charlieg
Advocate
Advocate
User avatar
Posts: 2149
Joined: Tue Jul 30, 2002 11:05 am
Location: Manchester UK
Contact:
Contact charlieg
Website

well

  • Quote

Post by charlieg » Fri Feb 07, 2003 12:14 am

I started going through the dependencies one by one...

I emerged gstreamer (from 0.5.x to 0.6) and the libmpeg2 denpendency just went away...

That can't be right. But still. :?
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Top
Spack
n00b
n00b
User avatar
Posts: 32
Joined: Sun Feb 02, 2003 3:46 am

  • Quote

Post by Spack » Fri Feb 07, 2003 12:33 am

It is odd and appears to be quite random. Possibly it has something to do with the order that the packages are emerged?
Gentoo 2004.4
Gnome 2.8
Athlon XP 1800+ 512MB DDR
Promise SATA
Top
charlieg
Advocate
Advocate
User avatar
Posts: 2149
Joined: Tue Jul 30, 2002 11:05 am
Location: Manchester UK
Contact:
Contact charlieg
Website

Now avifile too... :(

  • Quote

Post by charlieg » Fri Feb 07, 2003 1:36 am

Now avifile too... :(

Code: Select all

i686-pc-linux-gnu-gcc -shared  codeckeeper.lo Uncompressed.lo -Wl,--whole-archive aviplay/.libs/libaviplay.al aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -Wl,--no-whole-archive  -L/usr/X11R6/lib -L/usr/kde/3/lib -lz -L/usr/lib /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -lvga -lSM -lICE -lXinerama -lXv -lXrender -lXft -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lpthread -lnsl -ldl  -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.29
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc
collect2: ld returned 1 exit status
make[2]: *** [libaviplay.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.29.20030204 failed.
!!! Function src_compile, Line 142, Exitcode 2
!!! (no error message)
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Top
Spack
n00b
n00b
User avatar
Posts: 32
Joined: Sun Feb 02, 2003 3:46 am

  • Quote

Post by Spack » Fri Feb 07, 2003 1:41 am

Code: Select all

emerge gnome 
again.
Gentoo 2004.4
Gnome 2.8
Athlon XP 1800+ 512MB DDR
Promise SATA
Top
charlieg
Advocate
Advocate
User avatar
Posts: 2149
Joined: Tue Jul 30, 2002 11:05 am
Location: Manchester UK
Contact:
Contact charlieg
Website

Gotcha

  • Quote

Post by charlieg » Fri Feb 07, 2003 1:51 am

Found a fix! It's due to poor KDE linking (arts, to be specific, and to be even more specific the /usr/lib/libartsc.so softlink was missing) and this is the fix:
MadEagle wrote:OK, found a work around. By creating a soft link from /usr/lib/libartsc.so to /usr/kde/3/lib/libartsc.so the emerges work. For some reason the compiler does not get every lib directory. This looks like a bug to me, but I don't know enough about the linking to say for sure. Can anybody comment on that?
I can comment MadEagle... it worked! And it is a bug! (MadEagle posted the bug here.)
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Top
darktux
Veteran
Veteran
User avatar
Posts: 1086
Joined: Sat Nov 16, 2002 4:27 pm
Location: Coimbra, Portugal
Contact:
Contact darktux
Website

  • Quote

Post by darktux » Fri Feb 07, 2003 8:40 pm

The link is the other way around /usr/kde/3/lib/libartsc.so to /usr/lib/libartsc.so or /usr/kde/3.1/lib/libartsc.so to /usr/lib/libartsc.so depending on your KDE version.
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Top
Yuber
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Wed Jan 08, 2003 7:34 pm

Re: Gotcha

  • Quote

Post by Yuber » Fri Feb 07, 2003 10:03 pm

charlieg wrote:Found a fix! It's due to poor KDE linking (arts, to be specific, and to be even more specific the /usr/lib/libartsc.so softlink was missing) and this is the fix:
MadEagle wrote:OK, found a work around. By creating a soft link from /usr/lib/libartsc.so to /usr/kde/3/lib/libartsc.so the emerges work. For some reason the compiler does not get every lib directory. This looks like a bug to me, but I don't know enough about the linking to say for sure. Can anybody comment on that?
I can comment MadEagle... it worked! And it is a bug! (MadEagle posted the bug here.)
I actually posted about this same problem and a fix for it in the REALLY OLD GNOME2.2 thread. Thanks for reading.
Top
charlieg
Advocate
Advocate
User avatar
Posts: 2149
Joined: Tue Jul 30, 2002 11:05 am
Location: Manchester UK
Contact:
Contact charlieg
Website

Re: Gotcha

  • Quote

Post by charlieg » Sat Feb 08, 2003 12:33 pm

Yuber wrote:I actually posted about this same problem and a fix for it in the REALLY OLD GNOME2.2 thread. Thanks for reading.
WTF? Thanks for filing a bug.
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

Re: Gotcha

  • Quote

Post by pjp » Sat Feb 08, 2003 7:34 pm

Yuber wrote:I actually posted about this same problem and a fix for it in the REALLY OLD GNOME2.2 thread. Thanks for reading.
If you're referring to this problem, they aren't the same, althought the fix may be.
Quis separabit? Quo animo?
Top
Post Reply

11 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic