<?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: problems linking with -lrwtool_v2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576767#M679222</link>
    <description>&amp;gt;but is concerned about why it was not automatically created on HP-UX 11.23.  He says:&lt;BR /&gt;"Can you ask if the link is still part of the OS on HP-UX 11.23 [PA-RISC], I don't see it in 11.23 swlist, but it's there on HP-UX 11.11."&lt;BR /&gt;&lt;BR /&gt;Hmm.  The -AA librwtool_v2 was added to 11.11 in 2002 in a patch.&lt;BR /&gt;11.23 for IPF was released in 2003 and the .so symlinks were there.&lt;BR /&gt;11.23 for PA was released in 2004 and the .sl symlinks don't seem to be present.  :-(&lt;BR /&gt;&lt;BR /&gt;And unfortunately following patches for PA didn't create the symlinks, assuming they were there.&lt;BR /&gt;&lt;BR /&gt;So you are the first to report this problem in 5+ years.&lt;BR /&gt;If you have a support contract, please contact the Response Center and report this bug.</description>
    <pubDate>Thu, 04 Feb 2010 05:42:05 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-02-04T05:42:05Z</dc:date>
    <item>
      <title>problems linking with -lrwtool_v2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576764#M679219</link>
      <description>&lt;!--!*#--&gt;I'm building a shared library on HP-UX 11.23 PA-RISC. The code is compiled -AA, so I thought that means I need to link with -lrwtool_v2 instead of -lrwtool. However, the symlink for librwtool_v2.sl does not exist on the system:&lt;BR /&gt;% ls -lF /lib/librwtool*&lt;BR /&gt;-r-xr-xr-x   1 bin        bin        1388544 Jul 14  2004 /lib/librwtool.1*&lt;BR /&gt;-r-xr-xr-x   1 bin        bin        1429504 Jul  5  2006 /lib/librwtool.2*&lt;BR /&gt;-r--r--r--   1 bin        bin        1412324 Jul  5  2006 /lib/librwtool.a&lt;BR /&gt;lrwxrwxrwx   1 bin        bin             13 Jan 12 13:29 /lib/librwtool.sl@ -&amp;gt; ./librwtool.2&lt;BR /&gt;-r-xr-xr-x   1 bin        bin        2772992 Jul  5  2006 /lib/librwtool_v2.2*&lt;BR /&gt;-r--r--r--   1 bin        bin        3711576 Jul  5  2006 /lib/librwtool_v2.a&lt;BR /&gt;&lt;BR /&gt;I link with:&lt;BR /&gt;aCC -AA -mt +DAportable +Z      -DRW_DONT_USE_MEMPOOL   -L. -L/lib&lt;BR /&gt;-L/export/sgc/16_0_hpps_bld/bld/lib     -L/export/sgc/extern/16_0_hpps/lib -b +Z&lt;BR /&gt; -o libxscPublish.sl xscPublish.p xscLdapIf.p  +p +w +W392,431,655,684,818 -I. -&lt;BR /&gt;I/include       -I/export/sgc/16_0_hpps_bld/bld/include -I/export/sgc/extern/16_&lt;BR /&gt;0_hpps/include  -I/opt/vbroker8.0full/include   -I/opt/vbroker8.0full/include/di&lt;BR /&gt;spatch  -I/opt/vbroker8.0full/include/stubs     -I/opt/wsdtx/src/src -I /export/&lt;BR /&gt;sgc/extern/16_0_hpps/include/xercesc  -g        -DINCLUDE_FSTREAM       -D_VIS_L&lt;BR /&gt;ONG_LONG        -D_VIS_LONG_DOUBLE -D_VIS_UNICODE -D_VIS_STREAM_WCHAR  -lxscConf&lt;BR /&gt;ig -lxscCipher -lrwtool_v2      -lxscTrace      -L/opt/ldap/lib -lldap -llber&lt;BR /&gt;&lt;BR /&gt;and get this linker error:&lt;BR /&gt;/usr/ccs/bin/ld: DP relative code in file /lib/librwtool_v2.a(cstring.o) - share&lt;BR /&gt;d library must be position independent.  Use +z or +Z to recompile.&lt;BR /&gt;&lt;BR /&gt;presumably because the linker finds the static rather than the shared library.&lt;BR /&gt;&lt;BR /&gt;So are we really missing the librwtool_v2.sl? Or should I be using a different library, like -lrwtool (though I thought that was for -AP)?&lt;BR /&gt;&lt;BR /&gt;% what /opt/aCC/bin/aCC&lt;BR /&gt;/opt/aCC/bin/aCC:&lt;BR /&gt;        $Revision: 92453-07 linker linker crt0.o B.11.53 060807 $&lt;BR /&gt;        HP aC++ B3910B A.03.80&lt;BR /&gt;        HP aC++ B3910B A.03.73 Classic Iostream Library&lt;BR /&gt;        HP aC++ B3910B A.03.73 Language Support Library&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Feb 2010 00:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576764#M679219</guid>
      <dc:creator>Eric Krohn</dc:creator>
      <dc:date>2010-02-03T00:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: problems linking with -lrwtool_v2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576765#M679220</link>
      <description>&amp;gt;I thought that means I need to link with -lrwtool_v2 instead of -lrwtool.&lt;BR /&gt;&lt;BR /&gt;Exactly.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the symlink for librwtool_v2.sl does not exist on the system:&lt;BR /&gt;&lt;BR /&gt;Then you'll have to manually add it back.&lt;BR /&gt;# ln -s librwtool_v2.2 /usr/lib/librwtool_v2.sl&lt;BR /&gt;&lt;BR /&gt;This symlink should be on the core OS.&lt;BR /&gt;swlist -l file | grep lib/librwtool_v2&lt;BR /&gt;&lt;BR /&gt;&amp;gt;% ls -lF /lib/librwtool*&lt;BR /&gt;&amp;gt;-L/lib&lt;BR /&gt;&lt;BR /&gt;Don't use /lib, use /usr/lib.  The latter -L is the default, remove it.</description>
      <pubDate>Wed, 03 Feb 2010 01:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576765#M679220</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-02-03T01:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: problems linking with -lrwtool_v2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576766#M679221</link>
      <description>&lt;!--!*#--&gt;Thanks, Dennis.&lt;BR /&gt;&lt;BR /&gt;The -L/lib resulted from a missing Makefile variable -- fixed now.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;the symlink for librwtool_v2.sl does not exist on the system:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Then you'll have to manually add it back.&lt;BR /&gt;&amp;gt;# ln -s librwtool_v2.2 /usr/lib/librwtool_v2.sl&lt;BR /&gt;&lt;BR /&gt;&amp;gt;This symlink should be on the core OS.&lt;BR /&gt;&amp;gt;swlist -l file | grep lib/librwtool_v2&lt;BR /&gt;&lt;BR /&gt;Our system administrator manually created the symlink, but is concerned about why it was not automatically created on HP-UX 11.23.  He says:&lt;BR /&gt;"Can you ask if the link is still part of the OS on HP-UX 11.23 [PA-RISC], I&lt;BR /&gt;don't see it in 11.23 swlist, but it's there on HP-UX 11.11."&lt;BR /&gt;&lt;BR /&gt;Running swlist -l file | grep lib/librwtool_v2 on 11.11 PA-RISC:&lt;BR /&gt;  OS-Core.CORE-SHLIBS: /usr/lib/librwtool_v2.2                 &lt;BR /&gt;  OS-Core.CORE-SHLIBS: /usr/lib/librwtool_v2.sl                &lt;BR /&gt;  PHSS_33946.CORE-SHLIBS: /usr/lib/librwtool_v2.2                      &lt;BR /&gt;  PHSS_33946.CORE-SHLIBS: /usr/lib/librwtool_v2.sl                     &lt;BR /&gt;  PHSS_33946.LANG-MIN: /usr/lib/librwtool_v2.a                 &lt;BR /&gt;  ProgSupport.LANG-MIN: /usr/lib/librwtool_v2.a                &lt;BR /&gt;&lt;BR /&gt;but on 11.23 PA-RISC the /usr/lib/librwtool_v2.sl is omitted:&lt;BR /&gt;  OS-Core.CORE-SHLIBS: /usr/lib/librwtool_v2.2                 &lt;BR /&gt;  PHSS_35055.CORE-SHLIBS: /usr/lib/librwtool_v2.2                      &lt;BR /&gt;  PHSS_35055.LANG-MIN: /usr/lib/librwtool_v2.a                 &lt;BR /&gt;  ProgSupport.LANG-MIN: /usr/lib/librwtool_v2.a                &lt;BR /&gt;</description>
      <pubDate>Wed, 03 Feb 2010 16:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576766#M679221</guid>
      <dc:creator>Eric Krohn</dc:creator>
      <dc:date>2010-02-03T16:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: problems linking with -lrwtool_v2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576767#M679222</link>
      <description>&amp;gt;but is concerned about why it was not automatically created on HP-UX 11.23.  He says:&lt;BR /&gt;"Can you ask if the link is still part of the OS on HP-UX 11.23 [PA-RISC], I don't see it in 11.23 swlist, but it's there on HP-UX 11.11."&lt;BR /&gt;&lt;BR /&gt;Hmm.  The -AA librwtool_v2 was added to 11.11 in 2002 in a patch.&lt;BR /&gt;11.23 for IPF was released in 2003 and the .so symlinks were there.&lt;BR /&gt;11.23 for PA was released in 2004 and the .sl symlinks don't seem to be present.  :-(&lt;BR /&gt;&lt;BR /&gt;And unfortunately following patches for PA didn't create the symlinks, assuming they were there.&lt;BR /&gt;&lt;BR /&gt;So you are the first to report this problem in 5+ years.&lt;BR /&gt;If you have a support contract, please contact the Response Center and report this bug.</description>
      <pubDate>Thu, 04 Feb 2010 05:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-linking-with-lrwtool-v2/m-p/4576767#M679222</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-02-04T05:42:05Z</dc:date>
    </item>
  </channel>
</rss>

