Bug 160228 - configure does not check for libltdl installed
Summary: configure does not check for libltdl installed
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 21:26 UTC by Martin Schmettow
Modified: 2017-08-16 06:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schmettow 2008-04-01 21:26:28 UTC
Version:           0.1.5 (using KDE 3.5.8)
Installed from:    Ubuntu Packages
Compiler:          gcc 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) 
OS:                Linux

Compiling kipi-plugins from source configure seems to not check for libltdl being installed.
make then fails with:

/bin/bash ../../libtool --silent --tag=CXX   --mode=link g++  -Wno-long-long -Wu
ndef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wal
l -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-v
irtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT
_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -L../../kipi-plug
ins/common/libkipiplugins -module -avoid-version -module -no-undefined -Wl,--no-
undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/lib -R /usr/lib   -lki
piplugins  -o kipiplugin_kameraklient.la -rpath /usr/lib/kde3 gpiface.lo gpcamer
a.lo gpcontroller.lo gpeventfilter.lo gpfileitemcontainer.lo gpfileiteminfo.lo g
pfileiteminfodlg.lo gpmessages.lo gpstatus.lo kameraklient.lo camerafolderitem.l
o camerafolderview.lo cameraiconitem.lo cameraiconview.lo cameralist.lo camerase
lection.lo cameratype.lo cameraui.lo dmessagebox.lo savefiledialog.lo setupcamer
a.lo thumbitem.lo thumbview.lo -L/usr/lib -lgphoto2 -lgphoto2_port -lm -L/usr/li
b -lgphoto2_port -lkipi   -lkio -lkdeui -lkdecore -lqt-mt  -lz -lpng -lz -lm -lX
ext -lX11  -lSM -lICE -lpthread
grep: /usr/lib/libltdl.la: No such file or directory
/bin/sed: can't read /usr/lib/libltdl.la: No such file or directory
libtool: link: `/usr/lib/libltdl.la' is not a valid libtool archive
make[3]: *** [kipiplugin_kameraklient.la] Fehler 1
make[3]: Verlasse Verzeichnis '/home/martin/Desktop/Packs/kipi-plugins-0.1.5/kip                                                                             i-plugins/kameraklient'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/martin/Desktop/Packs/kipi-plugins-0.1.5/kip                                                                             i-plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/martin/Desktop/Packs/kipi-plugins-0.1.5'
make: *** [all] Fehler 2
Comment 1 Rex Dieter 2008-04-01 21:33:15 UTC
This is (most likely) a system/distro issue.  

Notice the link line you posted makes no mention of /usr/lib/libltdl.la ?  Means, that one of your system libtool archives contains a (possibly erroneous) reference to it.
Comment 2 Achim Bohnet 2008-04-01 21:39:44 UTC
I doubt that it's a direct requirement of kipi-plugins.  KDE comes
with it's own copy of ltdl.   I assume that kipiplugin_kameraklient.la
reverences other .la files that require ltld.la.

I assume libgphoto2 we hand big problems before because KDE ltdl and
ltdl used by libgphoto version didn't like each other.

Achim

P.S. FWIW: in case you're running gutsy/i386 you'll find kipi-plugins backport
at http://www.mpe.mpg.de/~ach/kubuntu/gutsy/Pkgs.php.  And soon for other
archs https://launchpad.net/~allee/+archive (working on it right now)
Comment 3 caulier.gilles 2009-10-01 12:44:17 UTC
This component is not maintained in KDE4

Gilles Caulier