Version: unspecified (using KDE 4.3.5) OS: Linux Hi, Ubuntu 10.4 k3b does not rip dvds like Suse 11.2 does. I downloaded the source k3b-1.93.0rc4.tar.bz2. The cmake fails with a linker error: usr/bin/ld: /usr/local/lib/libavcodec.a(utils.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libavcodec.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [lib/k3bffmpegdecoder.so] Error 1 make[1]: *** [plugins/decoder/ffmpeg/CMakeFiles/k3bffmpegdecoder.dir/all] Error 2 How does one compile a single module, ffmpeg(?) in the middle of a cmake process? I followed the instructions exactly and they don't work. Perhaps your elves know of an easy hackaround for this common, simple problem. Please put it in the documentation so users wont have to pester you. Why would only 1 module need -fpic? Reproducible: Didn't try Steps to Reproduce: Download the source, follow the instructions... Expected Results: folow instructions, get working program I built this thing on 9.10 without issue. The bug was apparently introduced recently. By crash below, I mean a crash in the build which precludes even running the program so is just as bad as a crash.
A failing build is not a "crash", but just a build failure. Also, /usr/local/lib/libavcodec.a looks like you compiled your own libavcodec, and there is no shared library (.so) version of it, but it was compiled as static library. Please check that you have also the shared library version, and if not check whether you can compile libavcodec in such way.
Pino, /usr/local/lib/libavcodec.a was installed with Synaptic and is Ubuntu 10.04 standard. I did try to compile ffmpeg from source, but it also has build errors which I never could figure out. Try k3b on a stock, minimal ubu 10/04. No worky. 9.10 does work. K3b and ffmpeg folks need to make sure their stuff builds at the OS level, not just at the bench level. :) Brian On 06/21/2010 12:06 PM, Pino Toscano wrote: > https://bugs.kde.org/show_bug.cgi?id=242101 > > > Pino Toscano<pino@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Severity|crash |normal > > > > > --- Comment #1 from Pino Toscano<pino kde org> 2010-06-21 19:06:46 --- > A failing build is not a "crash", but just a build failure. > Also, /usr/local/lib/libavcodec.a looks like you compiled your own libavcodec, > and there is no shared library (.so) version of it, but it was compiled as > static library. Please check that you have also the shared library version, and > if not check whether you can compile libavcodec in such way. >
Feel free to reopen the report and paste backtrace if the problem still happens in recent versions