configure.ac:58: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE
Closed this issue · 2 comments
rhclayto commented
When running autogen.sh, I get:
autoreconf: running: /usr/bin/autoconf --warnings=all,error
configure.ac:58: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Ubuntu 20.04, with the following packages installed:
cmake autoconf-archive build-essential libtool automake autoconf pkg-config
Commenting out the following allowed it to complete (no idea if this will break anything):
# The test scripts need to know whether C global symbols have a
# leading underscore.
#LT_SYS_SYMBOL_USCORE
#if test x$sys_symbol_underscore = xno; then
# SYMBOL_PREFIX=
#else
# SYMBOL_PREFIX=_
#fi
#AC_SUBST([SYMBOL_PREFIX])
rfc1036 commented
apt install libltdl-dev
Also, if you want to work on libxcrypt on Debian/Ubuntu you should really start from the Debian package.
rhclayto commented
Thank you, that worked. I also didn't know about the package, thanks for the heads up.