Scott Johnson wrote:
Hi Everyone,I have a little problem trying to install DBmail 1.2.7b on a RedHat Enterpris 3 server(2.4.21-15.ELsmp). I got the following error when I tried to compile it: cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_ENDIAN_H -DHAVE_CRYPT_H main.c -o dbmail-smtp list.o debug.o pipe.o mime.o mysql/dbmysql.o dbmd5.o md5.o bounce.o forward.o memblock.o mysql/dbauthmysql.o config.o misc.o -L/usr/local/mysql/lib/ -I/usr/local/mysql/include/ -I. -lmysqlclient -lz mysql/dbauthmysql.o(.text+0x13ae): In function `auth_validate': : undefined reference to `crypt' mysql/dbauthmysql.o(.text+0x149e): In function `auth_validate': : undefined reference to `crypt' collect2: ld returned 1 exit status make: *** [smtp] Error 1 I also tried adding the "-lcrypt", but I got the same results. Thanks for any help, Scotty.
Odd. When running configure run LDFLAGS="-lcrypt" ./configure --with-mysql Dan Weber
_______________________________________________ Dbmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
signature.asc
Description: OpenPGP digital signature
