[GRASS5] configure mysql

Glynn Clements glynn.clements at virgin.net
Thu Jan 16 22:11:08 EST 2003


Radim Blazek wrote:

> > Examine config.log to find out exactly why the check failed.
> >
> > The most common reason for a library check failing is that the library
> > (in this case, libmysqlclient) requires symbols from some other
> > library, but that library isn't being included in the link command.

> my_compress.o(.text+0xb4): undefined reference to `compress'
> my_compress.o(.text+0x12a): undefined reference to `uncompress'

> Do I need -lz for linker?

Yes.

> But where shoud be added in configure.in, currently
> LOC_CHECK_LIBS(mysqlclient,mysql_query,MySQL,$MYSQLLIBPATH,MYSQLLIB,,,)

LOC_CHECK_LIBS(mysqlclient,mysql_query,MySQL,$MYSQLLIBPATH,MYSQLLIB,,,,$ZLIB)

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list