[unixODBC-support] [unixODBC][Driver Manager]Can't open lib ... Access is denied

eric.berg at barclayscapital.com eric.berg at barclayscapital.com
Thu Jun 9 18:33:07 BST 2011


Cywin, huh?  Windows?  I don't know a thing about it.  Good luck.....

> -----Original Message-----
> From: unixodbc-support-bounces at mailman.unixodbc.org [mailto:unixodbc-
> support-bounces at mailman.unixodbc.org] On Behalf Of Dave Dumaresq
> Sent: Thursday, June 09, 2011 1:32 PM
> To: Support for the unixODBC project
> Subject: Re: [unixODBC-support] [unixODBC][Driver Manager]Can't open lib
> ... Access is denied
> 
> Thanks. I suspect the issue is that my driver is not a shared object.
> I'm looking into what steps I need to take under cygwin to create
> shared objects.
> 
> Dave
> 
> On 9-Jun-11, at 8:59 AM, <eric.berg at barclayscapital.com> wrote:
> 
> > Hmmm...well, at this point, I usually run strace to see what files
> > are being accessed.  That can help.
> >
> > strace -eopen /path/to/correct/perl/binary/perl my_script
> >
> > and you'll see lots of "open"s and a whole bunch of "not found"
> > which might help you out.
> >
> > Give that a try and see how that goes.
> >
> > If you're on Linux, it's strace, and on Solaris it's truss.
> >
> > Eric
> >
> >> -----Original Message-----
> >> From: unixodbc-support-bounces at mailman.unixodbc.org [mailto:unixodbc-
> >> support-bounces at mailman.unixodbc.org] On Behalf Of Dave Dumaresq
> >> Sent: Thursday, June 09, 2011 11:57 AM
> >> To: Support for the unixODBC project
> >> Subject: Re: [unixODBC-support] [unixODBC][Driver Manager]Can't
> >> open lib
> >> ... Access is denied
> >>
> >> Thanks for your reply, Eric. I have retyped that line, but still get
> >> the same error. I'm the only one executing the command and I have
> >> superuser rights, so I tend to think the message Access Denied is
> >> secondary to not finding the library.
> >>
> >> Dave
> >>
> >> On 8-Jun-11, at 1:48 PM, <eric.berg at barclayscapital.com> wrote:
> >>
> >>>> From the error message you sent, it looks like you've got some kind
> >>>> of additional characters in the Driver line in odbcinst.ini.
> >>>
> >>> I recommend that you retype that in...I have definitely run into
> >>> this when my pasting into a file picked up some extraneous
> >>> characters.
> >>>
> >>> Alternatively, if those spaces aren't actually there, you might make
> >>> sure that the user that's executing the command has read access to
> >>> your odbcinst.ini.
> >>>
> >>> Eric
> >>
> >> --
> >> Dave Dumaresq
> >> Technical Analyst - BCcampus
> >> 200 - 555 Seymour St, Vancouver BC
> >> Phone: 604-412-7738
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> unixODBC-support mailing list
> >> unixODBC-support at mailman.unixodbc.org
> >> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
> > _______________________________________________
> >
> > This e-mail may contain information that is confidential, privileged
> > or otherwise protected from disclosure. If you are not an intended
> > recipient of this e-mail, do not duplicate or redistribute it by any
> > means. Please delete it and any attachments and notify the sender
> > that you have received it in error. Unless specifically indicated,
> > this e-mail is not an offer to buy or sell or a solicitation to buy
> > or sell any securities, investment products or other financial
> > product or service, an official confirmation of any transaction, or
> > an official statement of Barclays. Any views or opinions presented
> > are solely those of the author and do not necessarily represent
> > those of Barclays. This e-mail is subject to terms available at the
> > following link: www.barcap.com/emaildisclaimer. By messaging with
> > Barclays you consent to the foregoing.  Barclays Capital is the
> > investment banking division of Barclays Bank PLC, a company
> > registered in England (number 1026167) with its registered offi!
> >
> > ce at 1 Churchill Place, London, E14 5HP.  This email may relate to
> > or be sent from other members of the Barclays Group.
> > _______________________________________________
> > _______________________________________________
> > unixODBC-support mailing list
> > unixODBC-support at mailman.unixodbc.org
> > http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
> 
> --
> Dave Dumaresq
> Technical Analyst - BCcampus
> 200 - 555 Seymour St, Vancouver BC
> Phone: 604-412-7738
> 
> 
> 
> 
> 
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support


More information about the unixODBC-support mailing list