public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* DBD::Oracle won't build under Cygwin Perl + more ...
@ 2001-10-16 16:03 turner
  2001-10-16 16:50 ` Michael Hoffman
  2001-10-17  1:36 ` Gerrit P. Haase
  0 siblings, 2 replies; 11+ messages in thread
From: turner @ 2001-10-16 16:03 UTC (permalink / raw)
  To: cygwin; +Cc: turner

Hello,
I've recently switched from ActiveState Perl to Cygwin Perl and am in the
process of rebuilding my Perl environment. I've immediately run into some
major probs.

1) DBD::Oracle (my bread and butter) fails to build.

2) XML::Parser (critical to my project) fails to build.


Can someone please provide me with fixes to make these installs happen.

Thanks,
Doug



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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2001-10-16 16:03 DBD::Oracle won't build under Cygwin Perl + more turner
@ 2001-10-16 16:50 ` Michael Hoffman
  2001-10-17  1:36 ` Gerrit P. Haase
  1 sibling, 0 replies; 11+ messages in thread
From: Michael Hoffman @ 2001-10-16 16:50 UTC (permalink / raw)
  To: turner; +Cc: cygwin

On Tue, 16 Oct 2001 turner@uvs.is wrote:

> 1) DBD::Oracle (my bread and butter) fails to build.
>
> 2) XML::Parser (critical to my project) fails to build.

You really ought to search the mailing list archives for say, "XML parser"
(not "XML::Parser" if you are using the built-in search tool since it
treats it as two words) before posting here. There are several postings
which you might find relevant.

Also, you haven't provided us with any information that might help us
assist you. Please see:

http://www.tuxedo.org/~esr/faqs/smart-questions.html

