ID:               36960
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mad at dactar dot ch
-Status:           Open
+Status:           Bogus
-Bug Type:         *Compile Issues
+Bug Type:         Compile Failure
 Operating System: HP-UX
 PHP Version:      5.1.2
 New Comment:

Just go blame the libtool authors. They decided that you have to have
everything either static or shared on your system.
Not a PHP bug.


Previous Comments:
------------------------------------------------------------------------

[2006-04-03 14:58:34] mad at dactar dot ch

Description:
------------
Cannot create shared library when a static library is used.

When one package (c-client (imap) in my case) is build as an static
library, the final php library is build on HP-UX as an static library.

It's not the case with Linux.

Reproduce code:
---------------
./configure \
--with-config-file-path=/PKl01h01/soft/web/cfg \
--with-mysql=/PKl01h01/soft/mysql \
--with-pgsql=/PKl01h01/soft/postgresql \
--with-sybase-ct=/PKl01hd2/soft/ase12.5/OCS-12_5 \
--with-pdflib=/PKl01h01/soft/web \
--with-zlib-dir=/PKl01h01/soft/web \
--with-png-dir=/PKl01h01/soft/web \
--with-ttf=/PKl01h01/soft/web \
--with-jpeg-dir=/PKl01h01/soft/web \
--with-imap=/PKl01h01/soft/src/imap \
--with-imap-ssl=/PKl01h01/soft/web/ \
--with-libxml-dir=/PKl01h01/soft/web \
--without-iconv \
--with-gd \
--prefix=/PKl01h01/soft/web \
--with-apxs=/PKl01h01/soft/web/apache/bin/apxs \
--enable-gd-native-ttf

make

look at libs directory

total 60588
-rw-r--r--   1 xxxxxx   yyyyyy   31010182 Apr  3 14:39 libphp5.a
-rw-r-----   1 xxxxxx   yyyyyy      1518 Apr  3 14:39 libphp5.la


Expected result:
----------------
an .sl (shared library) and not a static library (.a)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36960&edit=1

Reply via email to