[Bug 242101] New: k3b-1.93.0/b has linker error /usr/bin/ld: /usr/local/lib/libavcodec.a

BrianP brianp at austin.rr.com
Fri Jun 18 18:58:18 BST 2010


https://bugs.kde.org/show_bug.cgi?id=242101

           Summary: k3b-1.93.0/b has linker error /usr/bin/ld:
                    /usr/local/lib/libavcodec.a
           Product: kde
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: brianp at austin.rr.com


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.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list