This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DBD::Oracle won't build under Cygwin Perl + more ...


Please keep cygwin traffic on the mailing list.
-- 
Michael Hoffman <grouse@mail.utexas.edu>
The University of Texas at Austin

---------- Forwarded message ----------
Date: Tue, 30 Jul 2002 14:58:20 +0100 (BST)
From: "[iso-8859-1] Bella" <lau_bella@yahoo.com>
To: "grouse@mail.utexas.edu" <grouse@mail.utexas.edu>
Subject: DBD::Oracle won't build under Cygwin Perl + more ...

Hi,

I have problem in install DBD::Oracle in CYGWIN w2k.
I have installed DBI v1.3.

With refer to previous message,
http://sources.redhat.com/ml/cygwin/2001-10/msg01288.html
Re: DBD::Oracle won't build under Cygwin Perl + more
..., I have different result in running "perl
Makefile.PL", it cannot find "-loci"

============================================
:
System: perl5.006001 cygwin_nt-4.0 loreley
1.3.2(0.3932) 2001-05-20 23:28 i686 u
nknown
Compiler:   gcc -O2 -DPERL_USE_SAFE_PUTENV
-fno-strict-aliasing -I/usr/local/inc
lude
Linker:     /usr/bin/ld
Sysliblist:

Warning: If you have problems you may need to rebuild
perl with -Uusemymalloc.

Note (probably harmless): No library found for -loci
Ignoring
LD_RUN_PATH='/usr/lib:/usr/local/bin:/usr/X11R6/lib'
in environment
LD_RUN_PATH=d:/oracle/lib:d:/oracle/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
:
:
===================================================

Also different result in running "make", there is no
-loci in running dllwrap and it cannot find "OCIxxxx"
modules.
===================================================
:
:
rm -f blib/arch/auto/DBD/Oracle/Oracle.dll
LD_RUN_PATH="d:/oracle/lib:d:/oracle/rdbms/lib" ld2
-s -L/usr/local/lib Oracle.
o dbdimp.o oci7.o oci8.o  -o
blib/arch/auto/DBD/Oracle/Oracle.dll  /usr/lib/perl
5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a
dllwrap --dllname Oracle.dll --driver-name gcc
--dlltool dlltool --export-all-sy
mbols --as as --output-def libOracle.def --output-lib
libOracle.a \
-s -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o
/usr/lib/perl5/5.6.1/cygwin
-multi/CORE/libperl5_6_1.a

dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you
want
dbdimp.o(.text+0xb8b):dbdimp.c: undefined reference to
`OCIInitialize'
dbdimp.o(.text+0xbfa):dbdimp.c: undefined reference to
`OCIEnvInit'
dbdimp.o(.text+0xc78):dbdimp.c: undefined reference to
`OCIHandleAlloc'
dbdimp.o(.text+0xd02):dbdimp.c: undefined reference to
`OCIHandleAlloc'
dbdimp.o(.text+0xd8a):dbdimp.c: undefined reference to
`OCIHandleAlloc'
dbdimp.o(.text+0xe58):dbdimp.c: undefined reference to
`OCIServerAttach'
dbdimp.o(.text+0xf0f):dbdimp.c: undefined reference to
`OCIHandleFree'
dbdimp.o(.text+0xf6e):dbdimp.c: undefined reference to
`OCIHandleFree'
dbdimp.o(.text+0xfcd):dbdimp.c: undefined reference to
`OCIHandleFree'
dbdimp.o(.text+0x103e):dbdimp.c: undefined reference
to `OCIAttrSet'
dbdimp.o(.text+0x10b1):dbdimp.c: undefined reference
to `OCIHandleAlloc'
dbdimp.o(.text+0x11cf):dbdimp.c: undefined reference
to `OCISessionBegin'
dbdimp.o(.text+0x124c):dbdimp.c: undefined reference
to `OCIServerDetach'
dbdimp.o(.text+0x12a3):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x1302):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x1361):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x13c0):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x1432):dbdimp.c: undefined reference
to `OCIAttrSet'
dbdimp.o(.text+0x1549):dbdimp.c: undefined reference
to `OCITransCommit'
dbdimp.o(.text+0x15e2):dbdimp.c: undefined reference
to `OCIBreak'
dbdimp.o(.text+0x1669):dbdimp.c: undefined reference
to `OCITransRollback'
dbdimp.o(.text+0x17f2):dbdimp.c: undefined reference
to `OCISessionEnd'
dbdimp.o(.text+0x1868):dbdimp.c: undefined reference
to `OCIServerDetach'
dbdimp.o(.text+0x1912):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x1971):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x19d0):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x1a2f):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x2caa):dbdimp.c: undefined reference
to `OCIBindByName'
dbdimp.o(.text+0x2f32):dbdimp.c: undefined reference
to `OCIHandleFree'
dbdimp.o(.text+0x2fba):dbdimp.c: undefined reference
to `OCIHandleAlloc'
dbdimp.o(.text+0x30aa):dbdimp.c: undefined reference
to `OCIBindByName'
dbdimp.o(.text+0x379d):dbdimp.c: undefined reference
to `OCIBindByName'
dbdimp.o(.text+0x3881):dbdimp.c: undefined reference
to `OCIBindDynamic'
dbdimp.o(.text+0x4957):dbdimp.c: undefined reference
to `OCIStmtExecute'
dbdimp.o(.text+0x4a8c):dbdimp.c: undefined reference
to `OCIAttrGet'
dbdimp.o(.text+0x4b19):dbdimp.c: undefined reference
to `OCIAttrGet'
dbdimp.o(.text+0x4ea8):dbdimp.c: undefined reference
to `OCIAttrGet'
dbdimp.o(.text+0x5027):dbdimp.c: undefined reference
to `OCIStmtFetch'
dbdimp.o(.text+0x514c):dbdimp.c: undefined reference
to `OCIDescriptorFree'
dbdimp.o(.text+0x51b2):dbdimp.c: undefined reference
to `OCIDescriptorFree'
dbdimp.o(.text+0x523a):dbdimp.c: undefined reference
to `OCIHandleFree'
oci8.o(.text+0xa1a):oci8.c: undefined reference to
`OCIErrorGet'
oci8.o(.text+0x133b):oci8.c: undefined reference to
`OCIHandleAlloc'
oci8.o(.text+0x1414):oci8.c: undefined reference to
`OCIStmtPrepare'
oci8.o(.text+0x14df):oci8.c: undefined reference to
`OCIHandleFree'
oci8.o(.text+0x155c):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x16b1):oci8.c: undefined reference to
`OCIAttrSet'
oci8.o(.text+0x1dc5):oci8.c: undefined reference to
`OCIDescriptorAlloc'
oci8.o(.text+0x1dff):oci8.c: undefined reference to
`OCIAttrSet'
oci8.o(.text+0x2095):oci8.c: undefined reference to
`OCILobGetLength'
oci8.o(.text+0x2142):oci8.c: undefined reference to
`OCILobRead'
oci8.o(.text+0x23d7):oci8.c: undefined reference to
`OCILobGetLength'
oci8.o(.text+0x2643):oci8.c: undefined reference to
`OCILobRead'
oci8.o(.text+0x28ff):oci8.c: undefined reference to
`OCIDescriptorAlloc'
oci8.o(.text+0x2e1d):oci8.c: undefined reference to
`OCIStmtExecute'
oci8.o(.text+0x2ebc):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x2fc1):oci8.c: undefined reference to
`OCIParamGet'
oci8.o(.text+0x303d):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x30b7):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x3131):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x31ab):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x3225):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x32a7):oci8.c: more undefined references
to `OCIAttrGet' follow
oci8.o(.text+0x355f):oci8.c: undefined reference to
`OCIDescriptorAlloc'
oci8.o(.text+0x3768):oci8.c: undefined reference to
`OCIAttrSet'
oci8.o(.text+0x3817):oci8.c: undefined reference to
`OCIAttrSet'
oci8.o(.text+0x38a5):oci8.c: undefined reference to
`OCIAttrSet'
oci8.o(.text+0x3a58):oci8.c: undefined reference to
`OCIDefineByPos'
oci8.o(.text+0x3de3):oci8.c: undefined reference to
`OCIStmtFetch'
oci8.o(.text+0x4455):oci8.c: undefined reference to
`OCIAttrSet'
oci8.o(.text+0x459e):oci8.c: undefined reference to
`OCIAttrSet'
oci8.o(.text+0x4713):oci8.c: undefined reference to
`OCISessionEnd'
oci8.o(.text+0x478b):oci8.c: undefined reference to
`OCISessionBegin'
oci8.o(.text+0x50d4):oci8.c: undefined reference to
`OCIHandleAlloc'
oci8.o(.text+0x51bf):oci8.c: undefined reference to
`OCIDescribeAny'
oci8.o(.text+0x52e8):oci8.c: undefined reference to
`OCIDescribeAny'
oci8.o(.text+0x53ab):oci8.c: undefined reference to
`OCIHandleFree'
oci8.o(.text+0x542f):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x54ba):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x5545):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x55ba):oci8.c: undefined reference to
`OCIHandleFree'
oci8.o(.text+0x5698):oci8.c: undefined reference to
`OCIParamGet'
oci8.o(.text+0x5720):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x57b0):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x596e):oci8.c: undefined reference to
`OCIHandleFree'
oci8.o(.text+0x601d):oci8.c: undefined reference to
`OCIDescriptorAlloc'
oci8.o(.text+0x6217):oci8.c: undefined reference to
`OCIHandleAlloc'
oci8.o(.text+0x62ba):oci8.c: undefined reference to
`OCIStmtPrepare'
oci8.o(.text+0x638f):oci8.c: undefined reference to
`OCIDescriptorAlloc'
oci8.o(.text+0x63e3):oci8.c: undefined reference to
`OCIBindByName'
oci8.o(.text+0x65d3):oci8.c: undefined reference to
`OCIDefineByPos'
oci8.o(.text+0x68c0):oci8.c: undefined reference to
`OCIAttrGet'
oci8.o(.text+0x6965):oci8.c: undefined reference to
`OCIStmtExecute'
oci8.o(.text+0x6a84):oci8.c: undefined reference to
`OCILobWrite'
oci8.o(.text+0x6b0a):oci8.c: undefined reference to
`OCILobTrim'
oci8.o(.text+0x6c40):oci8.c: undefined reference to
`OCIHandleFree'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
perlld: *** system() failed to execute
dllwrap --dllname Oracle.dll --driver-name gcc
--dlltool dlltool --export-all-symbols --as as
--output-def libOracle.def --output-lib libOracle.a \
-s -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o
/usr/lib/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a

make: *** [blib/arch/auto/DBD/Oracle/Oracle.dll] Error
1
====================================================

Moreover, with refer to message
http://sources.redhat.com/ml/cygwin/2002-01/msg00279.html
Re: Installing DBD-DB2 on cygwin running on Windows
NT, How to create libOracle.def and linkage ? Is there
any samples for reference

Sorry for so long message. Thanks a lot.

Bella.



__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]