From:             mad at dactar dot ch
Operating system: HP-UX
PHP version:      5.1.2
PHP Bug Type:     *Compile Issues
Bug description:  Cannot create shared library when a static library is used

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 bug report at http://bugs.php.net/?id=36960&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36960&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36960&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36960&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36960&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36960&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36960&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36960&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36960&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36960&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36960&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36960&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36960&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36960&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36960&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36960&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36960&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36960&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36960&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36960&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36960&r=mysqlcfg

Reply via email to