delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/05/09:10:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
X-Received: by 10.182.185.37 with SMTP id ez5mr19132932obc.73.1362492604978; Tue, 05 Mar 2013 06:10:04 -0800 (PST)
In-Reply-To: <5134EFA4.3010505@symantec.com>
References: <5134EFA4 DOT 3010505 AT symantec DOT com>
Date: Tue, 5 Mar 2013 08:10:04 -0600
Message-ID: <CAHiT=DG8TLN7_nTRg_8_VHKbJm+PcyM0X3He7M=vKBea=gn27w@mail.gmail.com>
Subject: Re: Perl DBD::Oracle 'make test' fails: Oracle.dll permission denied
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
Cc: bob_mcgowan AT symantec DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Mar 4, 2013 at 1:01 PM, Bob McGowan  wrote:
> I have DBI 1.623 installed, and am attempting to install DBD::Oracle 1.27.
>
> I'm using Oracle instant client for Oracle 11.2, and I created my own
> oci.def file using 'pexports' and 'dlltool', as described in the header of
> the original oci.def file.
>
> The 'perl Makefile.PL' generates no errors.
>
> My 'make' creates Oracle.dll without any major issues (a few minor
> complaints about mismatched types in printf, pointer casts, ...).
>
> The 'make test' fails the first test:
>
>   Can't load ... Oracle.dll for module DBD::Oracle: Permission denied...

I'm not sure if the Dynaloader fails, or if the connection to the
oracle db fails with this error.

If it's the Dynaloader be sure that all dependencies can be loaded.
ldd blib/arch/Oracle/Oracle.dll will tell you that.

-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019