<?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: dlopen probleme with PHP4 + Apache2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dlopen-probleme-with-php4-apache2/m-p/3253788#M887728</link>
    <description>i don't use SHLIB or LD_LIBRARY, all lib are intalled in absolute path:&lt;BR /&gt;&lt;BR /&gt;[soignes:root]/usr/local/apache2#chatr modules/libphp4.so&lt;BR /&gt;modules/libphp4.so:&lt;BR /&gt;         shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     disabled  second&lt;BR /&gt;             embedded path  enabled   first  /varsoft/delivery/CEGTOOL/src/php-4.3.6/libs&lt;BR /&gt;         internal name:&lt;BR /&gt;             libphp4.sl&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /usr/lib/libcl.2&lt;BR /&gt;             static    /usr/local/apache2/lib/libapr-0.sl.9&lt;BR /&gt;             static    /usr/local/apache2/lib/libaprutil-0.sl.9&lt;BR /&gt;             static    /usr/local/lib/libexpat.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libdb-4.2.sl&lt;BR /&gt;             dynamic   /usr/lib/libpthread.1&lt;BR /&gt;             dynamic   /usr/lib/libdld.2&lt;BR /&gt;             static    /usr/local/lib/libgd.sl&lt;BR /&gt;             static    /usr/local/lib/libt1.sl&lt;BR /&gt;             dynamic   /usr/lib/libX11.3&lt;BR /&gt;             dynamic   /usr/local/lib/X11/libXpm.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libpng.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libz.sl&lt;BR /&gt;             static    /usr/local/lib/libjpeg.sl&lt;BR /&gt;             static    /usr/local/lib/libxsltbreakpoint.sl&lt;BR /&gt;             static    /usr/local/lib/libxslt.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libbz2.sl&lt;BR /&gt;             dynamic   /usr/lib/libm.2&lt;BR /&gt;             static    /usr/local/lib/libxml2.sl&lt;BR /&gt;             static    /usr/local/lib/libintl.sl&lt;BR /&gt;             dynamic   /usr/lib/libc.2&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;         third quadrant global data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;&lt;BR /&gt;i that way have no probleme to find library !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;some symbol for exemple are in libdld.sl, when you read the ldd result, you see that dld are in list! or why they can resolv symbol of it!!!!</description>
    <pubDate>Tue, 20 Apr 2004 11:26:32 GMT</pubDate>
    <dc:creator>CARBONNEAUX</dc:creator>
    <dc:date>2004-04-20T11:26:32Z</dc:date>
    <item>
      <title>dlopen probleme with PHP4 + Apache2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dlopen-probleme-with-php4-apache2/m-p/3253786#M887726</link>
      <description>Probleme Description:&lt;BR /&gt;&lt;BR /&gt;have compile apache2 with dso support, and i tested it separatly...it's ok! work fin with apache included dso!&lt;BR /&gt;&lt;BR /&gt;after, i've compiled php with apxs2 support, without probleme... &lt;BR /&gt;&lt;BR /&gt;The php module has been correctly installed in apache modules directory and&lt;BR /&gt;the apache conf have been correctly modify by the php installer...&lt;BR /&gt;&lt;BR /&gt;but... when i try to start apache with php module, &lt;BR /&gt;they can't load php module...&lt;BR /&gt;&lt;BR /&gt;when i verify with ldd -d why the module don't load, i've this result:&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/lib/libdld.2 =&amp;gt;    /usr/lib/libdld.2&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libintl.sl =&amp;gt;    /usr/local/lib/libintl.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libiconv.sl =&amp;gt;   /usr/local/lib/libiconv.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libxml2.sl =&amp;gt;    /usr/local/lib/libxml2.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libintl.sl =&amp;gt;    /usr/local/lib/libintl.sl&lt;BR /&gt;        /usr/lib/libm.2 =&amp;gt;      /usr/lib/libm.2&lt;BR /&gt;        /usr/local/lib/libz.sl =&amp;gt;       /usr/local/lib/libz.sl&lt;BR /&gt;        /usr/lib/libpthread.1 =&amp;gt;        /usr/lib/libpthread.1&lt;BR /&gt;        /usr/lib/libm.2 =&amp;gt;      /usr/lib/libm.2&lt;BR /&gt;        /usr/local/lib/libbz2.sl =&amp;gt;     /usr/local/lib/libbz2.sl&lt;BR /&gt;        /usr/local/lib/libdb.sl =&amp;gt;      /usr/local/lib/libdb.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libxslt.sl =&amp;gt;    /usr/local/lib/libxslt.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/lib/libm.2 =&amp;gt;      /usr/lib/libm.2&lt;BR /&gt;        /usr/local/lib/libintl.sl =&amp;gt;    /usr/local/lib/libintl.sl&lt;BR /&gt;        /usr/lib/libpthread.1 =&amp;gt;        /usr/lib/libpthread.1&lt;BR /&gt;        /usr/local/lib/libz.sl =&amp;gt;       /usr/local/lib/libz.sl&lt;BR /&gt;        /usr/local/lib/libxml2.sl =&amp;gt;    /usr/local/lib/libxml2.sl&lt;BR /&gt;        /usr/local/lib/libxsltbreakpoint.sl =&amp;gt;  /usr/local/lib/libxsltbreakpoint.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libjpeg.sl =&amp;gt;    /usr/local/lib/libjpeg.sl&lt;BR /&gt;        /usr/local/lib/libz.sl =&amp;gt;       /usr/local/lib/libz.sl&lt;BR /&gt;        /usr/local/lib/libpng.sl =&amp;gt;     /usr/local/lib/libpng.sl&lt;BR /&gt;        /usr/local/lib/X11/libXpm.sl =&amp;gt; /usr/local/lib/X11/libXpm.sl&lt;BR /&gt;        /usr/lib/libX11.3 =&amp;gt;    /usr/lib/libX11.3&lt;BR /&gt;        /usr/local/lib/libt1.sl =&amp;gt;      /usr/local/lib/libt1.sl&lt;BR /&gt;        /usr/local/lib/libgd.sl =&amp;gt;      /usr/local/lib/libgd.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libiconv.sl =&amp;gt;   /usr/local/lib/libiconv.sl&lt;BR /&gt;        /usr/lib/libm.2 =&amp;gt;      /usr/lib/libm.2&lt;BR /&gt;        /usr/local/lib/libz.sl =&amp;gt;       /usr/local/lib/libz.sl&lt;BR /&gt;        /usr/local/lib/libpng.sl =&amp;gt;     /usr/local/lib/libpng.sl&lt;BR /&gt;        /usr/local/lib/libfreetype.sl =&amp;gt;        /usr/local/lib/libfreetype.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/lib/libjpeg.sl =&amp;gt;    /usr/local/lib/libjpeg.sl&lt;BR /&gt;        /usr/lib/libX11.3 =&amp;gt;    /usr/lib/libX11.3&lt;BR /&gt;        /usr/local/lib/X11/libXpm.sl =&amp;gt; /usr/local/lib/libXpm.sl&lt;BR /&gt;        /usr/lib/libdld.2 =&amp;gt;    /usr/lib/libdld.2&lt;BR /&gt;        /usr/lib/libpthread.1 =&amp;gt;        /usr/lib/libpthread.1&lt;BR /&gt;        /usr/local/lib/libexpat.sl =&amp;gt;   /usr/local/lib/libexpat.sl&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/apache2/lib/libaprutil-0.sl.9 =&amp;gt;     /usr/local/apache2/lib/libaprutil-0.sl.9&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/local/apache2/lib/libapr-0.sl.9 =&amp;gt; /usr/local/apache2/lib/libapr-0.sl.9&lt;BR /&gt;        /usr/lib/libc.2 =&amp;gt;      /usr/lib/libc.2&lt;BR /&gt;        /usr/lib/libdld.2 =&amp;gt;    /usr/lib/libdld.2&lt;BR /&gt;        /usr/lib/libpthread.1 =&amp;gt;        /usr/lib/libpthread.1&lt;BR /&gt;        /usr/lib/libnsl.1 =&amp;gt;    /usr/lib/libnsl.1&lt;BR /&gt;        /usr/lib/libxti.2 =&amp;gt;    /usr/lib/libxti.2&lt;BR /&gt;        /usr/lib/libm.2 =&amp;gt;      /usr/lib/libm.2&lt;BR /&gt;        /usr/lib/libcl.2 =&amp;gt;     /usr/lib/libcl.2&lt;BR /&gt;        /usr/lib/libisamstub.1 =&amp;gt;       /usr/lib/libisamstub.1&lt;BR /&gt;        /usr/lib/libdld.2 =&amp;gt;    /usr/lib/libdld.2&lt;BR /&gt;        symbol not found: _SYSTEM_ID    (/usr/lib/libc.2)&lt;BR /&gt;        symbol not found: _end  (/usr/lib/libc.2)&lt;BR /&gt;        symbol not found: __dld_loc     (/usr/lib/libdld.2)&lt;BR /&gt;        symbol not found: ap_loaded_modules     (/usr/local/apache2/modules/libphp4.so)&lt;BR /&gt;        symbol not found: unixd_config  (/usr/local/apache2/modules/libphp4.so)&lt;BR /&gt;        symbol not found: ap_server_root        (/usr/local/apache2/modules/libphp4.so)&lt;BR /&gt;        symbol not found: _SYSTEM_ID    (/usr/lib/libcl.2)&lt;BR /&gt;        symbol not found: __dld_loc     (/usr/lib/libcl.2)&lt;BR /&gt;&lt;BR /&gt;some symbole seem to not be resolved....&lt;BR /&gt;&lt;BR /&gt;have searched for this symbole....&lt;BR /&gt;&lt;BR /&gt;and i have found some of this symbol in httpd binary&lt;BR /&gt;&lt;BR /&gt;#nm httpd | grep ap_server_root&lt;BR /&gt;ap_hack_ap_server_root_relative|1073780904|extern|data   |$DATA$&lt;BR /&gt;ap_server_root      |1073757188|extern|data   |$DATA$&lt;BR /&gt;ap_server_root_relative|    303164|extern|entry  |&lt;BR /&gt;ap_server_root_relative|    303216|extern|code   |$CODE$&lt;BR /&gt;&lt;BR /&gt;#nm httpd | grep ap_loaded_modules&lt;BR /&gt;ap_loaded_modules   |1073757324|extern|data   |$DATA$&lt;BR /&gt;&lt;BR /&gt;this global export seem to be correctly exported by httpd....&lt;BR /&gt;&lt;BR /&gt;but unixd_config is undef...!!??? i'm not sure wat correct... but apache work fine without libphp4.so...!!!&lt;BR /&gt;&lt;BR /&gt;#nm httpd | grep unixd_config&lt;BR /&gt;unixd_config        |1073807808|undef |common |$BSS$&lt;BR /&gt;&lt;BR /&gt;i've found the other symbol in hp-ux library....&lt;BR /&gt;&lt;BR /&gt;but i've seen before similare probleme with "mod_auth_ldap" module from musquit, &lt;BR /&gt;but only _SYSTEM_ID, _end and __dld_loc symbol i've not been resolved...&lt;BR /&gt;for this i've found on the forum how to correct this probleme, &lt;BR /&gt;by in using "export LD_PRELOAD=/usr/bin/libcl.sl" or in adding export CFLAGS="-lcl" before compiling apache...&lt;BR /&gt;&lt;BR /&gt;but with php this trick don't work....&lt;BR /&gt;&lt;BR /&gt;i think is globale visibility probleme between httpd binary and (libphp4.so) loaded librairy...&lt;BR /&gt;&lt;BR /&gt;i think that dyn lib can't access to global export of the binary who have loaded the library...&lt;BR /&gt;&lt;BR /&gt;have you any idea to correct this!!!!?&lt;BR /&gt;&lt;BR /&gt;have tried to upgrade to libtool v1.5 but without amelioration...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Mathieu</description>
      <pubDate>Tue, 20 Apr 2004 10:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dlopen-probleme-with-php4-apache2/m-p/3253786#M887726</guid>
      <dc:creator>CARBONNEAUX</dc:creator>
      <dc:date>2004-04-20T10:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: dlopen probleme with PHP4 + Apache2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dlopen-probleme-with-php4-apache2/m-p/3253787#M887727</link>
      <description>This is almost always caused by the $SHLIB_PATH variable being wrong in the startup scripts.&lt;BR /&gt;&lt;BR /&gt;Not that I'm familiar, but consider backing out the libtool upgrade.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 20 Apr 2004 11:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dlopen-probleme-with-php4-apache2/m-p/3253787#M887727</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-04-20T11:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: dlopen probleme with PHP4 + Apache2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dlopen-probleme-with-php4-apache2/m-p/3253788#M887728</link>
      <description>i don't use SHLIB or LD_LIBRARY, all lib are intalled in absolute path:&lt;BR /&gt;&lt;BR /&gt;[soignes:root]/usr/local/apache2#chatr modules/libphp4.so&lt;BR /&gt;modules/libphp4.so:&lt;BR /&gt;         shared library&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             SHLIB_PATH     disabled  second&lt;BR /&gt;             embedded path  enabled   first  /varsoft/delivery/CEGTOOL/src/php-4.3.6/libs&lt;BR /&gt;         internal name:&lt;BR /&gt;             libphp4.sl&lt;BR /&gt;         shared library list:&lt;BR /&gt;             dynamic   /usr/lib/libcl.2&lt;BR /&gt;             static    /usr/local/apache2/lib/libapr-0.sl.9&lt;BR /&gt;             static    /usr/local/apache2/lib/libaprutil-0.sl.9&lt;BR /&gt;             static    /usr/local/lib/libexpat.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libdb-4.2.sl&lt;BR /&gt;             dynamic   /usr/lib/libpthread.1&lt;BR /&gt;             dynamic   /usr/lib/libdld.2&lt;BR /&gt;             static    /usr/local/lib/libgd.sl&lt;BR /&gt;             static    /usr/local/lib/libt1.sl&lt;BR /&gt;             dynamic   /usr/lib/libX11.3&lt;BR /&gt;             dynamic   /usr/local/lib/X11/libXpm.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libpng.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libz.sl&lt;BR /&gt;             static    /usr/local/lib/libjpeg.sl&lt;BR /&gt;             static    /usr/local/lib/libxsltbreakpoint.sl&lt;BR /&gt;             static    /usr/local/lib/libxslt.sl&lt;BR /&gt;             dynamic   /usr/local/lib/libbz2.sl&lt;BR /&gt;             dynamic   /usr/lib/libm.2&lt;BR /&gt;             static    /usr/local/lib/libxml2.sl&lt;BR /&gt;             static    /usr/local/lib/libintl.sl&lt;BR /&gt;             dynamic   /usr/lib/libc.2&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;         third quadrant global data space disabled&lt;BR /&gt;         data page size: D (default)&lt;BR /&gt;         instruction page size: D (default)&lt;BR /&gt;         nulptr references disabled&lt;BR /&gt;&lt;BR /&gt;i that way have no probleme to find library !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;some symbol for exemple are in libdld.sl, when you read the ldd result, you see that dld are in list! or why they can resolv symbol of it!!!!</description>
      <pubDate>Tue, 20 Apr 2004 11:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dlopen-probleme-with-php4-apache2/m-p/3253788#M887728</guid>
      <dc:creator>CARBONNEAUX</dc:creator>
      <dc:date>2004-04-20T11:26:32Z</dc:date>
    </item>
  </channel>
</rss>

