[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Koffice TRUNK doesn't compile due to missing dlsym reference
From:       jos poortvliet <jos () mijnkamer ! nl>
Date:       2006-11-12 11:56:54
Message-ID: 200611121256.58665.jos () mijnkamer ! nl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]


Op Sun Nov 12 2006, schreef Tim Beaulen:
> http://websvn.kde.org/branches/work/kwin_composite/CMakeLists.txt?rev=603677&r1=603384&r2=603677
> 
Yeah, i guess that was the fix. this made it seem easy, so i spend some time to fix \
the other one. after some tries, i think koffice/libs/store/CMakeLists.txt has to be \
modified, needs target_link_libraries(kstore -ldl) twice. but now the compiling stops \
somewhere else with a comparable error, and i can't find the appropriate file to \
change this time... grtz
Jos
> On 11/11/06, jos poortvliet <jos@mijnkamer.nl> wrote:
> > Hi ppl,
> > 
> > Koffice trunk gives errors like these:
> > Linking CXX shared module ../../../lib/krossruby.so
> > /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In function
> > `_PyImport_GetDynLoadFunc':
> > (.text+0x12f): undefined reference to `dlsym'
> > /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In function
> > `_PyImport_GetDynLoadFunc':
> > (.text+0x199): undefined reference to `dlopen'
> > /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In function
> > `_PyImport_GetDynLoadFunc':
> > (.text+0x1c7): undefined reference to `dlsym'
> > /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In function
> > `_PyImport_GetDynLoadFunc':
> > (.text+0x237): undefined reference to `dlerror'
> > 
> > Now i've seen this in the kwin_composite branch, and Lubos fixed it (not
> > sure if he did it the way google told). Google told me:
> > 
> > "To avoid this problem, please add '-ldl' flag to the linking line."
> > another solution was to re-install libdbl (which is part of glibc) but
> > that didn't work. now i tried to add -ldl to the makefile, but apparently
> > i can't find out where, as it simply refuses to work. so : if you think
> > this problem is relevant, and you don't know another solution, you'd
> > probably want to add -ldl at the proper place...
> > 
> > thanx and greetz,
> > 
> > Jos
> > --
> > Disclaimer:
> > Alles wat ik doe denk en zeg is gebaseerd op het wereldbeeld wat ik nu
> > heb. Ik ben niet verantwoordelijk voor wijzigingen van de wereld, of het
> > beeld wat ik daarvan heb, noch voor de daaruit voortvloeiende gedragingen
> > van mezelf. Alles wat ik zeg is aardig bedoeld, tenzij expliciet vermeld.



--
Disclaimer:
Alles wat ik doe denk en zeg is gebaseerd op het wereldbeeld wat ik nu heb. Ik ben \
niet verantwoordelijk voor wijzigingen van de wereld, of het beeld wat ik daarvan \
heb, noch voor de daaruit voortvloeiende gedragingen van mezelf. Alles wat ik zeg is \
aardig bedoeld, tenzij expliciet vermeld.


[Attachment #7 (text/html)]

<html><head><meta name="qrichtext" content="1" /></head><body \
style="font-size:10pt;font-family:Verdana"> <p>Op Sun Nov 12 2006, schreef Tim \
Beaulen:</p> <p>&gt; \
http://websvn.kde.org/branches/work/kwin_composite/CMakeLists.txt?rev=603677&amp;r1=603384&amp;r2=603677</p>
 <p>Yeah, i guess that was the fix. this made it seem easy, so i spend some time to \
fix the other one. after some tries, i think koffice/libs/store/CMakeLists.txt has to \
be modified, needs target_link_libraries(kstore -ldl) twice. but now the compiling \
stops somewhere else with a comparable error, and i can't find the appropriate file \
to change this time...</p> <p>grtz</p>
<p>Jos</p>
<p>&gt; On 11/11/06, jos poortvliet &lt;jos@mijnkamer.nl&gt; wrote:</p>
<p>&gt; &gt; Hi ppl,</p>
<p>&gt; &gt;</p>
<p>&gt; &gt; Koffice trunk gives errors like these:</p>
<p>&gt; &gt; Linking CXX shared module ../../../lib/krossruby.so</p>
<p>&gt; &gt; /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In \
function</p> <p>&gt; &gt; `_PyImport_GetDynLoadFunc':</p>
<p>&gt; &gt; (.text+0x12f): undefined reference to `dlsym'</p>
<p>&gt; &gt; /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In \
function</p> <p>&gt; &gt; `_PyImport_GetDynLoadFunc':</p>
<p>&gt; &gt; (.text+0x199): undefined reference to `dlopen'</p>
<p>&gt; &gt; /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In \
function</p> <p>&gt; &gt; `_PyImport_GetDynLoadFunc':</p>
<p>&gt; &gt; (.text+0x1c7): undefined reference to `dlsym'</p>
<p>&gt; &gt; /usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In \
function</p> <p>&gt; &gt; `_PyImport_GetDynLoadFunc':</p>
<p>&gt; &gt; (.text+0x237): undefined reference to `dlerror'</p>
<p>&gt; &gt;</p>
<p>&gt; &gt; Now i've seen this in the kwin_composite branch, and Lubos fixed it \
(not</p> <p>&gt; &gt; sure if he did it the way google told). Google told me:</p>
<p>&gt; &gt;</p>
<p>&gt; &gt; &quot;To avoid this problem, please add '-ldl' flag to the linking \
line.&quot;</p> <p>&gt; &gt; another solution was to re-install libdbl (which is part \
of glibc) but</p> <p>&gt; &gt; that didn't work. now i tried to add -ldl to the \
makefile, but apparently</p> <p>&gt; &gt; i can't find out where, as it simply \
refuses to work. so : if you think</p> <p>&gt; &gt; this problem is relevant, and you \
don't know another solution, you'd</p> <p>&gt; &gt; probably want to add -ldl at the \
proper place...</p> <p>&gt; &gt;</p>
<p>&gt; &gt; thanx and greetz,</p>
<p>&gt; &gt;</p>
<p>&gt; &gt; Jos</p>
<p>&gt; &gt; --</p>
<p>&gt; &gt; Disclaimer:</p>
<p>&gt; &gt; Alles wat ik doe denk en zeg is gebaseerd op het wereldbeeld wat ik \
nu</p> <p>&gt; &gt; heb. Ik ben niet verantwoordelijk voor wijzigingen van de wereld, \
of het</p> <p>&gt; &gt; beeld wat ik daarvan heb, noch voor de daaruit voortvloeiende \
gedragingen</p> <p>&gt; &gt; van mezelf. Alles wat ik zeg is aardig bedoeld, tenzij \
expliciet vermeld.</p> <p></p>
<p></p>
<p></p>
<p>--</p>
<p><span style="font-weight:600">Disclaimer:</span></p>
<p><span style="font-style:italic">Alles wat ik doe denk en zeg is gebaseerd op het \
wereldbeeld wat ik nu heb. Ik ben niet verantwoordelijk voor wijzigingen van de \
wereld, of het beeld wat ik daarvan heb, noch voor de daaruit voortvloeiende \
gedragingen van mezelf. Alles wat ik zeg is aardig bedoeld, tenzij expliciet \
vermeld.</span></p> </body></html>


[Attachment #8 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic