<?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 expect, tcl, oratcl problem in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009765#M96296</link>
    <description>Hi all,&lt;BR /&gt;I installed tcltk-8.4.14 from &lt;A href="http://hpux.cs.utah.edu" target="_blank"&gt;http://hpux.cs.utah.edu&lt;/A&gt; on hp-ux 11.23 (Itanium). I also installed oratcl4.4 and expect 5.43. The problem is when we try to run our scripts it give the error:&lt;BR /&gt;/usr/lib/hpux32/dld.so: Unable to find library '/u01/app/oracle/product/9.2.0/client_1/lib/libclntsh.sl'.&lt;BR /&gt;Oratcl_Init(): Failed to load /u01/app/oracle/product/9.2.0/client_1/lib/libclntsh.sl with error &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 "/opt/omd/bin/execsql" line 2)&lt;BR /&gt;&lt;BR /&gt;Ok there is no librray called "libclntsh.sl" , actually this must be libclntsh.so. Any ssuggestions?</description>
    <pubDate>Wed, 30 May 2007 07:51:10 GMT</pubDate>
    <dc:creator>Turgay Cavdar</dc:creator>
    <dc:date>2007-05-30T07:51:10Z</dc:date>
    <item>
      <title>expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009765#M96296</link>
      <description>Hi all,&lt;BR /&gt;I installed tcltk-8.4.14 from &lt;A href="http://hpux.cs.utah.edu" target="_blank"&gt;http://hpux.cs.utah.edu&lt;/A&gt; on hp-ux 11.23 (Itanium). I also installed oratcl4.4 and expect 5.43. The problem is when we try to run our scripts it give the error:&lt;BR /&gt;/usr/lib/hpux32/dld.so: Unable to find library '/u01/app/oracle/product/9.2.0/client_1/lib/libclntsh.sl'.&lt;BR /&gt;Oratcl_Init(): Failed to load /u01/app/oracle/product/9.2.0/client_1/lib/libclntsh.sl with error &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 "/opt/omd/bin/execsql" line 2)&lt;BR /&gt;&lt;BR /&gt;Ok there is no librray called "libclntsh.sl" , actually this must be libclntsh.so. Any ssuggestions?</description>
      <pubDate>Wed, 30 May 2007 07:51:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009765#M96296</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2007-05-30T07:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009766#M96297</link>
      <description>Did you get all the Run-time dependencies mentioned on the pages, see e.g.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.43/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.43/&lt;/A&gt;</description>
      <pubDate>Wed, 30 May 2007 08:02:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009766#M96297</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-05-30T08:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009767#M96298</link>
      <description>yes</description>
      <pubDate>Wed, 30 May 2007 08:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009767#M96298</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2007-05-30T08:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009768#M96299</link>
      <description>Are you sure you downloaded the Itanium version of the tcltk source code since the ".sl" extension for shared libs applies to PARISC while the ".so" extension is for IPFs.</description>
      <pubDate>Wed, 30 May 2007 09:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009768#M96299</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-05-30T09:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009769#M96300</link>
      <description>I am sure i installed the itanium version,  i download the source code and compile it. But the result is the same it still asks for ".sl" . I think, i need to compile tcl source code with a special way. Any one can help about this?</description>
      <pubDate>Wed, 30 May 2007 12:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009769#M96300</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2007-05-30T12:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009770#M96301</link>
      <description>&amp;gt;But the result is the same it still asks for ".sl" . I think, i need to compile tcl source code with a special way.&lt;BR /&gt;&lt;BR /&gt;You may have to rebuild but you could try setting up a symlink from .sl to .so.</description>
      <pubDate>Thu, 31 May 2007 01:50:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009770#M96301</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-31T01:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009771#M96302</link>
      <description>i alreadt tried the symbolic link but it is not succesful also.</description>
      <pubDate>Thu, 31 May 2007 05:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009771#M96302</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2007-05-31T05:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009772#M96303</link>
      <description>&amp;gt;/usr/lib/hpux32/dld.so: Unable to find library&lt;BR /&gt;&lt;BR /&gt;This message indicates you are using IPF.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;i already tried the symbolic link but it is not succesful&lt;BR /&gt;&lt;BR /&gt;What does file(1) say about /u01/app/oracle/product/9.2.0/client_1/lib/libclntsh.sl&lt;BR /&gt;(Or where you put that symlink.)</description>
      <pubDate>Thu, 31 May 2007 06:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009772#M96303</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-31T06:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009773#M96304</link>
      <description>Dennis you are right about the link, i was linked to 64 bit libraries so it was not working i tried to link to $ORACLE_HOME/lib32 then tcl successfulyy call the oratcl.&lt;BR /&gt;But expect scripts still gives error. When i call tcl from an expect script such as:&lt;BR /&gt;#!/usr/local/bin/expect&lt;BR /&gt;package require Oratcl&lt;BR /&gt;&lt;BR /&gt;it gives the error:&lt;BR /&gt;tel1t1:/tmp#./testt.exp &lt;BR /&gt;/usr/lib/hpux32/dld.so: Cannot dlopen load module '/usr/lib/hpux32/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;Oratcl_Init(): Failed to load /u01/app/oracle/product/9.2.0/client_1/lib32/libclntsh.so with error &lt;BR /&gt;Oratcl_Init(): ORACLE_LIBRARY = /u01/app/oracle/product/9.2.0/client_1/lib32/libclntsh.so : file not found.&lt;BR /&gt;&lt;BR /&gt;Any suggestions about this?</description>
      <pubDate>Thu, 31 May 2007 11:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009773#M96304</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2007-05-31T11:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009774#M96305</link>
      <description>&amp;gt;/usr/lib/hpux32/dld.so: Cannot dlopen load module '/usr/lib/hpux32/libpthread.so.1' because it contains thread specific data.&lt;BR /&gt;&lt;BR /&gt;You need to link expect with -lpthread.&lt;BR /&gt;&lt;BR /&gt;Or there may be a non-threaded version of libclntsh?</description>
      <pubDate>Thu, 31 May 2007 15:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009774#M96305</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-31T15:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009775#M96306</link>
      <description>You have not assigned any points yet.  Please read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Thu, 31 May 2007 15:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009775#M96306</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-31T15:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009776#M96307</link>
      <description>I installed expect from the depot with the command swinstall -s /file.depot. And it is successfully but when i try to compile from binary with the command ./configure --enable-threads --enable-shared --with-tcl=/usr/local/lib/tcltk --with-tk=/usr/local/lib/tcltk and run make i failed.It stops with the fallowing error:&lt;BR /&gt;       cc -O -I../unix -L/usr/local/lib/hpux32 -Wl,-E -o expect exp_main_exp.o libexpect.a -L/usr/local/lib/hpux32 -ltcl  -ldld  -lpthread -lxnet -lm -Wl,+s,+b,/usr/local/lib/hpux32:/usr/local/lib:.&lt;BR /&gt;ld: Unsatisfied symbol "expStateAnyIs" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "expStateCheck" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_forked" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "expDevttyGet" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "expect_key" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_trap_on" in file libexpect.a[exp_tty.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_new_state" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "expStateFromChannelName" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_flageq_code" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_error" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "expCloseOnExec" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_free_state_single" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_init_spawn_ids" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_i_update" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_configure_count" in file libexpect.a[exp_event.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_new_i_complex" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_init_spawn_id_vars" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_init_unit_random" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "expStdinoutGet" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_new_i_simple" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_close" in file libexpect.a[exp_chan.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_free_i" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_onexit_action" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_create_commands" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_init_most_cmds" in file libexpect.a[exp_main_sub.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_trap_off" in file libexpect.a[exp_tty.o]&lt;BR /&gt;ld: Unsatisfied symbol "expDevttyIs" in file libexpect.a[exp_inter.o]&lt;BR /&gt;ld: Unsatisfied symbol "expStdinoutIs" in file libexpect.a[exp_inter.o]&lt;BR /&gt;ld: Unsatisfied symbol "exp_free_state" in file libexpect.a[expect.o]&lt;BR /&gt;ld: Unsatisfied symbol "expStateCurrent" in file libexpect.a[expect.o]&lt;BR /&gt;30 errors.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;How can compile expect with the option -lpthread ?&lt;BR /&gt;Thanks...&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Jun 2007 03:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009776#M96307</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2007-06-01T03:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009777#M96308</link>
      <description>How did you add -lpthread to the link line?  Did you remove an existing lib or change the order?  Do you know what lib has those exp* symbols?  expStateAnyIs ...&lt;BR /&gt;&lt;BR /&gt;You can search your libs and objects with:&lt;BR /&gt;$ nm -pxAN libs ... objs | fgrep -e expStateAnyIs -e expStateCheck ...&lt;BR /&gt;&lt;BR /&gt;(Upper case would be definitions.)&lt;BR /&gt;&lt;BR /&gt;If you don't know how to fiddle with the build system, you could always use: LDOPTS=-lpthread&lt;BR /&gt;&lt;BR /&gt;Or going back to your initial version, if you use:&lt;BR /&gt;$ LD_PRELOAD=/usr/lib/hpux32/libpthread.so.1 ./testt.exp</description>
      <pubDate>Fri, 01 Jun 2007 04:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009777#M96308</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-01T04:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: expect, tcl, oratcl problem</title>
      <link>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009778#M96309</link>
      <description>As you said when i export LD_PRELOAD then expect works fine.&lt;BR /&gt;&lt;BR /&gt;Thanks, Dennis...</description>
      <pubDate>Fri, 01 Jun 2007 06:16:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/expect-tcl-oratcl-problem/m-p/4009778#M96309</guid>
      <dc:creator>Turgay Cavdar</dc:creator>
      <dc:date>2007-06-01T06:16:38Z</dc:date>
    </item>
  </channel>
</rss>

