[tpop3d-discuss] --enable-mysql-auth configure failure.
Chris Lightfoot
chris at ex-parrot.com
Thu, 28 Jun 2001 11:43:47 +0100
On Thu, Jun 28, 2001 at 03:43:45AM -0600, Colin wrote:
> would you like any compiler flags?
just the ones given -- should be
gcc -O2 -I/usr/include/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lpam -ldl test.c
> In the tpop3d-1.3.3 directory I tried:
>
> # gcc test.c
> /tmp/ccNken5r.o: In function `main':
> /tmp/ccNken5r.o(.text+0x7): undefined reference to `mysql_init'
> collect2: ld returned 1 exit status
Was this with no flags at all? If so, that's the expected
behaviour. If you did have flags indicating to link with
libmysqlclient, then there's something more serious wrong.
--
Chris Lightfoot -- www.ex-parrot.com/~chris/
``The reason that the sun never set on the British Empire
is that God wouldn't trust an Englishman in the dark.'' (Duncan Spaeth)