<?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: Continued problems compiling DBD::Oracle in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/continued-problems-compiling-dbd-oracle/m-p/3801837#M99891</link>
    <description>Good morning Dennis, and thank you for the reply.  I will try what you suggested and post my results.&lt;BR /&gt;&lt;BR /&gt;thanks again.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maurice</description>
    <pubDate>Thu, 08 Jun 2006 11:27:45 GMT</pubDate>
    <dc:creator>MauriceConway</dc:creator>
    <dc:date>2006-06-08T11:27:45Z</dc:date>
    <item>
      <title>Continued problems compiling DBD::Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-linux/continued-problems-compiling-dbd-oracle/m-p/3801835#M99889</link>
      <description>Good day,&lt;BR /&gt;&lt;BR /&gt;I am still having problems trying to get DBD::Oracle to compile on my HPUX 11.23 Itanium server.&lt;BR /&gt;&lt;BR /&gt;Specifics:&lt;BR /&gt;&lt;BR /&gt;Server:  Itanium&lt;BR /&gt;OS:  HPUX11.23&lt;BR /&gt;Perl:  5.8.0 64bit, not-threaded&lt;BR /&gt;DBI:  1.50&lt;BR /&gt;DBD::Oracle:  1.14&lt;BR /&gt;Make:  make-3.80&lt;BR /&gt;&lt;BR /&gt;If I execute make without any changes to the Makefile, I get;&lt;BR /&gt;&lt;BR /&gt;(notice the "ld: Unrecognized argument: -Wl,+s")&lt;BR /&gt;********************************************&lt;BR /&gt;LD_RUN_PATH="/app/common/oracle/product/10.1.0.4/lib:/app/common/oracle/product/10.1.0.4/rdbms/lib" /usr/bin/ld  -b -L/usr/local/lib -L/usr/lib/hpux64 Oracle.o dbdimp.o oci7.o oci8.o -Wl,+s -Wl,+n +DD64 -o build -L/app/common/oracle/product/10.1.0.4/rdbms/lib/ -L/app/common/oracle/product/10.1.0.4/lib/   -lclntsh -lnbeq10 -lnhost10 -lnus10 -lnldap10 -lldapclnt10 -lnsslb10 -lnoname10 -lntcp10 -lntcps10 -lnsslb10 -lntcp10 -lntns10 -l:librt.so -l:libnss_dns.so.1 -l:libdld.so -lm -lpthread -lunwind -lm -o blib/arch/auto/DBD/Oracle/Oracle.so&lt;BR /&gt;ld: Unrecognized argument: -Wl,+s&lt;BR /&gt;Fatal error.&lt;BR /&gt;make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1&lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;I found where someone removed the "-Wl, +s" entry from the Makefile and they reported it fixing the problem, I followed their instructions and got this output;&lt;BR /&gt;&lt;BR /&gt;(notice the "ld: Unrecognized argument: -Wl,+n")&lt;BR /&gt;********************************************&lt;BR /&gt;LD_RUN_PATH="/app/common/oracle/product/10.1.0.4/lib:/app/common/oracle/product/10.1.0.4/rdbms/lib" /usr/bin/ld  -b -L/usr/local/lib -L/usr/lib/hpux64 Oracle.o dbdimp.o oci7.o oci8.o -Wl,+n +DD64 -o build -L/app/common/oracle/product/10.1.0.4/rdbms/lib/ -L/app/common/oracle/product/10.1.0.4/lib/   -lclntsh -lnbeq10 -lnhost10 -lnus10 -lnldap10 -lldapclnt10 -lnsslb10 -lnoname10 -lntcp10 -lntcps10 -lnsslb10 -lntcp10 -lntns10 -l:librt.so -l:libnss_dns.so.1 -l:libdld.so -lm -lpthread -lunwind -lm -o blib/arch/auto/DBD/Oracle/Oracle.so&lt;BR /&gt;ld: Unrecognized argument: -Wl,+n&lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;At this point, not sure what to do, I just did like before and removed the "-Wl,+n" from the Makefile to see if it makes a difference, this is what I got after making the above change;&lt;BR /&gt;&lt;BR /&gt;(notice the "ld: Unrecognized argument: +DD64")&lt;BR /&gt;********************************************&lt;BR /&gt;LD_RUN_PATH="/app/common/oracle/product/10.1.0.4/lib:/app/common/oracle/product/10.1.0.4/rdbms/lib" /usr/bin/ld  -b -L/usr/local/lib -L/usr/lib/hpux64 Oracle.o dbdimp.o oci7.o oci8.o +DD64 -o build -L/app/common/oracle/product/10.1.0.4/rdbms/lib/ -L/app/common/oracle/product/10.1.0.4/lib/   -lclntsh -lnbeq10 -lnhost10 -lnus10 -lnldap10 -lldapclnt10 -lnsslb10 -lnoname10 -lntcp10 -lntcps10 -lnsslb10 -lntcp10 -lntns10 -l:librt.so -l:libnss_dns.so.1 -l:libdld.so -lm -lpthread -lunwind -lm -o blib/arch/auto/DBD/Oracle/Oracle.so&lt;BR /&gt;ld: Unrecognized argument: +DD64&lt;BR /&gt;Fatal error.&lt;BR /&gt;make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1&lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;So, now I remove the unrecognized "+DD64" argument from the Makefile, and it looks like it may complete, but when I run "make test" it blows up, here is the output from "make test";&lt;BR /&gt;&lt;BR /&gt;Its fairly long, sorry for the large output, hopefully its helpfull&lt;BR /&gt;********************************************&lt;BR /&gt;ml052-mnmiller&amp;gt; make test&lt;BR /&gt;PERL_DL_NONLAZY=1 /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t&lt;BR /&gt;t/base......./usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;Failed to load Oracle extension and/or shared libraries:&lt;BR /&gt;install_driver(Oracle) failed: Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at (eval 2) line 3&lt;BR /&gt;Compilation failed in require at (eval 2) line 3.&lt;BR /&gt;Perhaps a required shared library or dll isn't installed where expected&lt;BR /&gt; at t/base.t line 19&lt;BR /&gt;The remaining tests will probably also fail with the same error.&lt;BR /&gt;&lt;BR /&gt;*** Please read the README and README.help files for help. ***&lt;BR /&gt;&lt;BR /&gt;t/base.......FAILED tests 4-5&lt;BR /&gt;        Failed 2/5 tests, 60.00% okay&lt;BR /&gt;t/cursor...../usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at t/cursor.t line 18&lt;BR /&gt;Compilation failed in require at t/cursor.t line 18.&lt;BR /&gt;BEGIN failed--compilation aborted at t/cursor.t line 18.&lt;BR /&gt;t/cursor.....dubious&lt;BR /&gt;        Test returned status 255 (wstat 65280, 0xff00)&lt;BR /&gt;t/general..../usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;install_driver(Oracle) failed: Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at (eval 2) line 3&lt;BR /&gt;Compilation failed in require at (eval 2) line 3.&lt;BR /&gt;Perhaps a required shared library or dll isn't installed where expected&lt;BR /&gt; at t/general.t line 20&lt;BR /&gt;t/general....dubious&lt;BR /&gt;        Test returned status 255 (wstat 65280, 0xff00)&lt;BR /&gt;t/long......./usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at t/long.t line 4&lt;BR /&gt;Compilation failed in require at t/long.t line 4.&lt;BR /&gt;BEGIN failed--compilation aborted at t/long.t line 4.&lt;BR /&gt;t/long.......dubious&lt;BR /&gt;        Test returned status 255 (wstat 65280, 0xff00)&lt;BR /&gt;t/meta......./usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;install_driver(Oracle) failed: Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at (eval 2) line 3&lt;BR /&gt;Compilation failed in require at (eval 2) line 3.&lt;BR /&gt;Perhaps a required shared library or dll isn't installed where expected&lt;BR /&gt; at t/meta.t line 23&lt;BR /&gt;t/meta.......dubious&lt;BR /&gt;        Test returned status 255 (wstat 65280, 0xff00)&lt;BR /&gt;t/ph_type..../usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at t/ph_type.t line 18&lt;BR /&gt;Compilation failed in require at t/ph_type.t line 18.&lt;BR /&gt;BEGIN failed--compilation aborted at t/ph_type.t line 18.&lt;BR /&gt;t/ph_type....dubious&lt;BR /&gt;        Test returned status 255 (wstat 65280, 0xff00)&lt;BR /&gt;t/plsql....../usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at t/plsql.t line 17&lt;BR /&gt;Compilation failed in require at t/plsql.t line 17.&lt;BR /&gt;BEGIN failed--compilation aborted at t/plsql.t line 17.&lt;BR /&gt;t/plsql......dubious&lt;BR /&gt;        Test returned status 255 (wstat 65280, 0xff00)&lt;BR /&gt;t/reauth.....skipped&lt;BR /&gt;        all skipped: no reason given&lt;BR /&gt;t/select...../usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;Can't load '/app/common/home/mnmiller/downloads/modules/DBD-Oracle-1.14/blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: Exec format error at /app/common/home/mnmiller/sandbox/perl-5.8.0_build_2/lib/5.8.0/IA64.ARCHREV_0-LP64/DynaLoader.pm line 229.&lt;BR /&gt; at t/select.t line 4&lt;BR /&gt;Compilation failed in require at t/select.t line 4.&lt;BR /&gt;BEGIN failed--compilation aborted at t/select.t line 4.&lt;BR /&gt;t/select.....dubious&lt;BR /&gt;        Test returned status 255 (wstat 65280, 0xff00)&lt;BR /&gt;Failed Test Stat Wstat Total Fail  Failed  List of Failed&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;t/base.t                   5    2  40.00%  4-5&lt;BR /&gt;t/cursor.t   255 65280    ??   ??       %  ??&lt;BR /&gt;t/general.t  255 65280    ??   ??       %  ??&lt;BR /&gt;t/long.t     255 65280    ??   ??       %  ??&lt;BR /&gt;t/meta.t     255 65280    ??   ??       %  ??&lt;BR /&gt;t/ph_type.t  255 65280    ??   ??       %  ??&lt;BR /&gt;t/plsql.t    255 65280    ??   ??       %  ??&lt;BR /&gt;t/select.t   255 65280    ??   ??       %  ??&lt;BR /&gt;1 test skipped.&lt;BR /&gt;Failed 8/9 test scripts, 11.11% okay. 2/5 subtests failed, 60.00% okay.&lt;BR /&gt;make: *** [test_dynamic] Error 2&lt;BR /&gt;ml052-mnmiller&amp;gt;&lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;Again, I am sorry for the long posting, I am just trying to provide as much information as possible so someone may be able to assist me in solving this.&lt;BR /&gt;&lt;BR /&gt;At this point, Im kind of lost.  I am pretty weak in Perl, so if its an obvious problem, or even detailed, I would love to know why this is failing.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maurice&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Jun 2006 12:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/continued-problems-compiling-dbd-oracle/m-p/3801835#M99889</guid>
      <dc:creator>MauriceConway</dc:creator>
      <dc:date>2006-06-07T12:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Continued problems compiling DBD::Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-linux/continued-problems-compiling-dbd-oracle/m-p/3801836#M99890</link>
      <description>&amp;gt;If I execute make without any changes to the Makefile, I get;&lt;BR /&gt;(notice the "ld: Unrecognized argument: -Wl,+s")&lt;BR /&gt;&lt;BR /&gt;I explained this in:  &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1032124" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1032124&lt;/A&gt;&lt;BR /&gt;Either you remove ALL "-Wl," and the +DD64 or you replace /usr/bin/ld by a compiler driver, like cc.&lt;BR /&gt;&lt;BR /&gt;As to your new problem:&lt;BR /&gt;/usr/lib/hpux64/dld.so: Cannot dlopen load module '/usr/lib/hpux64/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;&lt;BR /&gt;I would suggest you remove -lpthread from your link line, if you don't call pthread_create.  (But that probably won't work because -lclntsh also includes it.)&lt;BR /&gt;&lt;BR /&gt;So your only solution is to export LD_PRELOAD=/usr/lib/hpux64/libpthread.so.1.&lt;BR /&gt;&lt;BR /&gt;For a similar issue see my responses in:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1025801" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1025801&lt;/A&gt;</description>
      <pubDate>Wed, 07 Jun 2006 18:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/continued-problems-compiling-dbd-oracle/m-p/3801836#M99890</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-06-07T18:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Continued problems compiling DBD::Oracle</title>
      <link>https://community.hpe.com/t5/operating-system-linux/continued-problems-compiling-dbd-oracle/m-p/3801837#M99891</link>
      <description>Good morning Dennis, and thank you for the reply.  I will try what you suggested and post my results.&lt;BR /&gt;&lt;BR /&gt;thanks again.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maurice</description>
      <pubDate>Thu, 08 Jun 2006 11:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/continued-problems-compiling-dbd-oracle/m-p/3801837#M99891</guid>
      <dc:creator>MauriceConway</dc:creator>
      <dc:date>2006-06-08T11:27:45Z</dc:date>
    </item>
  </channel>
</rss>

