[unixODBC][Driver Manager] Can't open lib '/usr/local/lib/libtdsodbc.so' : file not found (SQL-01000)

Perl_to_SQL_Server <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi,

I've got a:
 
[unixODBC][Driver Manager] Can't open lib '/usr/local/lib/libtdsodbc.so' : file 
not found (SQL-01000)
 
on executing a Perl script (that works without any problem on a TEST 
environement) even though the file is present:
 
lrwxrwxrwx    1 root     root           19  Nov 14 
17:02 /usr/local/lib/libtdsodbc.so -> libtdsodbc.so.0.0.0
-rwxr-xr-x    1 root     root       777051 Nov 16 
16:41 /usr/local/lib/libtdsodbc.so.0.0.0
 
Some hints:
 
1) freeTDS   successfully installed and tsql responsive (executes "SELECT * 
FROM customer WHERE customer = ..."  )
2) unixODBC successfully installed and isql  responsive (executes "SELECT * 
FROM customer WHERE customer = ..."  )
3) DBD-ODBC installed but with a number of failed tests and warning of older 
versions:
Warning: prerequisite DBI 1.609 not found. We have 1.59.
Warning: prerequisite Test::Simple 0.9 not found. We have 0.62.
However, with the same, slightly older DBI version DBD-ODBC is working on our 
TEST environment, so:
4)  DBD-ODBC installed and responsive (executes "SELECT * FROM customer WHERE 
customer = ..."  ) on TEST environement same than PROD, same DBI 1.59..
 
Any clues appreciated. Thanks in advance..
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.