[fdo-users] Problem building FDO 3.3 with MySQL/ODBC on CentOS 5

Gavin Cramer gavin.cramer at autodesk.com
Thu Mar 13 21:33:13 EDT 2008

Hello, Andy.  What version of unixodbc is installed?


From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Andy Morsell
Sent: Thursday, March 13, 2008 7:27 PM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] Problem building FDO 3.3 with MySQL/ODBC on CentOS 5

I'm trying to build FDO 3.3 on CentOS 5.  I have been able to build with the core providers without MySQL / ODBC support, but when I attempt to build with that provider, it fails.  It fails in the same place when using the FDO build_linux script with the --w rdbms switch, or when using the build_linux script separately from the GenericRdbms directory.  It does not fail if running the FDO build_linux script with all default settings, but the FDO ODBC files are never created.  I do have the MySQL client and developer libraries installed and correctly referenced via the FDOMYSQL environment variable.  I also have the unixodbc libraries installed.  Below is the last few lines of the build.  Any insight on where to go next would be appreciated.  Thank you.

../Rdbi/.libs/librdbi.a ../Util/.libs/libutil.a /usr/lib/libodbc.so -ldl -lpthread -lz  -Wl,--rpath -Wl,/usr/local/fdo-3.3.0/lib

../ODBC/.libs/libFdoRdbmsODBC.a(FdoRdbmsOdbcConnection.o): In function `FdoRdbmsOdbcConnection::GetSchemaNameFromDsn()':

FdoRdbmsOdbcConnection.cpp:(.text+0x1c8f): undefined reference to `SQLGetPrivateProfileString'
collect2: ld returned 1 exit status
make[3]: *** [UnitTestOdbc] Error 1
make[3]: Leaving directory `/Software/FDO/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Software/FDO/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Software/FDO/OpenSource_FDO/Providers/GenericRdbms/Src'
make: *** [all-recursive] Error 1

Andy Morsell, P.E.
Spatial Integrators, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20080313/edc8ef21/attachment-0001.html

More information about the fdo-users mailing list