[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:



http://coding.derkeiler.com/Archive/PHP/comp.lang.php/2005-12/msg01859.html



and ...



http://coding.derkeiler.com/Archive/PHP/comp.lang.php/2005-12/msg01866.html



Greg





-----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

installing.



The error is;



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

/export/home/my/tmp-201004061343-5.1.46-24340/rpm/BUILD/mysql-5.1.46/zlib/zutil.c:304:

multiple definition of `zcalloc'

/usr/lib/mysql/libmysqlclient.a(zutil.o)(.text+0x41):/export/home/my/tmp-201004061343-5.1.46-24340/rpm/BUILD/mysql-5.1.46/zlib/zutil.c:304:

first defined here

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

/export/home/my/tmp-201004061343-5.1.46-24340/rpm/BUILD/mysql-5.1.46/zlib/zutil.c:313:

multiple definition of `zcfree'

/usr/lib/mysql/libmysqlclient.a(zutil.o)(.text+0x68):/export/home/my/tmp-201004061343-5.1.46-24340/rpm/BUILD/mysql-5.1.46/zlib/zutil.c:313:

first defined here

collect2: ld returned 1 exit status

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

make[2]: Leaving directory

`/root/Desktop/instxalapa/fdo/OpenSource_FDO/Providers/GenericRdbms/Src'

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

make[1]: Leaving directory

`/root/Desktop/instxalapa/fdo/OpenSource_FDO/Providers/GenericRdbms/Src'

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.



Rafael



--

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

http://lists.osgeo.org/mailman/listinfo/fdo-users
-------------- 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