From Fedora Project Wiki

Fedora F11 update of libtool to version 2.2.x

Note.png
The following is a list of problems detected during a mass rebuild of all Fedora packages with libtool-2.2.6 and some hints how to solve those issues

Logfiles of failed package rebuilds

My homepage on fedorapeople.org has the logs of the failed package rebuilds.

example build failure and suggested fix No.1

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

Grep the sources for occurences of lt_dlcaller_register and see how it is used. As lt_dlcaller_register in this case is just used to detect the libltdl library, the check can be replaced by lt_dlinterface_register in libgphoto2_port/m4/gp-libltdl.m4 and m4m/gp-libltdl.m4. The configure files need to be updated afterwards:

 autoconf;(cd libgphoto2_port; autoconf)