<?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: Installing shared library in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104320#M693173</link>
    <description>I got the answer&lt;BR /&gt;&lt;BR /&gt;using -lsim&lt;BR /&gt;&lt;BR /&gt;Thank you all.......</description>
    <pubDate>Fri, 18 Apr 2008 04:54:34 GMT</pubDate>
    <dc:creator>Harichand M V</dc:creator>
    <dc:date>2008-04-18T04:54:34Z</dc:date>
    <item>
      <title>Installing shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104316#M693169</link>
      <description>I want to install a shared library.&lt;BR /&gt;I created a .h file and .c file and&lt;BR /&gt;compiled it as follows&lt;BR /&gt;cc -c *.c&lt;BR /&gt;gcc -shared -o libsim.so *.o&lt;BR /&gt;&lt;BR /&gt;I copied the libsim.so file to /usr/lib and the .h file to /usr/include. But problem is that I cant access library. I included the .h file in my  program. Still not working.Please help!!&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Apr 2008 03:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104316#M693169</guid>
      <dc:creator>Harichand M V</dc:creator>
      <dc:date>2008-04-18T03:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Installing shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104317#M693170</link>
      <description>hi Harichand,&lt;BR /&gt;&lt;BR /&gt;are there any errors generated?&lt;BR /&gt;&lt;BR /&gt;revert&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 18 Apr 2008 04:17:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104317#M693170</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-04-18T04:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Installing shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104318#M693171</link>
      <description>Did you use the "-lsim" option when compiling your program?&lt;BR /&gt;&lt;BR /&gt;What was the error message? &lt;BR /&gt;&lt;BR /&gt;Did it appear when trying to compile your program? Or was the compilation successful but the program displays an error message when you try to run it?&lt;BR /&gt;&lt;BR /&gt;(The correct "-l" option is formed by taking the library name, leaving out the suffix .a, .so or .sl and replacing the "lib" in the beginning with "-l". Thus, libsim.so -&amp;gt; -lsim)&lt;BR /&gt;&lt;BR /&gt;Note that the suffix of the shared library should be .sl instead of .so in PA-RISC-based HP-UX. With Itanium-based versions, .so is the recommended suffix but .sl may be used for backwards compatibility reasons.&lt;BR /&gt;&lt;BR /&gt;Documentation:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/11782/LinkerOnliinehelp0709/linkertasks.htm#SPECIFYINGLIBRARIES-LANDL" target="_blank"&gt;http://docs.hp.com/en/11782/LinkerOnliinehelp0709/linkertasks.htm#SPECIFYINGLIBRARIES-LANDL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 18 Apr 2008 04:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104318#M693171</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-04-18T04:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Installing shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104319#M693172</link>
      <description>Thank you ....&lt;BR /&gt;The -lsim option worked for me.........</description>
      <pubDate>Fri, 18 Apr 2008 04:53:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104319#M693172</guid>
      <dc:creator>Harichand M V</dc:creator>
      <dc:date>2008-04-18T04:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Installing shared library</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104320#M693173</link>
      <description>I got the answer&lt;BR /&gt;&lt;BR /&gt;using -lsim&lt;BR /&gt;&lt;BR /&gt;Thank you all.......</description>
      <pubDate>Fri, 18 Apr 2008 04:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/installing-shared-library/m-p/5104320#M693173</guid>
      <dc:creator>Harichand M V</dc:creator>
      <dc:date>2008-04-18T04:54:34Z</dc:date>
    </item>
  </channel>
</rss>

