<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just to cove the basics... do you have LIBPATH configured to cover this path as well?<div><br></div><div>V/</div><div><br><div><div>On 05 Jul 2011, at 11:02 AM, Rudolph van Graan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi there,<div><br></div><div>Does someone know the exact configuration (combination of compilers and packages) that is needed to get Erlang's ODBC driver running under Solaris?</div><div><br></div><div><span class="Apple-style-span" style="font-family: monospace; ">********************** APPLICATIONS DISABLED **********************</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">*********************************************************************</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">odbc : ODBC library - link check failed</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">*********************************************************************</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">checking for void *... yes</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">checking size of void *... 4</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">checking for odbc in standard locations... -L/usr/local/lib</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">checking for SQLAllocHandle in -lodbc... no</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">configure: WARNING: "ODBC library - link check failed"</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">configure: creating ./config.status</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">config.status: creating c_src/i386-pc-solaris2.10/Makefile</span><span class="Apple-style-span" style="font-family: monospace; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; ">The odbc driver is present (it is unixodbc 2.30 compiled with the same tool chain as Erlang):</span></div><div><span class="Apple-style-span" style="font-family: monospace; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; ">-rwxr-xr-x 1 root root 942 Jul 1 14:25 /usr/local/lib/libodbc.la<br>lrwxrwxrwx 1 root root 16 Jul 1 14:25 /usr/local/lib/libodbc.so -> libodbc.so.1.0.0<br>lrwxrwxrwx 1 root root 16 Jul 1 14:25 /usr/local/lib/libodbc.so.1 -> libodbc.so.1.0.0<br>-rwxr-xr-x 1 root root 1688300 Jul 1 14:25 /usr/local/lib/libodbc.so.1.0.0<br>-rwxr-xr-x 1 root root 954 Jul 1 14:25 /usr/local/lib/libodbccr.la<br>lrwxrwxrwx 1 root root 18 Jul 1 14:25 /usr/local/lib/libodbccr.so -> libodbccr.so.1.0.0<br>lrwxrwxrwx 1 root root 18 Jul 1 14:25 /usr/local/lib/libodbccr.so.1 -> libodbccr.so.1.0.0<br>-rwxr-xr-x 1 root root 682132 Jul 1 14:25 /usr/local/lib/libodbccr.so.1.0.0<br>-rwxr-xr-x 1 root root 966 Jul 1 14:25 /usr/local/lib/libodbcinst.la<br>lrwxrwxrwx 1 root root 20 Jul 1 14:25 /usr/local/lib/libodbcinst.so -> libodbcinst.so.1.0.0<br>lrwxrwxrwx 1 root root 20 Jul 1 14:25 /usr/local/lib/libodbcinst.so.1 -> libodbcinst.so.1.0.0<br>-rwxr-xr-x 1 root root 321176 Jul 1 14:25 /usr/local/lib/libodbcinst.so.1.0.0</span></div><div><span class="Apple-style-span" style="font-family: monospace; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; ">Any ideas?</span></div><div><span class="Apple-style-span" style="font-family: monospace; "><br></span></div><div><span class="Apple-style-span" style="font-family: monospace; ">Rudolph</span></div></div>_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br></div></body></html>