try replace this line in odbc.ijs

lib=. 'odbc32'

with

3 : 0''
if. IFUNIX do.
  lib=. '/usr/lib/libodbc.so'  NB. unixodbc
NB.   lib=. '/usr/lib/libiodbc.so'  NB. iodbc
else.
  lib=. 'odbc32'
end.
)

good luck.

[EMAIL PROTECTED] wrote:
Hello,

Tried searching the archives but don't seem to find a solution.
Basically having trouble loading 'dd'

    load 'dd'
    |domain error: cd
    |   z=.    sqlallochandle SQL_HANDLE_ENV;0;,0
       cderx''
    ┌─┬─────────────────────────────────────────────────────────────────┐
    │0│odbc32: cannot open shared object file: No such file or directory│
    └─┴─────────────────────────────────────────────────────────────────┘

I have verified that unixODBC works by using 'isql' connecting to the proper dbase and doing selects.
Env: SuSE 10.1

Rpm:
unixODBC-gui-gtk-2.2.11-22
unixODBC-2.2.11-19
MyODBC-unixODBC-3.51.12-11
mysql-client-5.0.18-16
mysql-5.0.18-16

J Version
j601 (untar and copied libj601.so to /usr/lib)

Any help would be appreciated

Regards

tee


------------------------------------------------------------------------

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to