From:             mad at dactar dot ch
Operating system: HP-UX 11.11
PHP version:      5.2.3
PHP Bug Type:     *Compile Issues
Bug description:  Unresolved symbol: scl_init

Description:
------------
After compile PHP, when I run sapi/cli/php I've got the following error :


/usr/lib/dld.sl: Unresolved symbol: scl_init (code)  from
/path/to/sybase/lib/libct_r.sl
Abort(coredump)


Reproduce code:
---------------
Configure options : 

./configure --with-sybase-ct=/path/to/sybase --with-imap=/path/to/imap
--with-imap-ssl=/usr --with-libxml-dir=/path/to/libxml2
--prefix=/path/to/php --with-apxs=/path/to/apache/bin/apxs

Changes in Makefile (Line EXTRA_LIBS) : 

:1,$s/-lcrypt //g
:1,$s/-lcrypt$//
:1,$s/-lintl/&_r/g

EXTRA_LIBS after changes : 

EXTRA_LIBS = -lc-client -lsybtcl -lintl_r -lcomn -lct -lcs -lrt -lssl
-lcrypto -lpam -liconv -lm -lnsl -lxml2 -liconv -lm -lxml2 -liconv -lm
-lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv -lm -lxml2 -liconv
-lm

make
sapi/cli/php


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

Reply via email to