I´m programing an agent, this agent write in a database in Postgres in a pc linux CentOs 4.0,the domino server is install in this pc, the agent use the library Uselsx “*LSXODBC” because i am using an odbc for accesing to the database, the agent run very good in a notes client under windows, but when i programing a schelude in the domino server give me an error when the agent run, can´t chage the library “*LSXODBC”, how can i solve this problem please…
Subject: Problem with library Uselsx “*LSXODBC” in linux
I never tried it myself, but it looks like it should work when configured properly… at least on some Linux versions.
Take a look at these articles and search in this forum and on Google for “lsxodbc linux”.
Subject: Problem with library Uselsx “*LSXODBC” in linux
ODBC does not run under Linux. You can use JDBC instead.
Subject: Problem with library Uselsx “*LSXODBC” in linux
From the command line, try “locate lsxodbc” and check that the lsxodbc library is installed. We have two lsxodbc files…
/opt/lotus/notes/65040/linux/liblsxodbc.so
/opt/lotus/notes/65040/linux/res/C/lsxodbc.res
The location of these might vary depending on your version, and install location, but I guess they should be there somewhere!
You also probably need to set up the odbc.ini file, which is normally in the /etc/ directory. This is where you can set up the host name, access type etc., that you are using in your agent.
Hope this helps a bit,
Craig.
Subject: RE: Problem with library Uselsx “*LSXODBC” in linux
I had this error and got it solved after following the guidelines in the redbook 246835 Lotus Domino 6 for Linux:
$ cd /opt/lotus/notes/latest/linux
or wherever path your lotus domino is installed
$ ln -s /usr/lib/libodbc.so
Of course you must have already installed unixODBC and completed setup the odbcinst.ini and odbc.ini