Skip to Content.
Sympa Menu

freetds - Re: [freetds] libtdsodbc: cannot open shared object file

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Roger "Pe�a" Escobio <orkcu AT yahoo.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] libtdsodbc: cannot open shared object file
  • Date: Thu, 2 Mar 2006 13:06:22 -0800 (PST)



--- 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




Archive powered by MHonArc 2.6.24.

Top of Page