<?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: chatr -l not supported in HPUX Itanium?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266764#M655486</link>
    <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick turnaround. I am porting my application from HP PA-RISC to HP Itanium. While building my application on PA-RISC earlier, the libboost_filesystem was giving error saying cannot find &lt;FULLPATH&gt;/libboost_system. The fullpath is the path in the boost source. Hence, I had used chatr -l for PA-RISC and then had given the path to find libboost_system in SHLIB_PATH.&lt;BR /&gt;&lt;BR /&gt;So, is there any equivalent for chatr -l in Itanium? If not, how do I build boost with +compat flag? Is this a compilation flag? I believe this flag works for cc only right? I am using gcc for compilation.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jithin.&lt;BR /&gt;&lt;BR /&gt;&lt;/FULLPATH&gt;</description>
    <pubDate>Thu, 16 Dec 2010 10:32:07 GMT</pubDate>
    <dc:creator>Jithin Prakash</dc:creator>
    <dc:date>2010-12-16T10:32:07Z</dc:date>
    <item>
      <title>chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266762#M655484</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I was building boost libraries on my HPUX Itanium box. The libboost_filesystem.sl.1.39.0 has a dependency on libboost_system.sl.1.39.0. But chatr shows the full path of libboost_system library in the shared libraries list.. Hence,&lt;BR /&gt;I tried to do chatr -l libboost_system.sl.1.39.0 &lt;PATH&gt;/libboost_filesystem.sl.1.39.0.&lt;BR /&gt;&lt;BR /&gt;It failed with the following error:&lt;BR /&gt;chatr(error): invalid -l argument: libboost_system.sl.1.39.0&lt;BR /&gt;&lt;BR /&gt;Can somone please clarify what can be done for this? It would be a great help..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jithin.&lt;/PATH&gt;</description>
      <pubDate>Thu, 16 Dec 2010 09:29:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266762#M655484</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-16T09:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266763#M655485</link>
      <description>&amp;gt;chatr shows the full path of libboost_system library in the shared libraries list.&lt;BR /&gt;&lt;BR /&gt;What's your exact output?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I tried to do chatr -l libboost_system.sl.1.39.0 &lt;PATH&gt;/libboost_filesystem.sl.1.39.0.&lt;BR /&gt;&lt;BR /&gt;Why do you think you need to do that?&lt;BR /&gt;-l is only available for PA32 or if you use +compat.&lt;/PATH&gt;</description>
      <pubDate>Thu, 16 Dec 2010 10:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266763#M655485</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-16T10:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266764#M655486</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick turnaround. I am porting my application from HP PA-RISC to HP Itanium. While building my application on PA-RISC earlier, the libboost_filesystem was giving error saying cannot find &lt;FULLPATH&gt;/libboost_system. The fullpath is the path in the boost source. Hence, I had used chatr -l for PA-RISC and then had given the path to find libboost_system in SHLIB_PATH.&lt;BR /&gt;&lt;BR /&gt;So, is there any equivalent for chatr -l in Itanium? If not, how do I build boost with +compat flag? Is this a compilation flag? I believe this flag works for cc only right? I am using gcc for compilation.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jithin.&lt;BR /&gt;&lt;BR /&gt;&lt;/FULLPATH&gt;</description>
      <pubDate>Thu, 16 Dec 2010 10:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266764#M655486</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-16T10:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266765#M655487</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can someone please provide some insights on this one??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jithin</description>
      <pubDate>Fri, 17 Dec 2010 02:28:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266765#M655487</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-17T02:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266766#M655488</link>
      <description>&amp;gt;is there any equivalent for chatr -l in Integrity?&lt;BR /&gt;&lt;BR /&gt;There is no need to use that for Integrity.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how do I build boost with +compat flag? Is this a compilation flag?&lt;BR /&gt;&lt;BR /&gt;This is a linker option but I don't think you need it.&lt;BR /&gt;&lt;BR /&gt;Again, what is your exact chatr(1) output, without that -l.</description>
      <pubDate>Fri, 17 Dec 2010 05:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266766#M655488</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-17T05:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266767#M655489</link>
      <description>The chatr output is:&lt;BR /&gt;&lt;BR /&gt;bash-4.1# chatr libboost_filesystem.sl.1.39.0&lt;BR /&gt;libboost_filesystem.sl.1.39.0:&lt;BR /&gt;         32-bit ELF shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first&lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  &lt;BR /&gt;         shared library list:&lt;BR /&gt;             bin.v2/libs/system/build/gcc-4.2.3/release/threading-multi/libboost_system.sl.1.39.0&lt;BR /&gt;             librt.so.1&lt;BR /&gt;             libstdc++.so&lt;BR /&gt;             libunwind.so.1&lt;BR /&gt;             libm.so.1&lt;BR /&gt;         shared library mapped private disabled&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         explicit unloading enabled&lt;BR /&gt;         linkage table protection disabled&lt;BR /&gt;         segments:&lt;BR /&gt;             index type     address      flags size&lt;BR /&gt;                 7 text     04000000     z---c-    D (default)&lt;BR /&gt;                 8 data     40010000     ---m--    D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation for dynamic segments disabled&lt;BR /&gt;         nulptr dereferences trap enabled&lt;BR /&gt;         address space model: default&lt;BR /&gt;         caliper dynamic instrumentation disabled&lt;BR /&gt;&lt;BR /&gt;As you can see, the libboost_system has full path mentioned.. Can you please tell me how to solve this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 17 Dec 2010 08:30:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266767#M655489</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-17T08:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266768#M655490</link>
      <description>Also, if I execute ld, I get error as follows:&lt;BR /&gt;&lt;BR /&gt;bash-4.1# ld libboost_filesystem.sl.1.39.0&lt;BR /&gt;ld: Can't find dependent library "bin.v2/libs/system/build/gcc-4.2.3/release/threading-multi/libboost_system.sl.1.39.0"&lt;BR /&gt;Fatal error.&lt;BR /&gt;&lt;BR /&gt;This is the problem, exactly speaking. I was doing some research and saw that there is a linker flag +nodefaultrpath which can be given. Am I on the right track?</description>
      <pubDate>Fri, 17 Dec 2010 08:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266768#M655490</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-17T08:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266769#M655491</link>
      <description>&amp;gt;the libboost_system has full path mentioned.  Can you please tell me how to solve this problem?&lt;BR /&gt;&lt;BR /&gt;Ok, I was finally able to duplicate the problem.  You are going to have to relink.&lt;BR /&gt;&lt;BR /&gt;The proper link options are:&lt;BR /&gt;-Lbin.v2/libs/system/build/gcc-4.2.3/release/threading-multi -l:libboost_filesystem.sl.1.39.0&lt;BR /&gt;&lt;BR /&gt;This splits the path from the file.&lt;BR /&gt;&lt;BR /&gt;Note: On Integrity, you should use .so, not .sl for your shared libs.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;saw that there is a linker flag +nodefaultrpath which can be given. Am I on the right track?&lt;BR /&gt;&lt;BR /&gt;No.  Your "embedded path enabled third" is already empty.  But you may need it when you add that -L above.</description>
      <pubDate>Fri, 17 Dec 2010 08:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266769#M655491</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-17T08:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266770#M655492</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have the boost libraries. But, relinking seems to be difficult since boost is built with the help of bjam. It has some weird syntax and I can't find where to add -L&lt;LIBPATH&gt;..&lt;BR /&gt;&lt;BR /&gt;Is there any alternative? Like how chatr -l solves this in PA. If I have the library already, can I do something on that to do away with the libboost_system full path?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;Jithin.&lt;/LIBPATH&gt;</description>
      <pubDate>Fri, 17 Dec 2010 09:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266770#M655492</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-17T09:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266771#M655493</link>
      <description>&amp;gt;relinking seems to be difficult since boost is built with the help of bjam. It has some weird syntax and I can't find where to add -L&lt;LIBPATH&gt;.&lt;BR /&gt;&lt;BR /&gt;I suppose you can build with "export CXXOPTS=-v" and then extract the link line and correct it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Like how chatr -l solves this in PA. If I have the library already, can I do something on that to do away with the libboost_system full path?&lt;BR /&gt;&lt;BR /&gt;No.  You are expected to link correctly, that's why there is no need for -l.&lt;BR /&gt;&lt;BR /&gt;Other than use a binary editor, no.&lt;BR /&gt;(Since it doesn't start with a "/", it isn't really a full or absolute path.)&lt;/LIBPATH&gt;</description>
      <pubDate>Sat, 18 Dec 2010 00:54:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266771#M655493</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-18T00:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266772#M655494</link>
      <description>On manually linking using g++ by providing -L&lt;LIBPATH&gt; -lboost_system, the application started working. I guess that was the problem, so I am relinking the boost_filesystem once the boost build completes in my own script.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot Dennis.&lt;/LIBPATH&gt;</description>
      <pubDate>Mon, 20 Dec 2010 06:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266772#M655494</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-20T06:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266773#M655495</link>
      <description>I found the best solution:&lt;BR /&gt;&lt;BR /&gt;This is a bug in boost 1.39. I fixed it in boost filesystem Jamfile.v2 as this:&lt;BR /&gt;&lt;BR /&gt;project boost/filesystem&lt;BR /&gt;    : source-location ../src&lt;BR /&gt;    : requirements &lt;DEPENDENCY&gt;../../system/build//boost_system&lt;BR /&gt;    : usage-requirements # pass these requirement to dependents (i.e. users)&lt;BR /&gt;      &lt;LINK /&gt;shared:&lt;DEFINE&gt;BOOST_FILESYSTEM_DYN_LINK=1&lt;BR /&gt;      &lt;LINK /&gt;static:&lt;DEFINE&gt;BOOST_FILESYSTEM_STATIC_LINK=1&lt;BR /&gt;    ;&lt;BR /&gt;&lt;BR /&gt;SOURCES =&lt;BR /&gt;    operations path portability utf8_codecvt_facet ;&lt;BR /&gt;&lt;BR /&gt;lib boost_system : : &lt;NAME&gt;boost_system &lt;SEARCH&gt;../../../../lib ;&lt;BR /&gt;&lt;BR /&gt;lib boost_filesystem&lt;BR /&gt;    :&lt;BR /&gt;    $(SOURCES).cpp&lt;BR /&gt;    boost_system&lt;BR /&gt;    :&lt;BR /&gt;    &lt;LINK /&gt;shared:&lt;DEFINE&gt;BOOST_ALL_DYN_LINK=1 # tell source we're building dll's&lt;BR /&gt;    &lt;LINK /&gt;static:&lt;DEFINE&gt;BOOST_All_STATIC_LINK=1 # tell source we're building static lib's&lt;BR /&gt;    :&lt;BR /&gt;    :&lt;BR /&gt;    ;&lt;BR /&gt;&lt;BR /&gt;boost-install boost_filesystem ;&lt;BR /&gt;&lt;BR /&gt;Now things work properly.&lt;BR /&gt;&lt;BR /&gt;I am providing my solution for future reference.&lt;BR /&gt;&lt;/DEFINE&gt;&lt;/DEFINE&gt;&lt;/SEARCH&gt;&lt;/NAME&gt;&lt;/DEFINE&gt;&lt;/DEFINE&gt;&lt;/DEPENDENCY&gt;</description>
      <pubDate>Tue, 21 Dec 2010 02:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266773#M655495</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-21T02:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: chatr -l not supported in HPUX Itanium??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266774#M655496</link>
      <description>This is a bug in boost 1.39. I fixed it in boost filesystem Jamfile.v2 as this:&lt;BR /&gt;&lt;BR /&gt;project boost/filesystem&lt;BR /&gt;: source-location ../src&lt;BR /&gt;: requirements &lt;DEPENDENCY&gt;../../system/build//boost_system&lt;BR /&gt;: usage-requirements # pass these requirement to dependents (i.e. users)&lt;BR /&gt;&lt;LINK /&gt;shared:&lt;DEFINE&gt;BOOST_FILESYSTEM_DYN_LINK=1&lt;BR /&gt;&lt;LINK /&gt;static:&lt;DEFINE&gt;BOOST_FILESYSTEM_STATIC_LINK=1&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;SOURCES =&lt;BR /&gt;operations path portability utf8_codecvt_facet ;&lt;BR /&gt;&lt;BR /&gt;lib boost_system : : &lt;NAME&gt;boost_system &lt;SEARCH&gt;../../../../lib ;&lt;BR /&gt;&lt;BR /&gt;lib boost_filesystem&lt;BR /&gt;:&lt;BR /&gt;$(SOURCES).cpp&lt;BR /&gt;boost_system&lt;BR /&gt;:&lt;BR /&gt;&lt;LINK /&gt;shared:&lt;DEFINE&gt;BOOST_ALL_DYN_LINK=1 # tell source we're building dll's&lt;BR /&gt;&lt;LINK /&gt;static:&lt;DEFINE&gt;BOOST_All_STATIC_LINK=1 # tell source we're building static lib's&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;boost-install boost_filesystem ;&lt;BR /&gt;&lt;BR /&gt;Now things work properly.&lt;/DEFINE&gt;&lt;/DEFINE&gt;&lt;/SEARCH&gt;&lt;/NAME&gt;&lt;/DEFINE&gt;&lt;/DEFINE&gt;&lt;/DEPENDENCY&gt;</description>
      <pubDate>Tue, 21 Dec 2010 08:32:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-l-not-supported-in-hpux-itanium/m-p/5266774#M655496</guid>
      <dc:creator>Jithin Prakash</dc:creator>
      <dc:date>2010-12-21T08:32:18Z</dc:date>
    </item>
  </channel>
</rss>

