<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<title>Problem building FDO 3.3 with MySQL/ODBC on CentOS 5</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-CA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hello, Andy.&nbsp; What version of unixodbc is installed?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Gavin<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> fdo-users-bounces@lists.osgeo.org
[mailto:fdo-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Andy Morsell<br>
<b>Sent:</b> Thursday, March 13, 2008 7:27 PM<br>
<b>To:</b> fdo-users@lists.osgeo.org<br>
<b>Subject:</b> [fdo-users] Problem building FDO 3.3 with MySQL/ODBC on CentOS
5<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I'm trying
to build FDO 3.3 on CentOS 5.&nbsp; 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.&nbsp; 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.&nbsp; It does not fail if
running the FDO build_linux script with all default settings, but the FDO ODBC
files are never created.&nbsp; I do have the MySQL client and developer libraries
installed and correctly referenced via the FDOMYSQL environment variable.&nbsp;
I also have the unixodbc libraries installed.&nbsp; Below is the last few lines
of the build.&nbsp; Any insight on where to go next would be appreciated.&nbsp;
Thank you.</span><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>../Rdbi/.libs/librdbi.a
../Util/.libs/libutil.a /usr/lib/libodbc.so -ldl -lpthread -lz&nbsp;
-Wl,--rpath -Wl,/usr/local/fdo-3.3.0/lib</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>../ODBC/.libs/libFdoRdbmsODBC.a(FdoRdbmsOdbcConnection.o):
In function `FdoRdbmsOdbcConnection::GetSchemaNameFromDsn()':</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>FdoRdbmsOdbcConnection.cpp:(.text+0x1c8f):
undefined reference to `SQLGetPrivateProfileString'</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>collect2: ld
returned 1 exit status</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>make[3]: ***
[UnitTestOdbc] Error 1</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>make[3]:
Leaving directory `/Software/FDO/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest'</span>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>make[2]: ***
[all-recursive] Error 1</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>make[2]:
Leaving directory
`/Software/FDO/OpenSource_FDO/Providers/GenericRdbms/Src/UnitTest'</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>make[1]: ***
[all-recursive] Error 1</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>make[1]:
Leaving directory `/Software/FDO/OpenSource_FDO/Providers/GenericRdbms/Src'</span>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>make: ***
[all-recursive] Error 1</span> <o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Tahoma","sans-serif"'>Andy
Morsell, P.E.</span> <br>
<span style='font-size:7.5pt;font-family:"Tahoma","sans-serif"'>Spatial
Integrators, Inc.</span> <br>
<a href="http://www.SpatialGIS.com"><span style='font-size:7.5pt;font-family:
"Tahoma","sans-serif"'>http://www.SpatialGIS.com</span></a> <o:p></o:p></p>

</div>

</body>

</html>