rrthomas / recode

Charset converter tool and library
GNU General Public License v3.0
130 stars 12 forks source link

recode-3.7.1 BUILDSTDERR: libtool: error: 'html.lo' is not a valid libtool object #13

Closed tpgxyz closed 5 years ago

tpgxyz commented 5 years ago

Hi, i cant build recode on OpenMandriva Lx.

Full logs here http://file-store.openmandriva.org/api/v1/file_stores/d18b8a782db67b2b93c7ca101ecbd876ee80c32a.log?show=true

make[3]: Leaving directory '/builddir/build/BUILD/recode-3.7.1/src'
BUILDSTDERR: clang-7: warning: argument unused during compilation: '--rtlib=compiler-rt' [-Wunused-command-line-argument]
make[3]: Entering directory '/builddir/build/BUILD/recode-3.7.1/src'
/bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/clang  -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4  -fPIC  -D_REENTRANT -fPIC --rtlib=compiler-rt -D_REENTRANT -fPIC -version-info 0:0:0 -Os -gdwarf-4 -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4  -fPIC  -D_REENTRANT -fPIC --rtlib=compiler-rt -Wl,-O2  -Wl,--no-undefined   -o librecode.la -rpath /usr/lib64 charname.lo combine.lo fr-charname.lo iconv.lo names.lo outer.lo recode.lo request.lo strip-pool.lo task.lo african.lo afrtran.lo atarist.lo bangbang.lo cdcnos.lo ebcdic.lo ibmpc.lo iconqnx.lo lat1asci.lo lat1iso5426.lo lat1ansel.lo java.lo mule.lo strip-data.lo testdump.lo ucs.lo utf16.lo utf7.lo utf8.lo varia.lo vn.lo flat.lo html.lo lat1ltex.lo lat1btex.lo lat1txte.lo rfc1345.lo texinfo.lo base64.lo dump.lo endline.lo permut.lo quoted.lo      ../lib/libgnu.la libmerged.la 
make[3]: Leaving directory '/builddir/build/BUILD/recode-3.7.1/src'
BUILDSTDERR: libtool:   error: 'html.lo' is not a valid libtool object
BUILDSTDERR: make[3]: *** [Makefile:1664: librecode.la] Error 1
BUILDSTDERR: make[2]: *** [Makefile:2157: recode.1] Error 2
BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/builddir/build/BUILD/recode-3.7.1/src'
rrthomas commented 5 years ago

Sounds like you've not installed libtool. Search "is not a valid libtool object".

tpgxyz commented 5 years ago

@rrthomas thanks for the hint, indeed i did not have installed /usr/bin/libtool. Anyways, to get rid of people confuse, would be nice to have a check for libtool main script in recode's configure.ac

rrthomas commented 5 years ago

configure.ac does check for libtool. Not sure what went wrong with your build; it says:

checking if libtool supports shared libraries... yes