<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Building DBD::Oracle == Nightmare in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113928#M91804</link>
    <description>I found the answer to my issue.</description>
    <pubDate>Sun, 15 Jun 2008 05:03:47 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2008-06-15T05:03:47Z</dc:date>
    <item>
      <title>Building DBD::Oracle == Nightmare</title>
      <link>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113926#M91802</link>
      <description>HP-UX 11.11&lt;BR /&gt;Oracle 10.1.0.5&lt;BR /&gt;And yes I have ORACLE_HOME and LD_LIBRARY_PATH set&lt;BR /&gt;-------------&lt;BR /&gt;perl -V&lt;BR /&gt;Summary of my perl5 (revision 5 version 8 subversion 6) configuration:&lt;BR /&gt;  Platform:&lt;BR /&gt;    osname=hpux, osvers=11.11, archname=PA-RISC2.0&lt;BR /&gt;    uname='hp-ux r3 b.11.11 u 9000800 1909236376 unlimited-user license '&lt;BR /&gt;    config_args='-Dusedevel -Dcc=gcc -des'&lt;BR /&gt;    hint=recommended, useposix=true, d_sigaction=define&lt;BR /&gt;    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef&lt;BR /&gt;    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef&lt;BR /&gt;    use64bitint=undef use64bitall=undef uselongdouble=undef&lt;BR /&gt;    usemymalloc=n, bincompat5005=undef&lt;BR /&gt;  Compiler:&lt;BR /&gt;    cc='gcc', ccflags ='-mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',&lt;BR /&gt;    optimize='-g -O',&lt;BR /&gt;    cppflags='-mpa-risc-2-0 -D_HPUX_SOURCE -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include'&lt;BR /&gt;    ccversion='', gccversion='3.4.3', gccosandvers='hpux11.11'&lt;BR /&gt;    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321&lt;BR /&gt;    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16&lt;BR /&gt;    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8&lt;BR /&gt;    alignbytes=8, prototype=define&lt;BR /&gt;  Linker and Libraries:&lt;BR /&gt;    ld='/usr/bin/ld', ldflags ='-L/pro/local/lib'&lt;BR /&gt;    libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib&lt;BR /&gt;    libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt -lsec -lc&lt;BR /&gt;    perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc&lt;BR /&gt;    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a&lt;BR /&gt;    gnulibc_version=''&lt;BR /&gt;  Dynamic Linking:&lt;BR /&gt;    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '&lt;BR /&gt;    cccdlflags='-fPIC', lddlflags='-b -L/pro/local/lib'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Characteristics of this binary (from libperl):&lt;BR /&gt;  Compile-time options: DEBUGGING USE_LARGE_FILES&lt;BR /&gt;  Locally applied patches:&lt;BR /&gt;        defined-or&lt;BR /&gt;  Built under hpux&lt;BR /&gt;  Compiled at Nov 30 2004 08:22:28&lt;BR /&gt;  @INC:&lt;BR /&gt;    /opt/perl/lib/5.8.6/PA-RISC2.0&lt;BR /&gt;    /opt/perl/lib/5.8.6&lt;BR /&gt;    /opt/perl/lib/site_perl/5.8.6/PA-RISC2.0&lt;BR /&gt;    /opt/perl/lib/site_perl/5.8.6&lt;BR /&gt;    /opt/perl/lib/site_perl&lt;BR /&gt;    .&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Here is the error when I run "make test"&lt;BR /&gt;&lt;BR /&gt;Skip blib/lib/DBD/Oracle.pm (unchanged)&lt;BR /&gt;Skip blib/lib/DBD/mkta.pl (unchanged)&lt;BR /&gt;Skip blib/lib/oraperl.ph (unchanged)&lt;BR /&gt;Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)&lt;BR /&gt;Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)&lt;BR /&gt;Skip blib/lib/Oraperl.pm (unchanged)&lt;BR /&gt;Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)&lt;BR /&gt;Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)&lt;BR /&gt;Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)&lt;BR /&gt;        gcc -c  -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI  -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O    -DVERSION=\"1.21\"  -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" Oracle.c&lt;BR /&gt;        gcc -c  -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI  -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O    -DVERSION=\"1.21\"  -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" dbdimp.c&lt;BR /&gt;dbdimp.c: In function `createxmlfromstring':&lt;BR /&gt;dbdimp.c:1020: warning: passing arg 2 of `Perl_sv_2pv_flags' from incompatible pointer type&lt;BR /&gt;dbdimp.c: In function `ora_st_execute_array':&lt;BR /&gt;dbdimp.c:3269: warning: unused variable `sv2'&lt;BR /&gt;        gcc -c  -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI  -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O    -DVERSION=\"1.21\"  -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" oci8.c&lt;BR /&gt;oci8.c: In function `get_attr_val':&lt;BR /&gt;oci8.c:1397: warning: passing arg 8 of `OCIIntervalToText' from incompatible pointer type&lt;BR /&gt;Running Mkbootstrap for DBD::Oracle ()&lt;BR /&gt;        chmod 644 Oracle.bs&lt;BR /&gt;        rm -f blib/arch/auto/DBD/Oracle/Oracle.sl&lt;BR /&gt;        /usr/bin/ld -Wl,+b"/d20/oracle/product/mbasdb/10.1.0/lib32:/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32"  -b -L/pro/local/lib Oracle.o  dbdimp.o  oci8.o +s +n    -L/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32/ -L/d20/oracle/product/mbasdb/10.1.0/lib32/    -lclntsh `cat /d20/oracle/product/mbasdb/10.1.0/lib32/ldflags`     -lm   -o blib/arch/auto/DBD/Oracle/Oracle.sl&lt;BR /&gt;/usr/bin/ld: Unrecognized argument: -Wl,+b/d20/oracle/product/mbasdb/10.1.0/lib32:/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32&lt;BR /&gt;/usr/bin/ld: Usage:  /usr/bin/ld [options] [flags] files&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Any ideas on what I need to make this work.</description>
      <pubDate>Sun, 15 Jun 2008 04:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113926#M91802</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-06-15T04:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Building DBD::Oracle == Nightmare</title>
      <link>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113927#M91803</link>
      <description>ok, i got it. I changed the ld options in the make file form "-Wl,+b" to just "+objdebugonly,". Now it works. &lt;BR /&gt;&lt;BR /&gt;-Patting myself on the back. ;P</description>
      <pubDate>Sun, 15 Jun 2008 04:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113927#M91803</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-06-15T04:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Building DBD::Oracle == Nightmare</title>
      <link>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113928#M91804</link>
      <description>I found the answer to my issue.</description>
      <pubDate>Sun, 15 Jun 2008 05:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113928#M91804</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-06-15T05:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Building DBD::Oracle == Nightmare</title>
      <link>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113929#M91805</link>
      <description>The another solution is to change: ld='/usr/bin/ld'&lt;BR /&gt;To: ld=gcc</description>
      <pubDate>Sun, 15 Jun 2008 05:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/building-dbd-oracle-nightmare/m-p/5113929#M91805</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-15T05:07:06Z</dc:date>
    </item>
  </channel>
</rss>

