I don't think it is generally possible to build a static version of extract
given that the code makes extensive use of plugins (dlsym/dlopen). I've
certainly never tried myself and I'm not aware of anyone who did manage.
Am Wednesday 05 August 2009 11:49:19 schrieb Vincent MAUGE:
> I need a static version of extract for a project. I tried various
> configuration lines like
> "CPPFLAGS=-static LDFLAGS=-static CFLAGS=-static
> ac_cv_lib_rpm_rpmReadPackageFile=no ./configure --disable-rpath
> --enable-static --disable-share --disable-exiv2 --with-pic"
> but the result is never a static binary as I need.
> $file /src/main/extract
> src/main/extract: ELF 32-bit LSB executable, Intel 80386, version 1
> (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15,
> not stripped
> How can I compile extract to get a static version ?
> Thanks in advance,
> libextractor mailing list
> libextractor@gnu.... > http://lists.gnu.org/mailman/listinfo/libextractor