Bug#553946: FTBFS with binutils-gold
Package: apache2
Version: 2.2.14-1
Severity: normal
Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.
/usr/share/apr-1.0/build/libtool --silent --mode=link x86_64-linux-gnu-gcc -pthread -g -O2 -g -pipe -I/usr/include/xmltok -
I/usr/include/openssl -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -Wl,--as-needed -Wl,-
z,relro -o htpasswd htpasswd.lo -lm -L/usr/lib -lpcre /usr/lib/libaprutil-1.la -ldb /usr/lib/libapr-1.la
/usr/bin/ld: htpasswd.o: in function main:/home/peter/rebuild/build/apache2/apache2-2.2.14/support/htpasswd.c:213: error:
undefined reference to 'crypt'
collect2: ld returned 1 exit status
make[3]: *** [htpasswd] Error 1
Reply to: