<?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: Oratcl 4.4 errors on HP-UX 11.11 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048701#M94252</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no a.out in the system.&lt;BR /&gt;&lt;BR /&gt;# find / -name "*a.out*"&lt;BR /&gt;/home/scheida1/PATCHES/PHSS_35381/C-INC/usr/include/a.out.h&lt;BR /&gt;/usr/share/man/man4.Z/a.out.4&lt;BR /&gt;/usr/share/man/ja_JP.eucJP/man4.Z/a.out.4&lt;BR /&gt;/usr/share/man/ja_JP.SJIS/man4.Z/a.out.4&lt;BR /&gt;/usr/include/a.out.h&lt;BR /&gt;/var/adm/sw/save/PHSS_33035/C-INC/usr/include/a.out.h&lt;BR /&gt;/var/adm/sw/save/PHSS_35381/C-INC/usr/include/a.out.h&lt;BR /&gt;&lt;BR /&gt;What do you mean by the build is broken?&lt;BR /&gt;&lt;BR /&gt;Thank you very much,&lt;BR /&gt;&lt;BR /&gt;Ramesh</description>
    <pubDate>Mon, 06 Aug 2007 13:53:43 GMT</pubDate>
    <dc:creator>rameshyg</dc:creator>
    <dc:date>2007-08-06T13:53:43Z</dc:date>
    <item>
      <title>Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048693#M94244</link>
      <description>Hi all-&lt;BR /&gt;&lt;BR /&gt;I had installed TclTk 8.4.14 hp-ux 11.11 box. The DBA has Oracle9.2 installed on the same machine. I'm trying to help get oratcl4.4 installed but am having issues.&lt;BR /&gt;&lt;BR /&gt;I've tried making oratcl in both shared and not-shared mode but that doesn't seem to help.&lt;BR /&gt;&lt;BR /&gt;I am able to install Oratcl4.4, but getting below errors when the user is running oralogon coammnds.&lt;BR /&gt;&lt;BR /&gt;/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;Oratcl_Init(): Failed to load /opt/oracle/OraHome1/lib32/libclntsh.sl with error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    while executing&lt;BR /&gt;"load /usr/local/lib/Oratcl4.4/libOratcl4.4.sl"&lt;BR /&gt;    ("package ifneeded" script)&lt;BR /&gt;    invoked from within&lt;BR /&gt;"package require Oratcl"&lt;BR /&gt;    (file "/webdata/cgi-includes/ngempss_logon.tinc" line 14)&lt;BR /&gt;    invoked from within&lt;BR /&gt;"source /webdata/cgi-includes/ngempss_logon.tinc"&lt;BR /&gt;    invoked from within&lt;BR /&gt;"if {$inEmplid == "518744PR" || $inEmplid == "253303--MaryLee"} {&lt;BR /&gt;   puts "&lt;BR /&gt;LOGGING INTO WSIT!!&lt;BR /&gt;"&lt;BR /&gt;   source /webdata/cgi-includes/ngempss_wsit_lo..."&lt;BR /&gt;    (file "includes/init_logon.tinc" line 2)&lt;BR /&gt;    invoked from within&lt;BR /&gt;"source includes/init_logon.tinc"&lt;BR /&gt;    invoked from within&lt;BR /&gt;"if {$inLogonType == "init"} {&lt;BR /&gt;   source includes/init_logon.tinc&lt;BR /&gt;} else {&lt;BR /&gt;    source includes/logon.tinc&lt;BR /&gt;    puts "  "&lt;BR /&gt;}"&lt;BR /&gt;    (file "/webdata/cgi-sbin/esources/logon.tcl" line 127)&lt;BR /&gt;$&lt;BR /&gt;================&lt;BR /&gt;Used the below configure command.&lt;BR /&gt;configure --with-tcl=/usr/local/lib/tcltk --with-oracle-directory=/opt/oracle/OraHome1 --enable-stubs  --enable-shared  --with-tk --without-tclx --enable-threads --enable-gcc &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The make gave the below errors:&lt;BR /&gt;# make&lt;BR /&gt;        gcc -pipe -DPACKAGE_NAME=\"Oratcl\" -DPACKAGE_TARNAME=\"oratcl\" -DPACKAGE_VERSION=\"4.4\" -DPACKAGE_STRING=\"Oratcl\ 4.4\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_XOPEN_SOURCE_EXTENDED=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=\".sl\"   -I"/usr/local/include"    -O2 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/oratcl.c` -o oratcl.o&lt;BR /&gt;./generic/oratcl.c: In function 'Oratcl_Logon':&lt;BR /&gt;./generic/oratcl.c:1678: warning: dereferencing type-punned pointer will break strict-aliasing rules&lt;BR /&gt;./generic/oratcl.c:1685: warning: dereferencing type-punned pointer will break strict-aliasing rules&lt;BR /&gt;./generic/oratcl.c:1691: warning: dereferencing type-punned pointer will break strict-aliasing rules&lt;BR /&gt;./generic/oratcl.c:1736: warning: dereferencing type-punned pointer will break strict-aliasing rules&lt;BR /&gt;./generic/oratcl.c: In function 'Oratcl_Info':&lt;BR /&gt;./generic/oratcl.c:2382: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness&lt;BR /&gt;./generic/oratcl.c: In function 'Oratcl_Open':&lt;BR /&gt;./generic/oratcl.c:2505: warning: dereferencing type-punned pointer will break strict-aliasing rules&lt;BR /&gt;        rm -f libOratcl4.4.sl&lt;BR /&gt;        gcc -shared -o libOratcl4.4.sl oratcl.o oralob.o oralong.o  -L/usr/local/lib -ltclstub&lt;BR /&gt;        : libOratcl4.4.sl&lt;BR /&gt;&lt;BR /&gt;---------------&lt;BR /&gt;# make install&lt;BR /&gt;        rm -f libOratcl4.4.sl&lt;BR /&gt;        gcc -shared -o libOratcl4.4.sl oratcl.o oralob.o oralong.o  -L/usr/local/lib -ltclstub&lt;BR /&gt;        : libOratcl4.4.sl&lt;BR /&gt; /opt/imake/bin/install -c libOratcl4.4.sl /usr/local/lib/Oratcl4.4/libOratcl4.4.sl&lt;BR /&gt; : /usr/local/lib/Oratcl4.4/libOratcl4.4.sl&lt;BR /&gt; Install pkgIndex.tcl /usr/local/lib/Oratcl4.4&lt;BR /&gt;Installing header files in /usr/local/include&lt;BR /&gt;Installing documentation in /usr/local/man&lt;BR /&gt;Installing ./doc/oratcl.n&lt;BR /&gt;=========================&lt;BR /&gt;&lt;BR /&gt;How to overcome the errors?&lt;BR /&gt;/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libcl.2&lt;BR /&gt;/usr/lib/dld.sl: Exec format error&lt;BR /&gt;Oratcl_Init(): Failed to load /opt/oracle/OraHome1/lib32/libclntsh.sl with error&lt;BR /&gt;&lt;BR /&gt;ORACLE_HOME=/opt/oracle/OraHome1&lt;BR /&gt;&lt;BR /&gt;I had also added the below line to .profile of the user "web", who is running these oralogon commands.&lt;BR /&gt;export LD_PRELOAD=/usr/lib/libcl.2 tclsh&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ramesh Yarlagadda</description>
      <pubDate>Thu, 02 Aug 2007 13:22:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048693#M94244</guid>
      <dc:creator>rameshyg</dc:creator>
      <dc:date>2007-08-02T13:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048694#M94245</link>
      <description>If you expect to load libclntsh.sl, you must link your application with -lcl.&lt;BR /&gt;Or use LD_PRELOAD= as you had on the end.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Aug 2007 04:23:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048694#M94245</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-03T04:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048695#M94246</link>
      <description>Denis,&lt;BR /&gt;&lt;BR /&gt;How to link the application with -lcl? Can you please give me more info.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ramesh</description>
      <pubDate>Fri, 03 Aug 2007 06:53:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048695#M94246</guid>
      <dc:creator>rameshyg</dc:creator>
      <dc:date>2007-08-03T06:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048696#M94247</link>
      <description>&amp;gt;How to link the application with -lcl? &lt;BR /&gt;&lt;BR /&gt;On the end of your link line for building tclsh, just add -lcl.</description>
      <pubDate>Fri, 03 Aug 2007 07:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048696#M94247</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-03T07:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048697#M94248</link>
      <description>Dennis,&lt;BR /&gt;&lt;BR /&gt;Do I need to re-install tcl?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ramesh</description>
      <pubDate>Fri, 03 Aug 2007 08:13:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048697#M94248</guid>
      <dc:creator>rameshyg</dc:creator>
      <dc:date>2007-08-03T08:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048698#M94249</link>
      <description>Why don't you try the precompile version, installable as a depot&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Tcl/tcltk-8.4.14/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Tcl/tcltk-8.4.14/&lt;/A&gt;</description>
      <pubDate>Fri, 03 Aug 2007 08:17:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048698#M94249</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2007-08-03T08:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048699#M94250</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I had installed the tcltk 8.4.14 from the below URL. It is a Depot software and I had installed it with sam.&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Tcl/tcltk-8.4.14/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Tcl/tcltk-8.4.14/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ramesh</description>
      <pubDate>Fri, 03 Aug 2007 11:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048699#M94250</guid>
      <dc:creator>rameshyg</dc:creator>
      <dc:date>2007-08-03T11:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048700#M94251</link>
      <description>&amp;gt;I had installed the tcltk 8.4.14 from the below URL.&lt;BR /&gt;&lt;BR /&gt;No this build is "broken" in that you can't have plugins of Pascal, aC++ or Fortran and probably Java, without you using LD_PRELOAD.&lt;BR /&gt;&lt;BR /&gt;If there is a way to ask them to add -lcl to their PA builds, I would suggest you do so.&lt;BR /&gt;&lt;BR /&gt;Here is the info on the aC++ page about plugins:&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking" target="_blank"&gt;http://www.docs.hp.com/en/7762/5991-4874/distributing.htm#linking&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The only immediate info you need is:&lt;BR /&gt;The a.out must be linked with:&lt;BR /&gt;/usr/lib/libcl.sl  (or on the link line -lcl)</description>
      <pubDate>Fri, 03 Aug 2007 22:40:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048700#M94251</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-03T22:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048701#M94252</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is no a.out in the system.&lt;BR /&gt;&lt;BR /&gt;# find / -name "*a.out*"&lt;BR /&gt;/home/scheida1/PATCHES/PHSS_35381/C-INC/usr/include/a.out.h&lt;BR /&gt;/usr/share/man/man4.Z/a.out.4&lt;BR /&gt;/usr/share/man/ja_JP.eucJP/man4.Z/a.out.4&lt;BR /&gt;/usr/share/man/ja_JP.SJIS/man4.Z/a.out.4&lt;BR /&gt;/usr/include/a.out.h&lt;BR /&gt;/var/adm/sw/save/PHSS_33035/C-INC/usr/include/a.out.h&lt;BR /&gt;/var/adm/sw/save/PHSS_35381/C-INC/usr/include/a.out.h&lt;BR /&gt;&lt;BR /&gt;What do you mean by the build is broken?&lt;BR /&gt;&lt;BR /&gt;Thank you very much,&lt;BR /&gt;&lt;BR /&gt;Ramesh</description>
      <pubDate>Mon, 06 Aug 2007 13:53:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048701#M94252</guid>
      <dc:creator>rameshyg</dc:creator>
      <dc:date>2007-08-06T13:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Oratcl 4.4 errors on HP-UX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048702#M94253</link>
      <description>&amp;gt;There is no a.out in the system.&lt;BR /&gt;&lt;BR /&gt;Sorry, a generic term for the executable.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;What do you mean by the build is broken?&lt;BR /&gt;&lt;BR /&gt;You're having trouble, so by definition the build is broken.  ;-)</description>
      <pubDate>Mon, 06 Aug 2007 17:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/oratcl-4-4-errors-on-hp-ux-11-11/m-p/4048702#M94253</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-06T17:32:28Z</dc:date>
    </item>
  </channel>
</rss>

