<?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 recompiling php -&amp;gt; libz.so linker troubles in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/recompiling-php-gt-libz-so-linker-troubles/m-p/3577949#M229327</link>
    <description>I'm compiling php-4.3.11 for apache2 on HP-UX Itanium 2&lt;BR /&gt;&lt;BR /&gt;configure options:&lt;BR /&gt;&lt;BR /&gt;--with-gd=/usr/local \&lt;BR /&gt;--with-config-file-path=/opt/hpws/apache/conf \&lt;BR /&gt;--prefix=/opt/hpws/apache/php4 \&lt;BR /&gt;--with-apxs2=/opt/hpws/apache/bin/apxs \&lt;BR /&gt;--with-apache2=/opt/hpws/apache \&lt;BR /&gt;--with-xml \&lt;BR /&gt;--with-zlib&lt;BR /&gt;&lt;BR /&gt;I get the following error in make:&lt;BR /&gt;&lt;BR /&gt;*** Warning: linker path does not have real file for library -lz.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have&lt;BR /&gt;*** because I did check the linker path looking for a file starting&lt;BR /&gt;*** with libz and none of the candidates passed a file format test&lt;BR /&gt;*** using a file magic. Last file checked: /usr/local/lib/libz.so&lt;BR /&gt;&lt;BR /&gt;*** Warning: libtool could not satisfy all declared inter-library&lt;BR /&gt;*** dependencies of module libphp4.  Therefore, libtool will create&lt;BR /&gt;*** a static module, that should work as long as the dlopening&lt;BR /&gt;*** application is linked with the -dlopen flag.&lt;BR /&gt;&lt;BR /&gt;Therefore no shared library (libphp4.sl) is build which I need for apache2.&lt;BR /&gt;&lt;BR /&gt;It builds right without the zlib - option, but zlib-php support is quite important for my Web-CMS-System.&lt;BR /&gt;&lt;BR /&gt;libz.so is under /usr/local/lib/libz.so and &lt;BR /&gt;&lt;BR /&gt;I tried both, the depot, and the manually compiled version, &lt;BR /&gt;&lt;BR /&gt;ldd -r libz.so says:&lt;BR /&gt;&lt;BR /&gt;root, brweb:/usr/local/lib &amp;gt;&amp;gt; ldd -r libz.so&lt;BR /&gt;        symbol not found: malloc        (./libz.so)&lt;BR /&gt;        symbol not found: memcpy        (./libz.so)&lt;BR /&gt;        symbol not found: memset        (./libz.so)&lt;BR /&gt;        symbol not found: errno (./libz.so)&lt;BR /&gt;        symbol not found: vsnprintf     (./libz.so)&lt;BR /&gt;        symbol not found: sprintf       (./libz.so)&lt;BR /&gt;        symbol not found: fprintf       (./libz.so)&lt;BR /&gt;        symbol not found: fflush        (./libz.so)&lt;BR /&gt;        symbol not found: fopen (./libz.so)&lt;BR /&gt;        symbol not found: fputc (./libz.so)&lt;BR /&gt;        symbol not found: fread (./libz.so)&lt;BR /&gt;        symbol not found: fseek (./libz.so)&lt;BR /&gt;        symbol not found: ftell (./libz.so)&lt;BR /&gt;        symbol not found: fclose        (./libz.so)&lt;BR /&gt;        symbol not found: fwrite        (./libz.so)&lt;BR /&gt;        symbol not found: free  (./libz.so)&lt;BR /&gt;        symbol not found: fdopen        (./libz.so)&lt;BR /&gt;        symbol not found: strcat        (./libz.so)&lt;BR /&gt;        symbol not found: strcpy        (./libz.so)&lt;BR /&gt;        symbol not found: strlen        (./libz.so)&lt;BR /&gt;&lt;BR /&gt;Any suggestions, libz.so is also needed for libpng.so which is needed for libgd.so&lt;BR /&gt;&lt;BR /&gt;Thanks very much</description>
    <pubDate>Thu, 07 Jul 2005 09:43:02 GMT</pubDate>
    <dc:creator>Heinrich Fink_1</dc:creator>
    <dc:date>2005-07-07T09:43:02Z</dc:date>
    <item>
      <title>recompiling php -&gt; libz.so linker troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recompiling-php-gt-libz-so-linker-troubles/m-p/3577949#M229327</link>
      <description>I'm compiling php-4.3.11 for apache2 on HP-UX Itanium 2&lt;BR /&gt;&lt;BR /&gt;configure options:&lt;BR /&gt;&lt;BR /&gt;--with-gd=/usr/local \&lt;BR /&gt;--with-config-file-path=/opt/hpws/apache/conf \&lt;BR /&gt;--prefix=/opt/hpws/apache/php4 \&lt;BR /&gt;--with-apxs2=/opt/hpws/apache/bin/apxs \&lt;BR /&gt;--with-apache2=/opt/hpws/apache \&lt;BR /&gt;--with-xml \&lt;BR /&gt;--with-zlib&lt;BR /&gt;&lt;BR /&gt;I get the following error in make:&lt;BR /&gt;&lt;BR /&gt;*** Warning: linker path does not have real file for library -lz.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have&lt;BR /&gt;*** because I did check the linker path looking for a file starting&lt;BR /&gt;*** with libz and none of the candidates passed a file format test&lt;BR /&gt;*** using a file magic. Last file checked: /usr/local/lib/libz.so&lt;BR /&gt;&lt;BR /&gt;*** Warning: libtool could not satisfy all declared inter-library&lt;BR /&gt;*** dependencies of module libphp4.  Therefore, libtool will create&lt;BR /&gt;*** a static module, that should work as long as the dlopening&lt;BR /&gt;*** application is linked with the -dlopen flag.&lt;BR /&gt;&lt;BR /&gt;Therefore no shared library (libphp4.sl) is build which I need for apache2.&lt;BR /&gt;&lt;BR /&gt;It builds right without the zlib - option, but zlib-php support is quite important for my Web-CMS-System.&lt;BR /&gt;&lt;BR /&gt;libz.so is under /usr/local/lib/libz.so and &lt;BR /&gt;&lt;BR /&gt;I tried both, the depot, and the manually compiled version, &lt;BR /&gt;&lt;BR /&gt;ldd -r libz.so says:&lt;BR /&gt;&lt;BR /&gt;root, brweb:/usr/local/lib &amp;gt;&amp;gt; ldd -r libz.so&lt;BR /&gt;        symbol not found: malloc        (./libz.so)&lt;BR /&gt;        symbol not found: memcpy        (./libz.so)&lt;BR /&gt;        symbol not found: memset        (./libz.so)&lt;BR /&gt;        symbol not found: errno (./libz.so)&lt;BR /&gt;        symbol not found: vsnprintf     (./libz.so)&lt;BR /&gt;        symbol not found: sprintf       (./libz.so)&lt;BR /&gt;        symbol not found: fprintf       (./libz.so)&lt;BR /&gt;        symbol not found: fflush        (./libz.so)&lt;BR /&gt;        symbol not found: fopen (./libz.so)&lt;BR /&gt;        symbol not found: fputc (./libz.so)&lt;BR /&gt;        symbol not found: fread (./libz.so)&lt;BR /&gt;        symbol not found: fseek (./libz.so)&lt;BR /&gt;        symbol not found: ftell (./libz.so)&lt;BR /&gt;        symbol not found: fclose        (./libz.so)&lt;BR /&gt;        symbol not found: fwrite        (./libz.so)&lt;BR /&gt;        symbol not found: free  (./libz.so)&lt;BR /&gt;        symbol not found: fdopen        (./libz.so)&lt;BR /&gt;        symbol not found: strcat        (./libz.so)&lt;BR /&gt;        symbol not found: strcpy        (./libz.so)&lt;BR /&gt;        symbol not found: strlen        (./libz.so)&lt;BR /&gt;&lt;BR /&gt;Any suggestions, libz.so is also needed for libpng.so which is needed for libgd.so&lt;BR /&gt;&lt;BR /&gt;Thanks very much</description>
      <pubDate>Thu, 07 Jul 2005 09:43:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recompiling-php-gt-libz-so-linker-troubles/m-p/3577949#M229327</guid>
      <dc:creator>Heinrich Fink_1</dc:creator>
      <dc:date>2005-07-07T09:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: recompiling php -&gt; libz.so linker troubles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recompiling-php-gt-libz-so-linker-troubles/m-p/3577950#M229328</link>
      <description>Can you use PHP 4.3.0 ?&lt;BR /&gt;if so, then get it from here: &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache+php-1327.430/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache+php-1327.430/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Otherwise, look at HOW they PORTED it (this is the available documentation in the source HPUX.Install):&lt;BR /&gt;&lt;BR /&gt;Package name:     apache+php&lt;BR /&gt;Version number:   1327.430&lt;BR /&gt;Original author:  apache and php teams &lt;APACHE-BUGS&gt;&lt;BR /&gt;Original URL:     &lt;A href="http://www.apache.org/" target="_blank"&gt;http://www.apache.org/&lt;/A&gt;&lt;BR /&gt;HP-UX URL:        &lt;A href="http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&amp;amp;term=apache+php-" target="_blank"&gt;http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&amp;amp;term=apache+php-&lt;/A&gt;&lt;BR /&gt;License:          GNU General Public License V2&lt;BR /&gt;Dependencies:     db expat freetype gd gettext jpeg libiconv libpng mysql ncurses openssl perl xpm zlib&lt;BR /&gt;Install tree:     /usr/local/apache+php&lt;BR /&gt;Report bugs to:   lavasani@connect.org.uk&lt;BR /&gt;Tested on:        HP 9000/780/C160 running HP-UX 11.00 and&lt;BR /&gt;                  HP rx4610 running HP-UX 11.20 and&lt;BR /&gt;                  HP i2000 running HP-UX 11.22&lt;BR /&gt;C compiler used:  gcc version 3.2&lt;BR /&gt;Purpose:&lt;BR /&gt;Apache web server with PHP support. This is the combined apache-1.3.27 and&lt;BR /&gt;php-4.3.0. The php program has been compiled with mysql support. You can use&lt;BR /&gt;any version of mysql, but I suggest you to use the latest.&lt;BR /&gt;Date archived:    Wed 19 Mar 2003&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;This the Apache and php combined package. It also have the Mysql support.&lt;BR /&gt;&lt;BR /&gt;I have used "apache-1.3.27" and  "php-4.3.0".&lt;BR /&gt;&lt;BR /&gt;To use this package you will need to install the following packages:&lt;BR /&gt;&lt;BR /&gt;mysql&lt;BR /&gt;zlib&lt;BR /&gt;libiconv&lt;BR /&gt;freetype&lt;BR /&gt;xpm&lt;BR /&gt;libpng&lt;BR /&gt;libjpeg&lt;BR /&gt;db&lt;BR /&gt;openssl&lt;BR /&gt;gettext&lt;BR /&gt;expat&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Changes:&lt;BR /&gt;&lt;BR /&gt;        I didn't make to much changes in order to compile this package.&lt;BR /&gt;&lt;BR /&gt;Added:&lt;BR /&gt;&lt;BR /&gt;        1- Top level Makefile to drive the build and installation.&lt;BR /&gt;        2- apache-1.3.27/Build and php-4.3.0/Build to pass the option to&lt;BR /&gt;        "configure" file.&lt;BR /&gt;&lt;BR /&gt;Build:&lt;BR /&gt;&lt;BR /&gt;        In top level directory type:&lt;BR /&gt;&lt;BR /&gt;                gmake&lt;BR /&gt;&lt;BR /&gt;Install:&lt;BR /&gt;&lt;BR /&gt;                gmake install&lt;BR /&gt;&lt;BR /&gt;Configuration:&lt;BR /&gt;&lt;BR /&gt;        I will set up a page to explain how to configure this package:&lt;BR /&gt;&lt;BR /&gt;                &lt;A href="http://hpux.connect.org.uk/hppd/answers/4-6.html" target="_blank"&gt;http://hpux.connect.org.uk/hppd/answers/4-6.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Test:&lt;BR /&gt;&lt;BR /&gt;        I 've tested the program and in works fine. It connects to&lt;BR /&gt;        mysql server. Looks fine to me&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr&lt;/APACHE-BUGS&gt;</description>
      <pubDate>Thu, 07 Jul 2005 10:25:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recompiling-php-gt-libz-so-linker-troubles/m-p/3577950#M229328</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-07-07T10:25:06Z</dc:date>
    </item>
  </channel>
</rss>

