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.