Comment 59 for bug 145239

Revision history for this message
In , Sune Vuorela (debian-pusling) wrote :

To add a bit more details.

It seems that gphoto dlopens its plugins (on debian placed in /usr/lib/libgphoto2/2.4.0/)

gphoto uses normally the system libltdl to do the dlopens.

But in this case ... kdelibs ships its own embedded libltdl - and in kde applications kdelibs gets loaded first - and then "wins" over the systems other libraries when looking for some functions.

The real fix would be to use the system libltdl instead of embedding a copy in kdelibs.

(it was comments 31 and 32 that lead me in the right direction - but I just couldn't find the proper way to escape the ".so" if I wanted a -DLTDL_SHLIB_EXT=".so" passed in. That should do the trick as well)