From:             [EMAIL PROTECTED]
Operating system: Solaris 8.0
PHP version:      4.2.0
PHP Bug Type:     Compile Failure
Bug description:  Can't compile PHP with LDAP: ldap_start_tls_s don't found

When try to compile the PHP under Solaris 8 with NS-LDAP API 4.1 or native
ldap, generate the follow error:

Undefined                       first referenced
 symbol                             in file
ldap_start_tls_s                    ./.libs/libphp4.a(ldap.o)
ld: fatal: Symbol referencing errors. No output written to php
collect2: ld returned 1 exit status

Using SUN native C compiler (SUNWspro rel 5.0) and gcc 3.0.4

The configure line is:
 './configure' '--prefix=/usr/opt/php' '--enable-shared' '--with-openssl'
'--with-ibm-db2=/SOMEWHERE/IBMdb2/V6.1' '--enable-sysvsem'
'--enable-sysvshm' '--with-java=/usr/j2se' '--enable-ftp'
'--with-mysql=/SOMEWHERE/mysql' '--with-pgsql=/SOMEWHERE/pgsql'
'--with-config-file-path=/usr/opt/php/etc' '--with-pdflib'
'--with-jpeg-dir=/SOMEWHERE' '--with-png-dir' '--with-tiff-dir'
'--with-xpm-dir' '--with-gd' '--with-zlib-dir=/usr/lib' '--enable-shmop'
'--enable-sigchild' '--enable-safe-mode'
'--with-exec-dir=/usr/opt/php/bin' '--with-tsrm-pthreads'
'--with-mhash=/SOMEWHERE' '--enable-memory-limit' '--with-ldap=/SOMEWHERE'
-- 
Edit bug report at http://bugs.php.net/?id=16862&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16862&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16862&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16862&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16862&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16862&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16862&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16862&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16862&r=submittedtwice

Reply via email to