<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Hi Tim (and other devs),</DIV><DIV>&nbsp;</DIV><DIV>I'm currently on vacation and&nbsp;don't have convenient access to my development machines right now, but I do have both SQL Anywhere and QGIS installed on Ubuntu and was able to compile without any conflicts.&nbsp; I'll send the relevant details of my setup next week.</DIV><DIV>&nbsp;</DIV><DIV>--Dave</DIV><DIV>&nbsp;</DIV><DIV>----<BR>David E. DeHaan<BR>Query Processing team<BR>Sybase iAnywhere<BR><DIV><BR></DIV><FONT color=#990099>-----&lt;qgis-developer-bounces@lists.osgeo.org&gt; wrote: -----<BR><BR></FONT><BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">To: qgis-developer &lt;qgis-developer@lists.osgeo.org&gt;<BR>From: Tim Sutton &lt;lists@linfiniti.com&gt;<BR>Sent by: &lt;qgis-developer-bounces@lists.osgeo.org&gt;<BR>Date: 12/28/2010 04:49PM<BR>Subject: [Qgis-developer] SQL Anywhere Library conflict<BR><BR><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">Hi Dave (and others interested in SQL Anywhere)<BR><BR>I cam across a problem with linking QGIS libs where I would get the<BR>following error messages:<BR><BR><BR>Linking CXX executable qgis<BR>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so:<BR>undefined reference to `SQLInstallDriverEx'<BR>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so:<BR>undefined reference to `SQLRemoveDriver'<BR>/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libgdal1.7.0.so:<BR>undefined reference to `SQLInstallerError'<BR>collect2: ld returned 1 exit status<BR>make[2]: *** [src/app/qgis] Error 1<BR>make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2<BR>make: *** [all] Error 2<BR><BR>After quite a bit of poking around I realised that there was probably<BR>a conflict introduced by my recent SQLAnywhere install.<BR><BR>I commented out the line I added to my ~/.bashrc for SQL Anywhere:<BR><BR># Added by Tim for sql anywhere support<BR>#source /opt/sqlanywhere12/bin64/sa_config.sh<BR><BR>And then started a new shell, after which the QGIS libs linked<BR>properly. I believe this is due the the libodbc shipped with SQL<BR>Anywhere conflicting with my system lib.<BR><BR>So with that background, is there any elegant way to deal with this? I<BR>guess the stock answer will be that typical users wont be compiling<BR>QGIS so probably won't run into this - though I don't know if there<BR>will be runtime issues introduced by this. Any thoughts? How do you<BR>have your compilation environment set up?<BR><BR>Regards<BR><BR><BR>-- <BR>Tim Sutton - QGIS Project Steering Committee Member (Release&nbsp; Manager)<BR>==============================================<BR>Please do not email me off-list with technical<BR>support questions. Using the lists will gain<BR>more exposure for your issues and the knowledge<BR>surrounding your issue will be shared with all.<BR><BR>Visit <A href="https://vpneast.sybase.com/,DanaInfo=linfiniti.com+" target=blank>http://linfiniti.com</A>&nbsp;to find out about:<BR>&nbsp;* QGIS programming and support services<BR>&nbsp;* Mapserver and PostGIS based hosting plans<BR>&nbsp;* FOSS Consulting Services<BR>Skype: timlinux<BR>Irc: timlinux on #qgis at freenode.net<BR>==============================================<BR>_______________________________________________<BR>Qgis-developer mailing list<BR>Qgis-developer@lists.osgeo.org<BR><A href="https://vpneast.sybase.com/mailman/listinfo/,DanaInfo=lists.osgeo.org+qgis-developer" target=blank>http://lists.osgeo.org/mailman/listinfo/qgis-developer</A><BR><BR></FONT></BLOCKQUOTE><BR></DIV></FONT>