[Cuis-dev] ODBC support
Mark Volkmann
r.mark.volkmann at gmail.com
Mon Sep 23 12:07:41 PDT 2024
I'm learning how to access databases from Cuis Smalltalk.
Here's what I've done so far:
- Clone the Git repository at
https://github.com/Cuis-Smalltalk/DatabaseSupport.
- Open a "File List" window.
- Navigate to the "DatabaseSupport" directory.
- Select the file `ODBC_pck.st`.
- Click the "install package" button.
- Try the sample code in the class method dsn:user:password:query: of the
ODBCConnection class in the ODBC class category.
This line gives an error:
conn := ODBCConnection dsn: dsn user: user password: password.
The error is "External module not found".
I'm running in macOS.
I suspect it is trying to find the file /usr/local/lib/libodbc.dylib or
libodc.2.dylib.
Those files exist on my machine.
Do I need to do something to let Cuis know where to find those files?
--
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240923/1880f9a8/attachment.htm>
More information about the Cuis-dev
mailing list