Dang!  I must have tried every letter except 'z'! <g>

But the 'crypt' is still a mystery.
mysql/dbauthmysql.o(.text+0x1334): undefined reference to `crypt'

Later: no it's not -- I added -lcrypt.  -lcrypto don't get it.

Thanks,
TEd

On Wed, 23 Apr 2003, Aaron Stone wrote:

> Add -lz to that link line, and I think that will take care of it!
>
> Aaron
>
>
> On Wed, 23 Apr 2003, Ted Rolle wrote:
>
> >
> > I'm compiling dbmail on a SuSE 7.2 system.  Here are the messages:
> >
> > 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
> > -L/usr/local/lib -L/usr/lib -I/usr/local/mysql/include -lmysqlclient
> > -lcrypto
> >
> > mysql/dbauthmysql.o: In function `auth_validate':
> > mysql/dbauthmysql.o(.text+0x1334): 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
> >
> > Any help?
> >
> > Ted
> > _______________________________________________
> > Dbmail mailing list
> > [email protected]
> > https://mailman.fastxs.nl/mailman/listinfo/dbmail
> >
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to