<?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 PAM Module loading error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452072#M11289</link>
    <description>I've got a problem while building PAM modules. It seems to be due to dependencies of the pam module library:&lt;BR /&gt;- I built a first PAM module doing nothing but writting in the syslog. I had no problems.&lt;BR /&gt;- Then i add a function needing the use of external shared libraries. &lt;BR /&gt;In this case i have the same error "Can't load module...".&lt;BR /&gt;&lt;BR /&gt;I tried to link dynamically the external shared libraries (using shl_load in my module code).&lt;BR /&gt;Now the PAM is able to load the module, but i still have the following problems:&lt;BR /&gt;- My module library is able to find the external dependencies ONLY if i put the hard-coded full path of this library. &lt;BR /&gt;The pam module doesn't use the SHLIB_PATH define and the path given with the +b option while linking it.&lt;BR /&gt;- If the dependency library has its own dependencies, it won't be able to find the libraries, even with the SHLIB_PATH defined.&lt;BR /&gt;&lt;BR /&gt;Sometimes, i manage to make it work with SU, but i never made it working with DTLOGIN.&lt;BR /&gt;&lt;BR /&gt;Does Anyone have an idea ?&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Oct 2000 13:30:09 GMT</pubDate>
    <dc:creator>Stephane Vinsot</dc:creator>
    <dc:date>2000-10-10T13:30:09Z</dc:date>
    <item>
      <title>PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452072#M11289</link>
      <description>I've got a problem while building PAM modules. It seems to be due to dependencies of the pam module library:&lt;BR /&gt;- I built a first PAM module doing nothing but writting in the syslog. I had no problems.&lt;BR /&gt;- Then i add a function needing the use of external shared libraries. &lt;BR /&gt;In this case i have the same error "Can't load module...".&lt;BR /&gt;&lt;BR /&gt;I tried to link dynamically the external shared libraries (using shl_load in my module code).&lt;BR /&gt;Now the PAM is able to load the module, but i still have the following problems:&lt;BR /&gt;- My module library is able to find the external dependencies ONLY if i put the hard-coded full path of this library. &lt;BR /&gt;The pam module doesn't use the SHLIB_PATH define and the path given with the +b option while linking it.&lt;BR /&gt;- If the dependency library has its own dependencies, it won't be able to find the libraries, even with the SHLIB_PATH defined.&lt;BR /&gt;&lt;BR /&gt;Sometimes, i manage to make it work with SU, but i never made it working with DTLOGIN.&lt;BR /&gt;&lt;BR /&gt;Does Anyone have an idea ?&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2000 13:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452072#M11289</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2000-10-10T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452073#M11290</link>
      <description>Install the following 10.20 patches PHCO_20441 an PHSS_20607 and their dependencies.</description>
      <pubDate>Tue, 10 Oct 2000 14:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452073#M11290</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-10-10T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452074#M11291</link>
      <description>Install the following 10.20 patches PHCO_20441 an PHSS_20607 and their dependencies.</description>
      <pubDate>Tue, 10 Oct 2000 14:08:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452074#M11291</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-10-10T14:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452075#M11292</link>
      <description>Install the following 10.20 patches PHCO_20441 an PHSS_20607 and their dependencies.</description>
      <pubDate>Tue, 10 Oct 2000 14:10:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452075#M11292</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-10-10T14:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452076#M11293</link>
      <description>Sorry, i forgot to add that it's on HPUX 11, and that i already applied the last PAM patches (PHCO_21833)&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2000 14:24:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452076#M11293</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2000-10-10T14:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452077#M11294</link>
      <description>The patch number you gave are not PAM patches, but "libc" and "milli" patches.&lt;BR /&gt;Are they really the patches to install ?&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2000 14:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452077#M11294</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2000-10-10T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452078#M11295</link>
      <description>I installed the milli and libc patches.&lt;BR /&gt;&lt;BR /&gt;The problem is stil there...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Oct 2000 07:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452078#M11295</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2000-10-11T07:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452079#M11296</link>
      <description>If you do a chatr on the shared library that you produce, you should either see the full path of the library in the library list OR the path to the library in the embedded path section.   Your pam module needs to be able to find the shared lib outside of your environment so don't depend on SHLIB_PATH. &lt;BR /&gt;&lt;BR /&gt;Are you specifying the +b option in your link? This would allow you set a library search path for use at runtime. &lt;BR /&gt;&lt;BR /&gt;Here's example output from running chatr on 10.20 xclock. &lt;BR /&gt;&lt;BR /&gt;/usr/bin/X11/xclock: &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  enabled   second /opt/audio/lib:/opt/image/lib:/optb&lt;BR /&gt;         internal name:&lt;BR /&gt;             xclock&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /vobs/build_backing/feb96_1010//lib/libXt.1&lt;BR /&gt;             dynamic   /vobs/build_backing/feb96_1010//lib/libXext.1&lt;BR /&gt;             dynamic   /vobs/build_backing/feb96_1010//lib/libX11.1&lt;BR /&gt;             dynamic   /vobs/common/10.10/usr/lib/libc.1&lt;BR /&gt;         shared library binding:&lt;BR /&gt;             deferred &lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         kernel assisted branch predictionenabled&lt;BR /&gt;         lazy swap allocationdisabled&lt;BR /&gt;         text segment lockingdisabled&lt;BR /&gt;         data segment lockingdisabled&lt;BR /&gt;         data page size: 4K&lt;BR /&gt;         instruction page size: 4K</description>
      <pubDate>Wed, 11 Oct 2000 11:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452079#M11296</guid>
      <dc:creator>Rick Beldin</dc:creator>
      <dc:date>2000-10-11T11:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: PAM Module loading error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452080#M11297</link>
      <description>Yes, i compiled with options +s AND +b, as you can see...&lt;BR /&gt;&lt;BR /&gt;I even tried to manually set SHLIB_PATH in the code (putenv("SHLIB_PATH=&lt;WHATEVER&gt;")).&lt;BR /&gt;I still have the error : can't find module.&lt;BR /&gt;&lt;BR /&gt;here is my module's chatr:&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;ser-250:/usr/lib/security&amp;gt; chatr libpam_am.1&lt;BR /&gt;libpam_am.1:&lt;BR /&gt;         shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     enabled   first&lt;BR /&gt;             embedded path  enabled   second /lib:/usr/lib:/opt/ism5/shared_lib&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /usr/lib/libpam.1&lt;BR /&gt;         shared vtable support disabled&lt;BR /&gt;         static branch prediction disabled&lt;BR /&gt;         executable from stack: D (default)&lt;BR /&gt;         kernel assisted branch prediction enabled&lt;BR /&gt;         lazy swap allocation disabled&lt;BR /&gt;         text segment locking disabled&lt;BR /&gt;         data segment locking disabled&lt;BR /&gt;         third quadrant private data space disabled&lt;BR /&gt;         fourth quadrant private data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;you don't see the external needed library in the dependencies since i dynamically load it in the code.&lt;BR /&gt;&lt;BR /&gt;If i link with it, i have the error "can not module" from the libpam in the syslog, straight at the library load.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/WHATEVER&gt;</description>
      <pubDate>Wed, 11 Oct 2000 12:09:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pam-module-loading-error/m-p/2452080#M11297</guid>
      <dc:creator>Stephane Vinsot</dc:creator>
      <dc:date>2000-10-11T12:09:37Z</dc:date>
    </item>
  </channel>
</rss>

