Libtool2
From FedoraProject
Contents |
Fedora F11 update of libtool to version 2.2.x
Logfiles of failed package rebuilds
My homepage on fedorapeople.org has the logs of the failed package rebuilds.
example build failures and suggested fixes
check for obsoleted interfaces
checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlcaller_register in -lltdl... no configure: error: libgphoto2 requires the ltdl library, included with libtool Please make sure that the proper development package is installed (libltdl-dev, libtool-ltdl-devel, etc.) error: Bad exit status from /var/tmp/libgphoto2-2.4.2-2.fc10.src.rpm/rpm-tmp.YYQzTj (%build)
lt_dlcaller_register is one of the deprecated APIs that have been removed from libltdl:
- lt_dlcaller_register
- lt_dlhandle_next
- lt_dlhandle_find
- lt_dlforeach
- lt_dlmutex_register
- lt_dlmutex_lock
- lt_dlmutex_unlock
- lt_dlmutex_seterror
- lt_dlmutex_geterror
- lt_dlmalloc
- lt_dlrealloc
- lt_dlfree
autoconf;(cd libgphoto2_port; autoconf)
old libtool files may/will cause problems
Many package sources ship their own copy of libtool. Mixing older (libtool-1.5) files with a current version 2.2 system libtool will lead to problems. One example is the freeradius package, building it with libtool-2.2.6a failed with the following error:
undefined reference to `lt__PROGRAM__LTX_preloaded_symbols' collect2: ld returned 1 exit status gmake[4]: Leaving directory `/builddir/build/BUILD/freeradius-server-2.1.1/src/main'The fix for this is easy, just add
--with-system-libtoolto the ./configure parameters