[erlang-questions] ODBC driver under Solaris 10

Rudolph van Graan rvg.mailing@REDACTED
Tue Jul 5 11:02:02 CEST 2011


Hi there,

Does someone know the exact configuration (combination of compilers and packages) that is needed to get Erlang's ODBC driver running under Solaris?

**********************  APPLICATIONS DISABLED  **********************
*********************************************************************

odbc           : ODBC library - link check failed

*********************************************************************

checking for void *... yes
checking size of void *... 4
checking for odbc in standard locations... -L/usr/local/lib
checking for SQLAllocHandle in -lodbc... no
configure: WARNING: "ODBC library - link check failed"
configure: creating ./config.status
config.status: creating c_src/i386-pc-solaris2.10/Makefile

The odbc driver is present (it is unixodbc 2.30 compiled with the same tool chain as Erlang):

-rwxr-xr-x   1 root     root         942 Jul  1 14:25 /usr/local/lib/libodbc.la
lrwxrwxrwx   1 root     root          16 Jul  1 14:25 /usr/local/lib/libodbc.so -> libodbc.so.1.0.0
lrwxrwxrwx   1 root     root          16 Jul  1 14:25 /usr/local/lib/libodbc.so.1 -> libodbc.so.1.0.0
-rwxr-xr-x   1 root     root     1688300 Jul  1 14:25 /usr/local/lib/libodbc.so.1.0.0
-rwxr-xr-x   1 root     root         954 Jul  1 14:25 /usr/local/lib/libodbccr.la
lrwxrwxrwx   1 root     root          18 Jul  1 14:25 /usr/local/lib/libodbccr.so -> libodbccr.so.1.0.0
lrwxrwxrwx   1 root     root          18 Jul  1 14:25 /usr/local/lib/libodbccr.so.1 -> libodbccr.so.1.0.0
-rwxr-xr-x   1 root     root      682132 Jul  1 14:25 /usr/local/lib/libodbccr.so.1.0.0
-rwxr-xr-x   1 root     root         966 Jul  1 14:25 /usr/local/lib/libodbcinst.la
lrwxrwxrwx   1 root     root          20 Jul  1 14:25 /usr/local/lib/libodbcinst.so -> libodbcinst.so.1.0.0
lrwxrwxrwx   1 root     root          20 Jul  1 14:25 /usr/local/lib/libodbcinst.so.1 -> libodbcinst.so.1.0.0
-rwxr-xr-x   1 root     root      321176 Jul  1 14:25 /usr/local/lib/libodbcinst.so.1.0.0

Any ideas?

Rudolph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110705/bd70e0ae/attachment.htm>


More information about the erlang-questions mailing list