[fdo-users] RE: Mysql provider can not be built

Greg Boone greg.boone at autodesk.com
Mon May 3 16:21:21 EDT 2010

I did a bit of googling and it seems that would are picking up multiple versions of libz. I would think that if you had only installed the developer components, libz would not be picked up from the MySQL directory. Are you building MySQL yourself? If so, you may want to adjust your MySQL compilation flags.

Refer to:


and ...



-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of swap
Sent: Monday, May 03, 2010 2:31 PM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] RE: Mysql provider can not be built

Greg, thanks a lot for answering, I have run as root the export command for

enviroment as follow:

export FDO=/root/Desktop/instxalapa/fdo/OpenSource_FDO/Fdo

export FDOUTILITIES=/root/Desktop/instxalapa/fdo/OpenSource_FDO/Utilities

export FDOTHIRDPARTY=/root/Desktop/instxalapa/fdo/OpenSource_FDO/Thirdparty

export FDOGDAL=/root/Desktop/instxalapa/fdo/OpenSource_FDO/Thirdparty/gdal

export FDOMYSQL=/var/lib/mysql

About FDO version, I just tried  with 3.3.x due mgos requires 3.3.x for


The error is;

/usr/lib/mysql/libz.a(zutil.o)(.text+0x41): In function `zcalloc':


multiple definition of `zcalloc'


first defined here

/usr/lib/mysql/libz.a(zutil.o)(.text+0x68): In function `zcfree':


multiple definition of `zcfree'


first defined here

collect2: ld returned 1 exit status

make[2]: *** [libFdoMySQL.la] Error 1

make[2]: Leaving directory


make[1]: *** [install-recursive] Error 1

make[1]: Leaving directory


make: *** [install-recursive] Error 1

I expect this information cuould be enough for you, if you need some else

please let me know.

Thank you in advance.



View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mysql-provider-can-not-be-built-tp4991252p4999363.html

Sent from the FDO Users mailing list archive at Nabble.com.


fdo-users mailing list

fdo-users at lists.osgeo.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20100503/26ce7a84/attachment.html

More information about the fdo-users mailing list