<?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: Problem resolving problem with pwrite64() unresolved symbol in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897424#M104249</link>
    <description>Dietmar,&lt;BR /&gt;&lt;BR /&gt; I did what you have suggested and it solved my problem.  thank you so much, I don't know how I would have been able to figure this out without your help.&lt;BR /&gt;&lt;BR /&gt; Another question (may I?), if I do the following command, I receive this output:&lt;BR /&gt;&lt;BR /&gt;calahu43# nm -a libc.sl | grep pwrite64&lt;BR /&gt;__pwrite64          |   1033152|extern|code   |$CODE$&lt;BR /&gt;pwrite64            |   1033152|extern|code   |$CODE$&lt;BR /&gt;pwrite64            |   1033152|extern|entry  |&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; I haven't done the command BEFORE applying the patch but if I would have done so, what would be the expected output?  Will the nm|grep returns nothing?&lt;BR /&gt;&lt;BR /&gt;  The reason I am asking this is because I am not sure of the "extern" meaning.  Those it means the pwrite64 is being used and requires to be defined externaly, or does it mean that it is defined in this library and available external.&lt;BR /&gt;&lt;BR /&gt; I will have to install my program on several machines and I need to find a way to know if a patch is required or not. I am wandering if the "nm |grep pwrite64" is a good way..&lt;BR /&gt;&lt;BR /&gt; thanks,&lt;BR /&gt;&lt;BR /&gt;- Pierre&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 05 Feb 2003 17:24:36 GMT</pubDate>
    <dc:creator>Pierre Lemay_1</dc:creator>
    <dc:date>2003-02-05T17:24:36Z</dc:date>
    <item>
      <title>Problem resolving problem with pwrite64() unresolved symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897420#M104245</link>
      <description>Hello everyone, &lt;BR /&gt;&lt;BR /&gt;I am trying to use an application that generate an error saying that dld.sl can't resolve the pwrite64() symbol on my HP 11 machine. I have been told that the patch PHKL_20349 would resolved this. &lt;BR /&gt;&lt;BR /&gt;I have downloaded the recommand patch from HP which include patch PHKL_25475 and a bunch of derived patches as suggested by HP web site. Once downloaded, I have executed the create_depot_hp-ux_11 which created the depot and run swinstall to install the complete bundle from that new depot location. &lt;BR /&gt;&lt;BR /&gt;The patches have been installed, kernel recompiled, machine reboot,etc., but once done I still have the same problem with my application. &lt;BR /&gt;&lt;BR /&gt;Then I have done the same thing with patch PHKL_28202 since this is the "most recent" patch while PHKL_25475 what the "recommended" one. &lt;BR /&gt;&lt;BR /&gt;I have installed that patch the same way and once the machine rebooted I could see that I still have the same problem... &lt;BR /&gt;&lt;BR /&gt;Doing a chatr on the binary that is causing me problem I can see this: &lt;BR /&gt;&lt;BR /&gt;shared executable &lt;BR /&gt;shared library dynamic path search: &lt;BR /&gt;SHLIB_PATH enabled first &lt;BR /&gt;embedded path disabled second Not Defined &lt;BR /&gt;shared library list: &lt;BR /&gt;dynamic /lib/libpthread.1 &lt;BR /&gt;dynamic /lib/libm.2 &lt;BR /&gt;dynamic /lib/librt.2 &lt;BR /&gt;dynamic /lib/libcl.2 &lt;BR /&gt;dynamic /lib/libc.2 &lt;BR /&gt;shared library binding: &lt;BR /&gt;deferred &lt;BR /&gt;&lt;BR /&gt;Which library should normally contains the pwrite64() function and how to verify if a library contains it? &lt;BR /&gt;&lt;BR /&gt;Could it be possible that another libc.sl got updated by the patch installation? &lt;BR /&gt;&lt;BR /&gt;Any suggestion/comments on howI can resolve this pwrite64() symbol will be much appreciated. &lt;BR /&gt;&lt;BR /&gt;thanks, &lt;BR /&gt;&lt;BR /&gt;- Pierre</description>
      <pubDate>Wed, 05 Feb 2003 14:45:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897420#M104245</guid>
      <dc:creator>Pierre Lemay_1</dc:creator>
      <dc:date>2003-02-05T14:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem resolving problem with pwrite64() unresolved symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897421#M104246</link>
      <description>Pierre,&lt;BR /&gt;&lt;BR /&gt;installing the kernel patch would be the correct action for unresolved symbols during kernel build.&lt;BR /&gt;&lt;BR /&gt;You get the error during while exectuing an user process... so you need to patch the required shared library. In the case of pwrite64() this would be the libc patch, for 11.00 PHCO_27731.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Wed, 05 Feb 2003 14:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897421#M104246</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-02-05T14:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem resolving problem with pwrite64() unresolved symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897422#M104247</link>
      <description>Unresolved symbols during a kernel build means the patches you installed did not go in properly.&lt;BR /&gt;&lt;BR /&gt;This could require you to go to your backup system file in the /stand directory, rebuild the kernel to check if it builds and then reinstall the patch depot you created on itrc.&lt;BR /&gt;&lt;BR /&gt;I don't see an unresolved symbols warning in your message but the first response indicates it, and I want you to know that you can not solve your problem unless you can sucessfully generate a new kernel.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Wed, 05 Feb 2003 16:15:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897422#M104247</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-02-05T16:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem resolving problem with pwrite64() unresolved symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897423#M104248</link>
      <description>Steven, I don't believe Pierre has a kernel build problem at all. :-)&lt;BR /&gt;&lt;BR /&gt;He has a binary reqesting the pwrite64() function. And this is delivered by libc.2:&lt;BR /&gt;&lt;BR /&gt;# nm /usr/lib/libc.2 |grep "^pwrite64.*code"&lt;BR /&gt;pwrite64            |   1105240|extern|code   |$CODE$&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2003 16:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897423#M104248</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-02-05T16:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem resolving problem with pwrite64() unresolved symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897424#M104249</link>
      <description>Dietmar,&lt;BR /&gt;&lt;BR /&gt; I did what you have suggested and it solved my problem.  thank you so much, I don't know how I would have been able to figure this out without your help.&lt;BR /&gt;&lt;BR /&gt; Another question (may I?), if I do the following command, I receive this output:&lt;BR /&gt;&lt;BR /&gt;calahu43# nm -a libc.sl | grep pwrite64&lt;BR /&gt;__pwrite64          |   1033152|extern|code   |$CODE$&lt;BR /&gt;pwrite64            |   1033152|extern|code   |$CODE$&lt;BR /&gt;pwrite64            |   1033152|extern|entry  |&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; I haven't done the command BEFORE applying the patch but if I would have done so, what would be the expected output?  Will the nm|grep returns nothing?&lt;BR /&gt;&lt;BR /&gt;  The reason I am asking this is because I am not sure of the "extern" meaning.  Those it means the pwrite64 is being used and requires to be defined externaly, or does it mean that it is defined in this library and available external.&lt;BR /&gt;&lt;BR /&gt; I will have to install my program on several machines and I need to find a way to know if a patch is required or not. I am wandering if the "nm |grep pwrite64" is a good way..&lt;BR /&gt;&lt;BR /&gt; thanks,&lt;BR /&gt;&lt;BR /&gt;- Pierre&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Feb 2003 17:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897424#M104249</guid>
      <dc:creator>Pierre Lemay_1</dc:creator>
      <dc:date>2003-02-05T17:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem resolving problem with pwrite64() unresolved symbol</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897425#M104250</link>
      <description>Hi, Pierre!&lt;BR /&gt;&lt;BR /&gt;Indeed, you can look with nm(1) at a binary's name list. If you see "extern" and "code" then it contains code, that is externally visible. "undef" would mean that this binary reqeusts the symbol to be resolved from somewhere else.&lt;BR /&gt;&lt;BR /&gt;Concerning the pwrite/pwrite64 syscalls, they were added to 11.00 with patches. You need libc patch PHCO_20765 or newer. The kernel patch introducing full support for those syscalls is PHKL_20349.&lt;BR /&gt;&lt;BR /&gt;Best regards...&lt;BR /&gt; Dietmar.</description>
      <pubDate>Thu, 06 Feb 2003 10:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-resolving-problem-with-pwrite64-unresolved-symbol/m-p/2897425#M104250</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2003-02-06T10:25:12Z</dc:date>
    </item>
  </channel>
</rss>

