[freetds] libtdsodbc: cannot open shared object file
Roger Peña Escobio
orkcu at yahoo.com
Thu Mar 2 16:06:22 EST 2006
--- Yves Dorfsman <yves at zioup.com> wrote:
> Running on RedHat AS 3 update 6, with:
> freetds-0.62.1-1
> freetds-unixodbc-0.62.1-1
> and
> unixODBC-2.2.8-2.3.0.2
> unixODBC-kde-2.2.8-2.3.0.2
> unixODBC-2.2.8-2.3.0.2
>
> I am get the following error:
> isql -v MYDB ims_reader
> [01000][unixODBC][Driver Manager]Can't open lib
> '/usr/lib/libtdsodbc.so.0.0.0' :
> /usr/lib/libtdsodbc.so.0.0.0: cannot open
> shared object file: No such file or directory
> [ISQL]ERROR: Could not SQLConnect
>
> The file is there and does exist:
> ls -l /usr/lib/libtdsodbc.so.0.0.0
> -rwxr-xr-x 1 root root 272540 Jan 13
> 2004
> /usr/lib/libtdsodbc.so.0.0.0
>
> and ldd on it doesn't come up with any error. I have
> also tried with just
> libtdsodbc.so which is a link to the above one, but
> got the same results.
>
> I am able to connect to the database via tsql, but
> as soon as I use the
> freetds driver in odbc, I get this error message...
>
do you have something in /var/log/messages ?
rpm -V unixODBC
say something about wrond permission
I can't remenber if RHEL has SeLinux support
try ls --context libtdsodbc*
it should be the same context for any file in /usr/lib
cu
roger
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the FreeTDS
mailing list