Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 Message-ID: <3D5A50C7.8070901@teleco.upv.es> Date: Wed, 14 Aug 2002 14:44:55 +0200 From: =?ISO-8859-1?Q?Lucio_Pe=F1a?= <lupegar AT teleco DOT upv DOT es> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020618 Netscape/7.0b1 X-Accept-Language: es, en-us, en MIME-Version: 1.0 To: cygwin <cygwin AT cygwin DOT com> Subject: Re: DBD::Oracle won't build under Cygwin Perl + more ... References: <cc5a5c983b DOT c983bcc5a5 AT amena DOT com> <420027768 DOT 20020813155133 AT familiehaase DOT de> <3D5A0827 DOT 1080805 AT teleco DOT upv DOT es> <131101034509 DOT 20020814142140 AT familiehaase DOT de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi, I'm copy liboci.a to /usr/lib but Makefile.PL doesn't work. I have the same error. Thanks a lot, Lucio. Gerrit P. Haase wrote: >Hallo Lucio, > > > >>>Yes, create an importlib from oci.dll. >>> >>> > > > >>how can I create an imporlib form oci.dll?. This are the steps that I >>follow, but it doesn't work. >> >> > > > >> 1.- I use impdef to create the export file. In c:\Oracle\Ora81\BIN: >> impdef oci.dll > oci.def >> The oci.def is in the attachments. >> >> > > > >> 2.- In cygwin, in ~/tmp/DBD-Oracle-1.12, I run dlltool to produce >>liboci.a. First, I copy oci.def from c:\Oracle\Ora81\BIN to >>c:\cygwin\home\lpe�a\tmp\DBD-Oracle-1.12 -where there is the Makefile.PL-. >> dlltool --def oci.def --output-lib libfoo.a -k >> >> > liboci.a <---? > > > >> 3.- I run Makefile.PL in cygwin ~/tmp/DBD-Oracle-1.12 and the output >>still is incorrect >> Note (probably harmless): No library found for -loci >> >> > >It needs the lib to link against. > > > > >>LD_RUN_PATH=/cygdrive/c/Oracle/Ora81/lib:/cygdrive/c/Oracle/Ora81/rdbms/lib >> Using DBD::Oracle 1.12. >> Using DBI 1.30 installed in >>/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI >> >> > > > >> Writing Makefile for DBD::Oracle >> >> > > > >> 4.- I copy liboci.a in LD_RUN_PATH, but I have the same output. >> >> > > > >> What I'm doing wrong? >> >> > >Copy liboci.a to /usr/lib > > >HTH, > >Gerrit > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/