Summary: | link failure, -lpng missing in kioslave | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Rex Dieter <rdieter> |
Component: | Database-Albums | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 0.7.1 | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.7.0 | |
Attachments: | add -lpng to kio_digikamthumbnail_la_LIBADD |
Description
Rex Dieter
2004-12-21 14:37:12 UTC
Created attachment 8747 [details]
add -lpng to kio_digikamthumbnail_la_LIBADD
this is surprising, since the kioslave links to kio and kexif, both of which link to qt. And qt has to be linked to libpng. can you check if qt in your case links to libpng or not. ldd /path/to/libqt-mt.so |grep -i png $ldd /usr/lib/qt-3.3/lib/libqt-mt.so | grep png libpng12.so.0 => /usr/lib/libpng12.so.0 (0x009da000) Newer linkers(*) (sometimes?, I don't understand it fully) won't follow that implicit link. If your code uses libpng directly, then your code should link to it. CVS commit by pahlibar: added libpng explicitly to the linker flags BUG: 95582 M +1 -1 Makefile.am 1.12 --- kdeextragear-3/digikam/kioslave/Makefile.am #1.11:1.12 @@ -6,5 +6,5 @@ kio_digikamthumbnail_la_SOURCES = digikamthumbnail.cpp -kio_digikamthumbnail_la_LIBADD = $(LIB_KIO) -ljpeg +kio_digikamthumbnail_la_LIBADD = $(LIB_KIO) -ljpeg $(LIBPNG) kio_digikamthumbnail_la_LDFLAGS = -module -avoid-version $(all_libraries) \ $(KDE_PLUGIN) $(LIB_IMLIB2) $(LIBKEXIF_LIBS) This problem is relevant of digiKam KIO slaves which have been dropped since 5.0.0 by a multi-threaded interface to query the database. It will never reproducible. |