Good luck.
-- 
Michael Hoffman <grouse@mail.utexas.edu>
The University of Texas at Austin


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2001-10-16 16:03 DBD::Oracle won't build under Cygwin Perl + more turner
  2001-10-16 16:50 ` Michael Hoffman
@ 2001-10-17  1:36 ` Gerrit P. Haase
  2001-10-23  3:53   ` Gerrit P. Haase
  1 sibling, 1 reply; 11+ messages in thread
From: Gerrit P. Haase @ 2001-10-17  1:36 UTC (permalink / raw)
  To: turner; +Cc: cygwin

turner@uvs.is schrieb am 2001-10-16, 23:02:

>1) DBD::Oracle (my bread and butter) fails to build.

Sorry, havn't tested this yet (have no Oracle here).

>2) XML::Parser (critical to my project) fails to build.

XML::Parser builds OOTB, you need to install expat: http://expat.sourceforge.net/
Expat builds a static lib OOTB and with it XML::Parser should build,
see also: http://testers.cpan.org/search?request=by-config

Choose 'cygwin' and look if your module is included.

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2001-10-17  1:36 ` Gerrit P. Haase
@ 2001-10-23  3:53   ` Gerrit P. Haase
  0 siblings, 0 replies; 11+ messages in thread
From: Gerrit P. Haase @ 2001-10-23  3:53 UTC (permalink / raw)
  To: Gerrit P. Haase

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 9896 bytes --]

Hallo Gerrit,

2001-10-23 12:42:15, du schreibst:

> turner@uvs.is schrieb am 2001-10-16, 23:02:

>>1) DBD::Oracle (my bread and butter) fails to build.

> Sorry, havn't tested this yet (have no Oracle here).

I have tested now to build DBD::Oracle.
It seems to build OK.  What is your problem, some more details would be
nice, otherwise I will not be able to help you.
The test failures below are probably caused by the fact that my Oracle
DB isn't running, but I'm not sure if it is possible to build
DBD::Oracle on Cygwin with the native Oracle Windows dll's at all.

Gerrit
-- 
cpan> install DBD::Oracle
CPAN: Storable loaded ok
Going to read /home/Gerrit/.cpan/Metadata
  Database was generated on Tue, 23 Oct 2001 08:33:10 GMT
Running install for module DBD::Oracle
Running make for T/TI/TIMB/DBD-Oracle-1.12.tar.gz
CPAN: MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/Gerrit/.cpan/sources/authors/id/T/TI/TIMB/DBD-Oracle-1.12.tar.gz ok
Scanning cache /home/Gerrit/.cpan/build for sizes
DBD-Oracle-1.12/
DBD-Oracle-1.12/Todo
DBD-Oracle-1.12/MANIFEST
DBD-Oracle-1.12/oci8.c
DBD-Oracle-1.12/Oracle.h
DBD-Oracle-1.12/ora_explain.PL
DBD-Oracle-1.12/t/
DBD-Oracle-1.12/t/reauth.t
DBD-Oracle-1.12/t/plsql.t
DBD-Oracle-1.12/t/general.t
DBD-Oracle-1.12/t/ph_type.t
DBD-Oracle-1.12/t/long.t
DBD-Oracle-1.12/t/base.t
DBD-Oracle-1.12/README.wingcc
DBD-Oracle-1.12/Oracle.xs
DBD-Oracle-1.12/hints/
DBD-Oracle-1.12/hints/svr4.pl
DBD-Oracle-1.12/Changes
DBD-Oracle-1.12/dbdimp.c
DBD-Oracle-1.12/README.explain
DBD-Oracle-1.12/README.win32
DBD-Oracle-1.12/dbdimp.h
DBD-Oracle-1.12/Oracle.ex/
DBD-Oracle-1.12/Oracle.ex/japh
DBD-Oracle-1.12/Oracle.ex/curref.pl
DBD-Oracle-1.12/Oracle.ex/ex.pl
DBD-Oracle-1.12/Oracle.ex/proc.pl
DBD-Oracle-1.12/Oracle.ex/oradump.pl
DBD-Oracle-1.12/Oracle.ex/bind.pl
DBD-Oracle-1.12/Oracle.ex/commit.pl
DBD-Oracle-1.12/Oracle.ex/mktable.pl
DBD-Oracle-1.12/Oracle.ex/sql
DBD-Oracle-1.12/Oracle.ex/tabinfo.pl
DBD-Oracle-1.12/Oracle.ex/Readme
DBD-Oracle-1.12/README.longs
DBD-Oracle-1.12/README
DBD-Oracle-1.12/oci7.c
DBD-Oracle-1.12/README.sec
DBD-Oracle-1.12/test.pl
DBD-Oracle-1.12/README.login
DBD-Oracle-1.12/oraperl.ph
DBD-Oracle-1.12/Makefile.PL
DBD-Oracle-1.12/Oraperl.pm
DBD-Oracle-1.12/README.hpux
DBD-Oracle-1.12/oci.def
DBD-Oracle-1.12/Oracle.pm
DBD-Oracle-1.12/README.help
DBD-Oracle-1.12/README.java
DBD-Oracle-1.12/ocitrace.h
DBD-Oracle-1.12/README.clients
Removing previously used /home/Gerrit/.cpan/build/DBD-Oracle-1.12

  CPAN.pm: Going to build T/TI/TIMB/DBD-Oracle-1.12.tar.gz

Using DBI 1.20 installed in /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /cygdrive/i/Oracle/Ora81
Found header files in rdbms/demo.
Found oci directory
Using OCI directory 'oci'
Using liboci.a  (did you build it?)

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


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

Checking if your kit is complete...
Looks good
Ignoring LD_RUN_PATH='/usr/lib:/usr/local/lib:/usr/X11R6/lib' in environment
LD_RUN_PATH=/usr/lib
Using DBD::Oracle 1.12.
Using DBI 1.20 installed in /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI
Writing Makefile for DBD::Oracle

***  If you have problems...
     read all the log printed above, and the README and README.help files.
     (Of course, you have read README by now anyway, haven't you?)

cp oraperl.ph blib/lib/oraperl.ph
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp Oraperl.pm blib/lib/Oraperl.pm
/bin/perl -p -e "s/~DRIVER~/Oracle/g" < /usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI/Driver.xst > Oracle.xsi
/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
gcc -c -I/cygdrive/i/Oracle/Ora81/oci/include -I/cygdrive/i/Oracle/Ora81/rdbms/demo -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2   -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\"  -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  Oracle.c
gcc -c -I/cygdrive/i/Oracle/Ora81/oci/include -I/cygdrive/i/Oracle/Ora81/rdbms/demo -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2   -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\"  -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  dbdimp.c
gcc -c -I/cygdrive/i/Oracle/Ora81/oci/include -I/cygdrive/i/Oracle/Ora81/rdbms/demo -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2   -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\"  -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  oci7.c
gcc -c -I/cygdrive/i/Oracle/Ora81/oci/include -I/cygdrive/i/Oracle/Ora81/rdbms/demo -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2   -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\"  -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.dll
LD_RUN_PATH="/usr/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/perl5/5.6.1/cygwin-multi/CORE/libperl5_6_1.a -loci  
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 -loci
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
mv Oracle.dll libOracle.a blib/arch/auto/DBD/Oracle/
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.dll
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 ora_explain.PL ora_explain
Extracted ora_explain from ora_explain.PL with variable substitutions.
cp ora_explain blib/script/ora_explain
/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/ora_explain
Manifying blib/man3/DBD.Oracle.3
Manifying blib/man1/ora_explain.1
Manifying blib/man3/DBD.Oraperl.3
  /bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok                                                       
t/general...........DBI->connect() failed: Error while trying to retrieve text for error ORA-12538 (DBD ERROR: OCIServerAttach) at t/general.t line 20
Unable to connect to Oracle (Error while trying to retrieve text for error ORA-12538 (DBD ERROR: OCIServerAttach))
Tests skiped.
skipped test on this platform
t/long..............Unable to connect to Oracle (Error while trying to retrieve text for error ORA-12538 (DBD ERROR: OCIServerAttach))
Tests skiped.
skipped test on this platform
t/ph_type...........DBI->connect() failed: Error while trying to retrieve text for error ORA-12538 (DBD ERROR: OCIServerAttach) at t/ph_type.t line 24
Unable to connect to Oracle (Error while trying to retrieve text for error ORA-12538 (DBD ERROR: OCIServerAttach))
Tests skipped.
skipped test on this platform
t/plsql.............Unable to connect to Oracle (Error while trying to retrieve text for error ORA-12538 (DBD ERROR: OCIServerAttach))
Tests skiped.
skipped test on this platform
t/reauth............skipped test on this platform
All tests successful, 5 tests skipped.
Files=6, Tests=5,  6 wallclock secs ( 2.10 cusr +  1.72 csys =  3.82 CPU)
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 test.pl
Oraperl test application $Revision: 1.4 $

Oraperl emulation interface version 1.41 
DBD::Oracle 1.12 using OCI8 by Tim Bunce
DBI 1.20 by Tim Bunce

Data sources:
        dbi:Oracle:EXTPROC_CONNECTION_DATA.CONVEY_KOELN
        dbi:Oracle:MESSE.CONVEY_KOELN


Connecting
 to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
 as 'scott/tiger' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)
(ORACLE_SID='', TWO_TASK='')
ora_login: 12538: Error while trying to retrieve text for error ORA-12538 (DBD ERROR: OCIServerAttach)

Generally set TWO_TASK or ORACLE_SID but not both at the same time.
Try to connect to the database using an oracle tool like sqlplus
only if that works should you suspect problems with DBD::Oracle.
Try leaving dbname value empty and set dbuser to name/passwd@dbname.

Test aborted.
make: *** [test_dynamic] Error 255
  /bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force


-- 
convey Information Systems GmbH                 http://www.convey.de/
                                                Vitalisstraße 326-328
Gerrit P. Haase                                 D-50933 Köln
gerrit.haase@convey.de                          Fon: ++49 221 6903922


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2002-08-14  7:13       ` Lucio Peña
@ 2002-08-14  7:51         ` Gerrit P. Haase
  0 siblings, 0 replies; 11+ messages in thread
From: Gerrit P. Haase @ 2002-08-14  7:51 UTC (permalink / raw)
  To: Lucio Peña; +Cc: cygwin

Hallo Lucio,

Am Mittwoch, 14. August 2002 um 14:44 schriebst du:

> Hi, I'm copy liboci.a to /usr/lib but Makefile.PL doesn't work. I have 
> the same error.

Have you set ORACLE_HOME in your environment as stated in the README?
Try also to include the path where oci.dll lives in your PATH setting.
IIRC you cannot link against a dll if the lnker doesn't find it,
in Cygwin LD_RUN_PATH is equal to PATH and usually /usr/local/bin:/bin


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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2002-08-14  5:56     ` Gerrit P. Haase
@ 2002-08-14  7:13       ` Lucio Peña
  2002-08-14  7:51         ` Gerrit P. Haase
  0 siblings, 1 reply; 11+ messages in thread
