Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Dave Dumaresq <ddumaresq AT bccampus.ca>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [unixODBC][Driver Manager]Can't open lib ... Access is denied
  • Date: Thu, 9 Jun 2011 13:44:26 -0700

Igor, thanks. I see there is an --enable-shared option. I'll give that a try. I've noticed there are cygwin ports of freetds-0.82 but they seem to be built with support or iodbc. I've been building for unixodbc. If this --enable-shared doesn't give me a valid driver library to use with unixodbc, I will try building iodbc and using that with the port of freetds.
I wish I understood this better... maybe my wish is being answered.

Dave

On 9-Jun-11, at 1:03 PM, Igor Korot wrote:

Dave,
I think there should be a configure option. SOmething like
"--disable-shared" or --enable-static".

"./configure --help" is your friend.

Thank you.

On Thu, Jun 9, 2011 at 11:03 AM, Dave Dumaresq <ddumaresq AT bccampus.ca> wrote:
Thanks for the background; I see not having shared object libraries
could be my trouble, so I'm looking at how to compile and link just
the src/odbc code into the libtdsodbc dll. I don't see the source for
libtdsodbc though, which makes me think this isn't possible, or my
understanding of the problem is incorrect.

Perhaps, my whole approach is wrong.

I've set out to build openLDAP with back-sql support (requiring odbc
to connect to a MS-SQL server) in a cygwin env, because I've done this
in an ubuntu env with relatively little pain, and running openLDAP on
a windows server is our preferred platform.

Has anyone done this before?

Thanks,
Dave

On 9-Jun-11, at 10:13 AM, jklowden AT schemamania.org wrote:


http://cygwin.com/ml/cygwin/2004-11/msg00124.html

Apparently shared libraries are named .DLL in cygwin. The .a files
on my system
are static libraries, e.g.:

$ file /usr/lib/libticw.*
/usr/lib/libticw.a: current ar archive
/usr/lib/libticw.dll.a: current ar archive
/usr/lib/libticw.la: libtool library file

--
Dave Dumaresq
Technical Analyst - BCcampus
200 - 555 Seymour St, Vancouver BC
Phone: 604-412-7738





_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

--
Dave Dumaresq
Technical Analyst - BCcampus
200 - 555 Seymour St, Vancouver BC
Phone: 604-412-7738









Archive powered by MHonArc 2.6.24.

Top of Page