the default library settings don't work for you obviously; try running
build.sh and change the library settings to use cryptlib and zlib:
The libraries are currently set to [-lmysqlclient -lcrypto].
Enter new libraries (preceed each by -l) or press RETURN to keep this
setting:
-lmysqlclient -lcrypt -lz
hope this solves your problem!
regards roel
shon heeft op vrijdag, 31 jan 2003 om 05:08 (Europe/Amsterdam) het
volgende geschreven:
i am trying to compile 1.0 and am running into a problem. i am running
rh7.2, gcc2.96, mysql3.23.54. this is what happens when i run build.sh
Done. You can now make dbmail by running 'make clean all'.
Do you want this to be executed right now?
y
rm -f *.o core mysql/*.o
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o list.o list.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o debug.o debug.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o pipe.o pipe.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o mime.o mime.c
cc -o mysql/dbmysql.o -c mysql/dbmysql.c -L/usr/lib/mysql/
-I/usr/include/mysql/
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o dbmd5.o dbmd5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o md5.o md5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o bounce.o bounce.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o forward.o forward.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o memblock.o memblock.c
cc -o mysql/dbauthmysql.o -c mysql/dbauthmysql.c -L/usr/lib/mysql/
-I/usr/include/mysql/
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o config.o config.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE 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 -L/usr/lib/mysql/
-I/usr/include/mysql/ -lmysqlclient -lcrypto
mysql/dbauthmysql.o: In function `auth_validate':
mysql/dbauthmysql.o(.text+0x137a): undefined reference to `crypt'
/usr/lib/mysql//libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0xaa): undefined reference to `uncompress'
/usr/lib/mysql//libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x13c): undefined reference to `compress'
collect2: ld returned 1 exit status
make: *** [smtp] Error 1
Sorry, Make failed.
Please report any problems to the mailing list: [email protected]
You can find more information (including how to subscribe to the
mailinglist) on www.dbmail.org
any suggestions?
--
"power off einstein" - moe syzlak
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
Met vriendelijke groet,
Roel Rozendaal
_________________________
R.A. Rozendaal
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305
www.ic-s.nl