Hello,

  Try the default libraries, which I believe are
-lcrypto -lmysqlclient -lz  (specify the location to
any of them if needed), or try using the configure script,
ie. "./configure --with-mysql".



---- Original Message ----
From: max <[email protected]>
To: [email protected]
Subject: [Dbmail] Error regarding the -lcrypto argument
Sent: Sun, 29 Jun 2003 21:16:04 -0400

> Dear DBmail developers,
> 
> I've been trying to install DBMail on to my computer.  Here's a short 
> summary of what my system consists of:
> 
> P200 running Slackware Linux 8.0
> Has Apache, PHP, MySQL and XMail running.
> 
> while trying to run build.sh and filling in the proper locations to my 
> files, the library part with -lcrypto striked me as odd so I discarded 
> it at the time.  I encountered an error similar to below and retried 
> build.sh and filling in only -lmysqlclient only for the library 
> argument.  I got the error as placed below.
> 
> I looked in the mailing list archives and didn't seem to find anything 
> similar so I'm hoping you people have some insight to my little problem.
> 
> What is crypto and must I install it to have Dbmail running?
> 
> BTW, I'm also following instructions from the following address on 
> installing dbmail  http://www.gina.net/solution/dbmail_install.html and 
> got to the part where I needed to run ./build.sh
> 
> Thanks in advance
> 
> Max
> 
> 
> The error message I keep refering to is here:
> 
> ====================================================
> 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/local/mysql/lib/ 
> -I/usr/local/mysql/include/
> 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/local/mysql/lib/ 
> -I/usr/local/mysql/include/
> 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/local/mysql/lib/ -I/usr/local/mysql/include/ -lmysqlclient
> mysql/dbauthmysql.o: In function `auth_validate':
> mysql/dbauthmysql.o(.text+0x12a4): undefined reference to `crypt'
> /usr/local/mysql/lib//libmysqlclient.a(my_compress.o): In function 
> `my_compress_alloc':
> my_compress.o(.text+0xb4): undefined reference to `compress'
> /usr/local/mysql/lib//libmysqlclient.a(my_compress.o): In function 
> `my_uncompress':
> my_compress.o(.text+0x12a): undefined reference to `uncompress'
> 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
> 
> 
> 
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
-- End Original Message --


--
Jesse Norell
jesse (at) kci.net


Reply via email to