Trying to upgrade to rpm 5.2 / popt 1.14, but:
checking for poptGetContext in -lpopt... no
checking whether to build with POPT library... no
This is because it misses a libtool dependency*:
# The name of the static archive.
old_library='libpopt.a'
# Libraries that this one depends upon.
dependency_libs=' /usr/lib/libiconv.la'
So it ends up with a missing symbol when linking:
/usr/bin/ld: Undefined symbols:
_libiconv
_libiconv_close
_libiconv_open
Is it possible to have RPM_CHECK_LIB use libtool,
when it is looking for such external libraries ?
--anders
* PS. this dependency is new for popt 1.14,
as popt 1.13 didn't depend on libiconv.
Received on Mon Apr 7 21:34:38 2008