From: Lucio Peña @ 2002-08-14  7:13 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2002-08-14  2:14   ` Lucio Peña
@ 2002-08-14  5:56     ` Gerrit P. Haase
  2002-08-14  7:13       ` Lucio Peña
  0 siblings, 1 reply; 11+ messages in thread
From: Gerrit P. Haase @ 2002-08-14  5:56 UTC (permalink / raw)
  To: Lucio Peña; +Cc: cygwin

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2002-08-13  7:02 ` Gerrit P. Haase
@ 2002-08-14  2:14   ` Lucio Peña
  2002-08-14  5:56     ` Gerrit P. Haase
  0 siblings, 1 reply; 11+ messages in thread
From: Lucio Peña @ 2002-08-14  2:14 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]



Gerrit P. Haase wrote:

>Hallo lpenya,
>
>Am Dienstag, 13. August 2002 um 14:20 schriebst du:
>
>  
>
>>Hi!, I'm a new user of cygwin and I have the same problem described
>>here. Are there any solution?, I didn't find any solution in the list.
>>    
>>
>
>Yes, create an importlib from oci.dll.
>
>
>Gerrit
>
Hi!!, I don't know if this is the correct list for this question. But, 
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

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

Thanks


[-- Attachment #2: oci.def --]
[-- Type: text/plain, Size: 11384 bytes --]

EXPORTS
OCIAQDeq
OCIAQEnq
OCIAQListen
OCIAnyDataAccess
OCIAnyDataAttrGet
OCIAnyDataAttrSet
OCIAnyDataBeginCreate
OCIAnyDataCollAddElem
OCIAnyDataCollGetElem
OCIAnyDataConvert
OCIAnyDataDestroy
OCIAnyDataEndCreate
OCIAnyDataGetCurrAttrNum
OCIAnyDataGetType
OCIAnyDataIsNull
OCIAnyDataSetAddInstance
OCIAnyDataSetBeginCreate
OCIAnyDataSetDestroy
OCIAnyDataSetEndCreate
OCIAnyDataSetGetCount
OCIAnyDataSetGetInstance
OCIAnyDataSetGetType
OCIAttrGet
OCIAttrSet
OCIBindArrayOfStruct
OCIBindByName
OCIBindByPos
OCIBindDynamic
OCIBindObject
OCIBreak
OCICacheFlush
OCICacheFlushRefresh
OCICacheFree
OCICacheGetObjects
OCICacheRefresh
OCICacheRegister
OCICacheUnmark
OCICacheUnpin
OCICharSetConversionIsReplacementUsed
OCICharSetToUnicode
OCICollAppend
OCICollAssign
OCICollAssignElem
OCICollGetElem
OCICollIsLocator
OCICollMax
OCICollSize
OCICollTrim
OCIConnectionPoolCreate
OCIConnectionPoolDestroy
OCIContextClearValue
OCIContextGenerateKey
OCIContextGetValue
OCIContextSetValue
OCIDateAddDays
OCIDateAddMonths
OCIDateAssign
OCIDateCheck
OCIDateCompare
OCIDateDaysBetween
OCIDateFromText
OCIDateLastDay
OCIDateNextDay
OCIDateSysDate
OCIDateTimeAssign
OCIDateTimeCheck
OCIDateTimeCompare
OCIDateTimeConstruct
OCIDateTimeConvert
OCIDateTimeFromArray
OCIDateTimeFromText
OCIDateTimeGetDate
OCIDateTimeGetTime
OCIDateTimeGetTimeZoneName
OCIDateTimeGetTimeZoneOffset
OCIDateTimeIntervalAdd
OCIDateTimeIntervalSub
OCIDateTimeSubtract
OCIDateTimeSysTimeStamp
OCIDateTimeToArray
OCIDateTimeToText
OCIDateToText
OCIDateZoneToZone
OCIDefineArrayOfStruct
OCIDefineByPos
OCIDefineDynamic
OCIDefineObject
OCIDescribeAny
OCIDescriptorAlloc
OCIDescriptorFree
OCIDirPathAbort
OCIDirPathColArrayEntryGet
OCIDirPathColArrayEntrySet
OCIDirPathColArrayReset
OCIDirPathColArrayRowGet
OCIDirPathColArrayToStream
OCIDirPathDataSave
OCIDirPathFinish
OCIDirPathFlushRow
OCIDirPathLoadStream
OCIDirPathPrepare
OCIDirPathStreamReset
OCIDurationBegin
OCIDurationEnd
OCIDurationGetParent
OCIEnvCreate
OCIEnvInit
OCIErrorGet
OCIExtractFromFile
OCIExtractFromList
OCIExtractFromStr
OCIExtractInit
OCIExtractReset
OCIExtractSetKey
OCIExtractSetNumKeys
OCIExtractTerm
OCIExtractToBool
OCIExtractToInt
OCIExtractToList
OCIExtractToOCINum
OCIExtractToStr
OCIFEnvCreate
OCIFileClose
OCIFileExists
OCIFileFlush
OCIFileGetLength
OCIFileInit
OCIFileOpen
OCIFileRead
OCIFileSeek
OCIFileTerm
OCIFileWrite
OCIFormatInit
OCIFormatString
OCIFormatTChar
OCIFormatTDouble
OCIFormatTDvoid
OCIFormatTEb1
OCIFormatTEb2
OCIFormatTEb4
OCIFormatTEnd
OCIFormatTEword
OCIFormatTSb1
OCIFormatTSb2
OCIFormatTSb4
OCIFormatTSbig_ora
OCIFormatTSword
OCIFormatTText
OCIFormatTUb1
OCIFormatTUb2
OCIFormatTUb4
OCIFormatTUbig_ora
OCIFormatTUword
OCIFormatTerm
OCIHandleAlloc
OCIHandleFree
OCIInitialize
OCIIntervalAdd
OCIIntervalAssign
OCIIntervalCheck
OCIIntervalCompare
OCIIntervalDivide
OCIIntervalFromNumber
OCIIntervalFromTZ
OCIIntervalFromText
OCIIntervalGetDaySecond
OCIIntervalGetYearMonth
OCIIntervalMultiply
OCIIntervalSetDaySecond
OCIIntervalSetYearMonth
OCIIntervalSubtract
OCIIntervalToNumber
OCIIntervalToText
OCIIterCreate
OCIIterDelete
OCIIterGetCurrent
OCIIterInit
OCIIterNext
OCIIterPrev
OCILdaToSvcCtx
OCILobAppend
OCILobAssign
OCILobCharSetForm
OCILobCharSetId
OCILobClose
OCILobCopy
OCILobCreateTemporary
OCILobDisableBuffering
OCILobEnableBuffering
OCILobErase
OCILobFileClose
OCILobFileCloseAll
OCILobFileExists
OCILobFileGetName
OCILobFileIsOpen
OCILobFileOpen
OCILobFileSetName
OCILobFlushBuffer
OCILobFreeTemporary
OCILobGetChunkSize
OCILobGetLength
OCILobIsEqual
OCILobIsOpen
OCILobIsTemporary
OCILobLoadFromFile
OCILobLocatorAssign
OCILobLocatorIsInit
OCILobOpen
OCILobRead
OCILobTrim
OCILobWrite
OCILobWriteAppend
OCILogoff
OCILogon
OCILogon2
OCIMemStats
OCIMemoryAlloc
OCIMemoryFree
OCIMemoryResize
OCIMemorySetCurrentIDs
OCIMessageClose
OCIMessageGet
OCIMessageOpen
OCIMultiByteInSizeToWideChar
OCIMultiByteStrCaseConversion
OCIMultiByteStrcat
OCIMultiByteStrcmp
OCIMultiByteStrcpy
OCIMultiByteStrlen
OCIMultiByteStrnDisplayLength
OCIMultiByteStrncat
OCIMultiByteStrncmp
OCIMultiByteStrncpy
OCIMultiByteToWideChar
OCINlsGetInfo
OCINumberAbs
OCINumberAdd
OCINumberArcCos
OCINumberArcSin
OCINumberArcTan
OCINumberArcTan2
OCINumberAssign
OCINumberCeil
OCINumberCmp
OCINumberCos
OCINumberDec
OCINumberDiv
OCINumberExp
OCINumberFloor
OCINumberFromInt
OCINumberFromReal
OCINumberFromText
OCINumberHypCos
OCINumberHypSin
OCINumberHypTan
OCINumberInc
OCINumberIntPower
OCINumberIsInt
OCINumberIsZero
OCINumberLn
OCINumberLog
OCINumberMod
OCINumberMul
OCINumberNeg
OCINumberPower
OCINumberPrec
OCINumberRound
OCINumberSetPi
OCINumberSetZero
OCINumberShift
OCINumberSign
OCINumberSin
OCINumberSqrt
OCINumberSub
OCINumberTan
OCINumberToInt
OCINumberToReal
OCINumberToText
OCINumberTrunc
OCIObjectAlwaysLatest
OCIObjectArrayPin
OCIObjectCopy
OCIObjectExists
OCIObjectFlush
OCIObjectFlushRefresh
OCIObjectFree
OCIObjectGetAttr
OCIObjectGetInd
OCIObjectGetNewOID
OCIObjectGetObjectRef
OCIObjectGetPrimaryKeyTypeRef
OCIObjectGetProperty
OCIObjectGetTypeRef
OCIObjectIsDirtied
OCIObjectIsDirty
OCIObjectIsLoaded
OCIObjectIsLocked
OCIObjectLock
OCIObjectLockNoWait
OCIObjectMakeObjectRef
OCIObjectMarkDelete
OCIObjectMarkDeleteByRef
OCIObjectMarkUpdate
OCIObjectNew
OCIObjectNotAlwaysLatest
OCIObjectPin
OCIObjectPinCountReset
OCIObjectPinTable
OCIObjectRefresh
OCIObjectSetAttr
OCIObjectSetData
OCIObjectUnmark
OCIObjectUnmarkByRef
OCIObjectUnpin
OCIOpaqueCtxGetCtx
OCIOpaqueCtxGetHandles
OCIOpaqueCtxGetServiceCtx
OCIOpaqueCtxPickleSize
OCIOpaqueCtxSetCtx
OCIOpaqueCtxSetError
OCIOpaqueDataGetLength
OCIOpaqueDataPickle
OCIOpaqueDataRead
OCIOpaqueDataSetLength
OCIOpaqueDataUnpickle
OCIOpaqueDataWrite
OCIPAcquireMutex
OCIPAnyDataAttrCountSet
OCIPChangeUser
OCIPConvertRowidToUb1
OCIPConvertUb1ToRowid
OCIPDefineConvert
OCIPGetDateContext
OCIPGetDefTZ
OCIPGetEnv
OCIPGetErrorMessage
OCIPGetInternalRowid
OCIPGetLdiDateTimeFromKpd
OCIPGetLdiInternalFormat
OCIPGetLdiIntervalFromKpd
OCIPGetNLSLang
OCIPGetNLSNChar
OCIPHeapAlloc
OCIPHeapFree
OCIPMaxRowidLength
OCIPReleaseMutex
OCIParamGet
OCIParamSet
OCIPasswordChange
OCIPicklerFdoFree
OCIPicklerFdoInit
OCIPicklerImageAddNullScalar
OCIPicklerImageAddScalar
OCIPicklerImageCollAddScalar
OCIPicklerImageCollBegin
OCIPicklerImageCollBeginScan
OCIPicklerImageCollEnd
OCIPicklerImageCollGetScalar
OCIPicklerImageCollGetScalarSize
OCIPicklerImageFree
OCIPicklerImageGenerate
OCIPicklerImageGetScalar
OCIPicklerImageGetScalarSize
OCIPicklerImageInit
OCIPicklerTdsAddAttr
OCIPicklerTdsCreateElement
OCIPicklerTdsCreateElementChar
OCIPicklerTdsCreateElementNumber
OCIPicklerTdsCreateElementRaw
OCIPicklerTdsCreateElementVarchar
OCIPicklerTdsCtxFree
OCIPicklerTdsCtxInit
OCIPicklerTdsFree
OCIPicklerTdsGenerate
OCIPicklerTdsGetAttr
OCIPicklerTdsInit
OCIRawAllocSize
OCIRawAssignBytes
OCIRawAssignRaw
OCIRawPtr
OCIRawResize
OCIRawSize
OCIRefAssign
OCIRefClear
OCIRefFromHex
OCIRefHexSize
OCIRefIsEqual
OCIRefIsNull
OCIRefToHex
OCIReset
OCIResultSetToStmt
OCIRowTypeAddBuiltin
OCIRowTypeAddUserType
OCIRowTypeCreate
OCIRowTypeEndCreate
OCIRowTypeFree
OCIRowTypeGetBuiltin
OCIRowTypeGetCount
OCIRowTypeGetTypeCode
OCIRowTypeGetUserType
OCIRowidToChar
OCISecurityAbortIdentity
OCISecurityClosePersona
OCISecurityCloseWallet
OCISecurityCreateIdentity
OCISecurityCreatePersona
OCISecurityCreateWallet
OCISecurityDeEnvelope
OCISecurityDecrypt
OCISecurityDestroyWallet
OCISecurityEncrypt
OCISecurityEncryptExpansion
OCISecurityEnvelope
OCISecurityFreeIdentity
OCISecurityGetIdentity
OCISecurityGetProtection
OCISecurityHash
OCISecurityHashExpansion
OCISecurityInitBlock
OCISecurityInitialize
OCISecurityKeyedHash
OCISecurityKeyedHashExpansion
OCISecurityOpenPersona
OCISecurityOpenWallet
OCISecurityPKDecrypt
OCISecurityPKEncryptExpansion
OCISecurityPurgeBlock
OCISecurityRandomBytes
OCISecurityRandomNumber
OCISecurityRemoveIdentity
OCISecurityRemovePersona
OCISecurityReuseBlock
OCISecuritySeedRandom
OCISecuritySetBlock
OCISecuritySetProtection
OCISecuritySign
OCISecuritySignDetExpansion
OCISecuritySignDetached
OCISecuritySignExpansion
OCISecurityStorePersona
OCISecurityStoreTrustedIdentity
OCISecurityTerminate
OCISecurityValidate
OCISecurityVerify
OCISecurityVerifyDetached
OCISecurity_PKEncrypt
OCIServerAttach
OCIServerDetach
OCIServerRelease
OCIServerVersion
OCISessionBegin
OCISessionEnd
OCISharedLibInit
OCIStmtExecute
OCIStmtFetch
OCIStmtFetch2
OCIStmtGetBindInfo
OCIStmtGetPieceInfo
OCIStmtPrepare
OCIStmtSetPieceInfo
OCIStringAllocSize
OCIStringAssign
OCIStringAssignText
OCIStringPtr
OCIStringResize
OCIStringSize
OCISubscriptionDisable
OCISubscriptionEnable
OCISubscriptionPost
OCISubscriptionRegister
OCISubscriptionUnRegister
OCISvcCtxToLda
OCITableDelete
OCITableExists
OCITableFirst
OCITableLast
OCITableNext
OCITablePrev
OCITableSize
OCITerminate
OCIThreadClose
OCIThreadCreate
OCIThreadHandleGet
OCIThreadHndDestroy
OCIThreadHndInit
OCIThreadIdDestroy
OCIThreadIdGet
OCIThreadIdInit
OCIThreadIdNull
OCIThreadIdSame
OCIThreadIdSet
OCIThreadIdSetNull
OCIThreadInit
OCIThreadIsMulti
OCIThreadJoin
OCIThreadKeyDestroy
OCIThreadKeyGet
OCIThreadKeyInit
OCIThreadKeySet
OCIThreadMutexAcquire
OCIThreadMutexDestroy
OCIThreadMutexInit
OCIThreadMutexRelease
OCIThreadProcessInit
OCIThreadTerm
OCITransCommit
OCITransDetach
OCITransForget
OCITransMultiPrepare
OCITransPrepare
OCITransRollback
OCITransStart
OCITypeAddAttr
OCITypeArrayByName
OCITypeArrayByRef
OCITypeAttrByName
OCITypeAttrNext
OCITypeAttrs
OCITypeBeginCreate
OCITypeByName
OCITypeByRef
OCITypeCollElem
OCITypeCollExtTypeCode
OCITypeCollSize
OCITypeCollTypeCode
OCITypeElemCharSetForm
OCITypeElemCharSetID
OCITypeElemDefaultValue
OCITypeElemExtTypeCode
OCITypeElemFlags
OCITypeElemLength
OCITypeElemName
OCITypeElemNumPrec
OCITypeElemNumScale
OCITypeElemParamMode
OCITypeElemParameterizedType
OCITypeElemType
OCITypeElemTypeCode
OCITypeEndCreate
OCITypeIterFree
OCITypeIterNew
OCITypeIterSet
OCITypeMethodByName
OCITypeMethodEncap
OCITypeMethodFlags
OCITypeMethodMap
OCITypeMethodName
OCITypeMethodNext
OCITypeMethodOrder
OCITypeMethodOverload
OCITypeMethodParams
OCITypeMethods
OCITypeName
OCITypeParamByName
OCITypeParamByPos
OCITypeParamPos
OCITypeResult
OCITypeSchema
OCITypeSetBuiltin
OCITypeSetCollection
OCITypeTypeCode
OCITypeVTInit
OCITypeVTInsert
OCITypeVTSelect
OCITypeVersion
OCIUnicodeToCharSet
OCIUserCallbackGet
OCIUserCallbackRegister
OCIWideCharDisplayLength
OCIWideCharInSizeToMultiByte
OCIWideCharIsAlnum
OCIWideCharIsAlpha
OCIWideCharIsCntrl
OCIWideCharIsDigit
OCIWideCharIsGraph
OCIWideCharIsLower
OCIWideCharIsPrint
OCIWideCharIsPunct
OCIWideCharIsSingleByte
OCIWideCharIsSpace
OCIWideCharIsUpper
OCIWideCharIsXdigit
OCIWideCharMultiByteLength
OCIWideCharStrCaseConversion
OCIWideCharStrcat
OCIWideCharStrchr
OCIWideCharStrcmp
OCIWideCharStrcpy
OCIWideCharStrlen
OCIWideCharStrncat
OCIWideCharStrncmp
OCIWideCharStrncpy
OCIWideCharStrrchr
OCIWideCharToLower
OCIWideCharToMultiByte
OCIWideCharToUpper
OCIXADFieldSet
OCIXADTableSetRowValues
lpmarrfuncs
lpmexitprog
lpmmkpri
obindps
obndra
obndrn
obndrv
obreak
ocan
ocibre
ocibrn
ocibrv
ociclo
ocicof
ocicom
ocidfn
ocidsc
ociepacm
ocieperr
ociepgoe
ociepmsg
ocierr
ociexe
ociexn
ocifet
ocilof
ocilon
ociope
ocirlo
ocirol
ocisq3
oclose
ocof
ocom
ocon
odefin
odefinps
odescr
odessp
odsc
oerhms
oermsg
oexec
oexfet
oexn
ofen
ofetch
oflng
ogetpi
ognfd
olog
ologof
ologon
olon
oname
onbclr
onbset
onbtst
oopen
oopt
oparse
opinit
orlon
orol
ortgcty
osetpi
osql3



[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DBD::Oracle won't build under Cygwin Perl + more ...
  2002-08-13  5:56 lpenya
@ 2002-08-13  7:02 ` Gerrit P. Haase
  2002-08-14  2:14   ` Lucio Peña
  0 siblings, 1 reply; 11+ messages in thread
From: Gerrit P. Haase @ 2002-08-13  7:02 UTC (permalink / raw)
  To: lpenya; +Cc: cygwin

Hallo lpenya,

Am Dienstag, 13. August 2002 um 14:20 schriebst du:

> Hi!, I'm a new user of cygwin and I have the same problem described
> here. Are there any solution?, I didn't find any solution in the list.

Yes, create an importlib from oci.dll.


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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* DBD::Oracle won't build under Cygwin Perl + more ...
@ 2002-08-13  5:56 lpenya
  2002-08-13  7:02 ` Gerrit P. Haase
  0 siblings, 1 reply; 11+ messages in thread
From: lpenya @ 2002-08-13  5:56 UTC (permalink / raw)
  To: cygwin

Hi!, I'm a new user of cygwin and I have the same problem described
here. Are there any solution?, I didn't find any solution in the list.

Thanks in advanced,

      Lucas

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



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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* DBD::Oracle won't build under Cygwin Perl + more ...
@ 2002-07-30 12:08 Michael Hoffman
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Hoffman @ 2002-07-30 12:08 UTC (permalink / raw)
  To: cygwin; +Cc: lau_bella

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-08-14 14:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-16 16:03 DBD::Oracle won't build under Cygwin Perl + more turner
2001-10-16 16:50 ` Michael Hoffman
2001-10-17  1:36 ` Gerrit P. Haase
2001-10-23  3:53   ` Gerrit P. Haase
2002-07-30 12:08 Michael Hoffman
2002-08-13  5:56 lpenya
2002-08-13  7:02 ` Gerrit P. Haase
2002-08-14  2:14   ` Lucio Peña
2002-08-14  5:56     ` Gerrit P. Haase
2002-08-14  7:13       ` Lucio Peña
2002-08-14  7:51         ` Gerrit P. Haase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).