Summary: | included ltdl library built without support for shared object files | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Michael Schwendt <mschwendt> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | ach, ana, gauret, lofi, mgarski, null, rdieter, rolandwolters |
Priority: | NOR | ||
Version: | 3.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | hack to hard-code shared_ext=.so |
Description
Michael Schwendt
2004-11-16 13:34:27 UTC
Confirmed. After looking at the configure check for shared library extension, I think I've come to the conclusion that the check is fundamentally broken, due to Michael's conclusion regarding unexpanded variables, ${shared_ext} in particular. Created attachment 8296 [details]
hack to hard-code shared_ext=.so
Hack to hard-code shared_ext=.so (linux only) to workaround flawed configured
check. kdelibs built with this patch made digikam work with a .la-file-less
imlib2.
product->kdelibs-3.3.1 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. Is this fixed in kde 3.3.2? No, it's not fixed in 3.3.2 > ... 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 -
Unfortunately, I've discoverred there exists quite a few kde apps/libs that depend on libs referenced in .la files that the associated .so files aren't linked against, which leads to library/kpart/module load failures.
Re: comment #8, see also patches provided in bug #139445 (yay) May as well bite the bullet and accept that this won't get upstreamed into kde3 anytime soon, nor is there any new releaeses expected. marking WONTFIX. Fwiw, Fedora's kde3 runtime has been patched around this since June'ish 2007 (and my own unofficial builds long before that). |