[Pkg-kde-bugs-fwd] [Bug 93359] included ltdl library built without support for shared object files

Michael Nottebrock 93359@bugs.kde.org
20 Jan 2005 09:03:51 -0000


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=93359         




------- Additional Comments From lofi freebsd org  2005-01-20 10:03 -------
That hack is unnecessarily blunt - when packaging kdelibs, just set libltdl_cv_shlibext=".so" in configure's environment and voĆ­la, digikam is fixed.

You can even go one better and change

    if (libname.find('.', pos) < 0)
      libname += ".la";

... to ".so" in kdelibs/kdecore/klibloader.cpp and omit packaging _any_ libtool archive for any kde app (except for apps which would try to open a hardcoded path+libraryfile.la - not sure if such applications exist, I doubt it). Of course this will not work on platforms without ELF shared objects.