<?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: How to bundle the expect libraryies in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196733#M61793</link>
    <description>I download the correct version of rpm and currently it is working for x86_64 bit machine. Thanks for all your support.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Gavi</description>
    <pubDate>Tue, 08 Sep 2009 04:53:29 GMT</pubDate>
    <dc:creator>gavisiddappa</dc:creator>
    <dc:date>2009-09-08T04:53:29Z</dc:date>
    <item>
      <title>How to bundle the expect libraryies</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196729#M61789</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am using the expect tool automate the ssh connection. I downloaded the source code and built it and installed , it is working fine.&lt;BR /&gt;&lt;BR /&gt;I get snashot of the working expect depandancies using ldd command:&lt;BR /&gt;ldd /usr/local/bin/expect&lt;BR /&gt;linux-gate.so.1 =&amp;gt;  (0x00f38000)&lt;BR /&gt;libexpect5.44.1.so =&amp;gt; /usr/local/lib/expect5.44.1/libexpect5.44.1.so (0x0084c000)&lt;BR /&gt;        libtcl8.5.so =&amp;gt; /usr/local/lib/libtcl8.5.so (0x00c46000)&lt;BR /&gt;        libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x00110000)&lt;BR /&gt;        libm.so.6 =&amp;gt; /lib/libm.so.6 (0x00114000)&lt;BR /&gt;        libc.so.6 =&amp;gt; /lib/libc.so.6 (0x00add000)&lt;BR /&gt;        libutil.so.1 =&amp;gt; /lib/libutil.so.1 (0x00a7c000)&lt;BR /&gt;        /lib/ld-linux.so.2 (0x00abf000)&lt;BR /&gt;&lt;BR /&gt;My problem is how to bundle these libraries and exe of expect and to install on the another linux  machine instead of building again the source code on new linux machine.&lt;BR /&gt;These are the exe and .so files.&lt;BR /&gt;expect   &lt;BR /&gt;libc.so.6&lt;BR /&gt;libexpect5.44.1.so&lt;BR /&gt;libtcl8.5.so&lt;BR /&gt;ld-linux.so.2&lt;BR /&gt;libdl.so.2&lt;BR /&gt;libm.so.6&lt;BR /&gt;libutil.so.1&lt;BR /&gt;expect&lt;BR /&gt;&lt;BR /&gt;I tried to copy all the shared libraries and expect exe to corresponding folders on new linux machine and execute the expect command it cause the segmentation fault.&lt;BR /&gt;&lt;BR /&gt;[root@localhost exeptlib]# expect&lt;BR /&gt;Segmentation fault&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Gavi</description>
      <pubDate>Wed, 02 Sep 2009 02:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196729#M61789</guid>
      <dc:creator>gavisiddappa</dc:creator>
      <dc:date>2009-09-02T02:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to bundle the expect libraryies</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196730#M61790</link>
      <description>Why not install expect on other system using usual methods ? (yum, rpm, dpkg,,, etc) &lt;BR /&gt;&lt;BR /&gt;Surely you have root access since you are able to populate with your copies to the library on the target systems.&lt;BR /&gt;&lt;BR /&gt;Also, you need to be sure target requirement and dependencies, kernel are the same or compatible with the system you got the file /usr/bin/expect from.&lt;BR /&gt;&lt;BR /&gt;on a system here (Fedora 11) I get &lt;BR /&gt;&lt;BR /&gt;# ldd /usr/bin/expect&lt;BR /&gt; linux-gate.so.1 =&amp;gt;  (0x006ac000)&lt;BR /&gt; libexpect5.43.so =&amp;gt; /usr/lib/libexpect5.43.so (0x00d11000)&lt;BR /&gt; libtcl8.5.so =&amp;gt; /usr/lib/libtcl8.5.so (0x0042e000)&lt;BR /&gt; libdl.so.2 =&amp;gt; /lib/libdl.so.2 (0x00d0a000)&lt;BR /&gt; libm.so.6 =&amp;gt; /lib/libm.so.6 (0x00ce0000)&lt;BR /&gt; libutil.so.1 =&amp;gt; /lib/libutil.so.1 (0x00b40000)&lt;BR /&gt; libc.so.6 =&amp;gt; /lib/libc.so.6 (0x00b6d000)&lt;BR /&gt; /lib/ld-linux.so.2 (0x00b49000)&lt;BR /&gt;&lt;BR /&gt;# file /usr/bin/expect&lt;BR /&gt;/usr/bin/expect: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped&lt;BR /&gt;&lt;BR /&gt;I hope this get you going.&lt;BR /&gt;&lt;BR /&gt;Enjoy life.&lt;BR /&gt;&lt;BR /&gt;Jean-Pierre Huc</description>
      <pubDate>Wed, 02 Sep 2009 09:37:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196730#M61790</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2009-09-02T09:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to bundle the expect libraryies</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196731#M61791</link>
      <description>Hi Jean-Pierre,&lt;BR /&gt;&lt;BR /&gt;Thanks for your assistance.&lt;BR /&gt;&lt;BR /&gt;I tried rpm files to install on the other machine but it shows multiple dependencies.&lt;BR /&gt;&lt;BR /&gt;I tried to resolve the these dependencies it takes so much of time to download and install.&lt;BR /&gt; &lt;BR /&gt;rpm -ivh expect-5.43.0-19.fc12.i686.rpm&lt;BR /&gt;&lt;BR /&gt;error: Failed dependencies:&lt;BR /&gt;        libc.so.6(GLIBC_2.11) is needed by expect-5.43.0-19.fc12.i686&lt;BR /&gt;        libc.so.6(GLIBC_2.7) is needed by expect-5.43.0-19.fc12.i686&lt;BR /&gt;        libtcl8.5.so is needed by expect-5.43.0-19.fc12.i686&lt;BR /&gt;        rpmlib(FileDigests) &amp;lt;= 4.6.0-1 is needed by expect-5.43.0-19.fc12.i686&lt;BR /&gt;        rpmlib(PayloadIsXz) &amp;lt;= 5.2-1 is needed by expect-5.43.0-19.fc12.i686&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is there any easy way to install the expect from the rpm files? for different versions of linux os.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Gavi</description>
      <pubDate>Wed, 02 Sep 2009 10:49:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196731#M61791</guid>
      <dc:creator>gavisiddappa</dc:creator>
      <dc:date>2009-09-02T10:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to bundle the expect libraryies</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196732#M61792</link>
      <description>If you're downloading individual .rpm files and installing them with the "rpm" command, of course it will take a long time (and it will be a really boring job). That's why package managers like yum were developed.&lt;BR /&gt;&lt;BR /&gt;For Fedora, try running "yum install expect". If yum is properly configured, it will automatically detect the dependencies, figure out the correct packages to download, and then download &amp;amp; install everything automatically.&lt;BR /&gt;&lt;BR /&gt;Please see: &lt;A href="http://prefetch.net/articles/yum.html" target="_blank"&gt;http://prefetch.net/articles/yum.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For distributions using .deb packages (Debian, *Ubuntu etc.), the corresponding command is usually "aptitude install expect" or (in older releases) "apt-get install expect".&lt;BR /&gt;&lt;BR /&gt;By the way, libc.so is the common C library. Just about all the programs of any Linux distribution are dependent on it. Replacing a libc.so of a particular distribution with an older version is a very bad idea: you may end up with an unstable system that shows various, seemingly unrelated errors.&lt;BR /&gt;&lt;BR /&gt;Security patches and bugfixes may bring minor updates to the libc.so file, but a major update to the C library is usually one of the reasons to release a new version of the entire Linux distribution (e.g. from Fedora 10 to Fedora 11).&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 03 Sep 2009 11:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196732#M61792</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-09-03T11:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to bundle the expect libraryies</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196733#M61793</link>
      <description>I download the correct version of rpm and currently it is working for x86_64 bit machine. Thanks for all your support.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Gavi</description>
      <pubDate>Tue, 08 Sep 2009 04:53:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-bundle-the-expect-libraryies/m-p/5196733#M61793</guid>
      <dc:creator>gavisiddappa</dc:creator>
      <dc:date>2009-09-08T04:53:29Z</dc:date>
    </item>
  </channel>
</rss>

