Re: Problems with odbc-connection to informix-database

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
On 20/07/11 10:36, Michael Blum wrote:
> Hello!
>
> I am trying to establish an ODBC connection from a Debian squeeze 32 
> Bit machine to an Informix-Database on a Windows 2003 Server. I've 
> downloaded and installed the IBM Informix Client Software Development 
> Kit (http://www-01.ibm.com/software/data/informix/developer-edition/) 
> I also installed unixodbc via aptitude.
>
> Then I followed this Manual step by step:
> http://www.unixodbc.org/doc/informix.html
>
> When I try to establish a connection it says error:
>
> root@debian-testwebserver:~# isql sospos
> [ISQL]ERROR: Could not SQLConnect
>
> (sospos = database-name)
>
>
> The log says:
> [ODBC][5737][1311152787.710027][SQLConnect.c][1063]Can't open lib 
> '/opt/IBM/informix/lib/cli/libifcli.so' : file not found
>
> But the file is there!!

Most likely that there is a lib that lib needs thats not found, either 
not there or not on the lib search path

Try

ldd /opt/IBM/informix/lib/cli/libifcli.so

And see what it shows.

If you do

isql -v DSN

it will display any errors on the output.

-- 
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.