kdebase compile error
Thiago Macieira
thiago at kde.org
Wed Jun 20 05:56:34 BST 2007
Sebastian Sauer wrote:
>Since this week (?) I keep to get;
>
>Linking CXX shared library ../../lib/libkdeinit4_konqueror.so
>/usr/bin/ld:
> /home/kde4/svn/_build/kdebase/lib/libkonquerorprivate.a(konq_applicatio
>n.o): relocation R_X86_64_32 against
> `KonquerorApplication::staticMetaObject' can not be used when making a
> shared object; recompile with -fPIC
>/home/kde4/svn/_build/kdebase/lib/libkonquerorprivate.a: could not read
>symbols: Bad value
>collect2: ld returned 1 exit status
>make[2]: *** [lib/libkdeinit4_konqueror.so] Error 1
>make[1]: *** [apps/konqueror/CMakeFiles/kdeinit_konqueror.dir/all] Error
> 2 make: *** [all] Error 2
>
>Following does fix it for me, anyone an idea how the real fix needs to
> look like?
The reason is the creation of the library libkonquerorprivate here:
http://websvn.kde.org/trunk/KDE/kdebase/apps/konqueror/CMakeLists.txt?r1=661013&r2=677505
kdeinit_konqueror is linking to a static library that isn't being
installed. I don't think we can have that: static libraries are NOT
convenience libraries!
Does it help to make it shared and installed? Or to revert the revision
above?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070620/af83dae9/attachment.sig>
More information about the kde-core-devel
mailing list