Re: [unixODBC][Driver Manager]Can't open lib ... Access is denied

[email protected]
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Wed, Jun 08, 2011 at 01:14:38PM -0700, Dave Dumaresq wrote:
> Hello, I'm not sure where to post this.
> 
> I am building unixodbc and freetds in cygwin. I have freetds  
> connecting to a MS-SQL server, as demonstrated with tsql. I've tried  
> this with both the stable version of freetds (0.82) and the RC (0.91).
> 
> When I try running isql, I get the error:
> 
> $ isql dsn_bccampus MyUid MyPWD -v
> 
> [01000][unixODBC][Driver Manager]Can't open lib '/usr/local/freetds/ 
> lib/libtdsodbc.a' : Access is denied.
> [ISQL]ERROR: Could not SQLConnect
> 
> odbcinst.ini
> [FreeTDS]
> Driver=/usr/local/freetds/lib/libtdsodbc.a

Is libtdsodbc.a a shared object?  What does file(1) say?  

HTH.  

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