Summary: | media-video/mjpegtools-1.6.0-r5 failed to compile "/usr/i686-pc-linux-gnu/bin/ld: cannot find -lartsc" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aniruddha Shankar <k> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | esigra, georges, zap4260 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Aniruddha Shankar
2003-03-14 10:42:40 UTC
the problem is actually that some lib that this is linking to was compiled against arts, so you need to remerge that lib so it doesn't any more. try: find /usr/lib/*.so | xargs ldd | grep larts This is not a correct resolution. The real problem is this part of the commandline: -L/usr/kde/3/lib This is however not the correct path, it should be -L/usr/kde/3.1/lib and in this case the program does compile correctly. The wrong commandline is: gcc -mcpu=i686 -march=i686 -march=i686 -Wall -Wunused -o .libs/lav2yuv lav2yuv.o lav_common.o -L/var/tmp/portage/mjpegtools-1.6.0-r7/work/mjpegtools-1.6.0/utils -lmjpegutils ./.libs/liblavfile.so -L/usr/lib -lmovtar -L/var/tmp/portage/mjpegtools-1.6.0-r7/work/quicktime4linux-1.4-patch -L/var/tmp/portage/mjpegtools-1.6.0-r7/work/quicktime4linux-1.4-patch/i686 -lquicktime -lpthread -lpng -lz -lm -L/lib -ldl -L/usr/include/jpeg-mmx -L/usr/local/lib -L/usr/kde/3/lib -lm -L/usr/X11R6/lib -ldl -lpthread -lm -lpthread -ldl ./.libs/liblavjpeg.so /usr/lib/libjpeg.so /usr/lib/libdv.so /usr/lib/libpopt.so /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -lX11 -lXext -lvga -ldl -lpthread -lm /usr/lib/libglib.so -lpthread -ldl The right commandline is: gcc -mcpu=i686 -march=i686 -march=i686 -Wall -Wunused -o .libs/lav2yuv lav2yuv.o lav_common.o -L/var/tmp/portage/mjpegtools-1.6.0-r7/work/mjpegtools-1.6.0/utils -lmjpegutils ./.libs/liblavfile.so -L/usr/lib -lmovtar -L/var/tmp/portage/mjpegtools-1.6.0-r7/work/quicktime4linux-1.4-patch -L/var/tmp/portage/mjpegtools-1.6.0-r7/work/quicktime4linux-1.4-patch/i686 -lquicktime -lpthread -lpng -lz -lm -L/lib -ldl -L/usr/include/jpeg-mmx -L/usr/local/lib -L/usr/kde/3.1/lib -lm -L/usr/X11R6/lib -ldl -lpthread -lm -lpthread -ldl ./.libs/liblavjpeg.so /usr/lib/libjpeg.so /usr/lib/libdv.so /usr/lib/libpopt.so /usr/lib/libSDL.so -lartsc /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm /usr/lib/libasound.so -lX11 -lXext -lvga -ldl -lpthread -lm /usr/lib/libglib.so -lpthread -ldl I haven't looked deep enough to see where the /usr/kde/3/lib is coming from, but fact remains that this is a huge problem for a lot people. I myself haven't been able to do any emerging of world for several months now, and it is impacting my ability and willingness to keep using gentoo... Please _FIX_ this issue. If it needs to be fixed on the user side then please tell us how: complete reinstall using nothing from KDE3.0? Complete removal of KDE? Complete removal of KDE 3? try out #revdep-rebuild from gentoolkit *** Bug 21572 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of 1991 *** |