Hi shon,
        probably the compiler didn't found crypto libraries;
where are them?

try

find / -name "*crypto*" -print



-L/usr/lib/mysql/-I/usr/include/mysql/ -lmysqlclient -lcrypto


        Best regards

                Andy

On 2003.01.31 05:08 shon wrote:
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: dbmail@dbmail.org
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
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail



----------------------------------
Trouble with Windows? Reboot!
Trouble with Unix?    Be root!
----------------------------------
Andrea Sisti
SAD System Administrator
SAD Trasporto Locale S.p.A.
Corso Italia 13/N
39100 Bolzano/Bozen BZ
E-Mail: $m
----------------------------------

Reply via email to