Hi HL,

      I'm running a RedHat 8.0 too; I have mysql libraries
under

/usr/lib/mysql

and the include file under

/usr/include/mysql


I try to compile with this settings and I have no particular errors to report.

Try this settings and tell me the results.

        Best regards

                Andy

On 2003.01.23 16:39 HL Lau wrote:
Hi All,

I'm currently running the following setup and have hit a snag:

Stock Redhat 8.0
2.4.18-14 kernel

A snip of the error I get is:

You have selected MySQL as database
The library directory for MySQL is now [/usr/local/lib/mysql/].
Enter new directory or press RETURN to keep this setting:
/usr/local/mysql/lib
The include directory for MySQL is now [/usr/include/mysql/].
Enter new directory or press RETURN to keep this setting:

The libraries are currently set to [-lmysqlclient -lcrypto].
Enter new libraries (preceed each by -l) or press RETURN to keep this
setting:


Creating makefile..

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/local/mysql/lib -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/local/mysql/lib -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/local/mysql/lib -I/usr/include/mysql/ -lmysqlclient
-lcrypto
mysql/dbauthmysql.o: In function `auth_validate':
mysql/dbauthmysql.o(.text+0x134e): 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.

Can anyone give me a hint to what I'm doing wrong?

Thanks in advance.

HL

_______________________________________________
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