re . apache ldap php solaris 8

re . apache ldap php solaris 8

Post by simon3 » Wed, 09 Jan 2002 01:44:17



Re Hello,

When I'm trying to compile apache in std mode ( not dynamic ) I have this
error :
...
gcc  -DSOLARIS2=280 -I/local/src/php-4.0.6 -I/local/src/php-4.0.6/main -I/lo
cal/src/php-4.0.6/main -I/local/src/php-4.0.6/Zend -I/local/src/php-4.0.6/Ze
nd -I/local/src/php-4.0.6/TSRM -I/local/src/php-4.0.6/TSRM -I/local/src/php-
4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o  modules/php4/libphp4.a
modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a
ap/libap.a

lib/expat-lite/libexpat.a  -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-
solaris2.8/2.95.3 -R/usr/local/lib  -L/usr/ucblib -L/usr/local/lib/gcc-lib/s
parc-sun-solaris2.8/2.95.3 -L/usr/local/lib -Lmodules/php4 -L../modules/php4
 -L../../modules/php4 -lmodphp4  -lpam  -ldl -lldap -llber -lcrypt -lresolv
-lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket -lgcc   -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
ldap_first_reference                modules/php4/libphp4.a(ldap.o)
ldap_memfree                        modules/php4/libphp4.a(ldap.o)
ldap_parse_result                   modules/php4/libphp4.a(ldap.o)
ldap_parse_reference                modules/php4/libphp4.a(ldap.o)
ldap_get_option                     modules/php4/libphp4.a(ldap.o)
ldap_set_option                     modules/php4/libphp4.a(ldap.o)
ldap_rename_s                       modules/php4/libphp4.a(ldap.o)
ldap_next_reference                 modules/php4/libphp4.a(ldap.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `target_static'
Current working directory /local/src/apache_1.3.22/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /local/src/apache_1.3.22
*** Error code 1
make: Fatal error: Command failed for target `build'

Please help me !
Thanks
Simon

 
 
 

1. compiling PHP on Solaris with LDAP, but not SUN ldap

Hi,

trying to get PHP working with LDAP but to compile it the PHP doc says
must use Ldap libraries other than Sun's.  They mention specifically 3
types - University of Michigan  ldap-3.3 package,  Netscape Directory
SDK 3.0 or  OpenLDAP.

Does anyone know of Sun's are based enough on any of these for them to
work, and if not then would installing one of those mentioned mess up
anything on Solaris 9 since it seems to ship with it's own?

Thanks,

Tom

2. fdisk and 40 GB drives

3. strange linking problems w/ apache with php including ldap support on solaris

4. HELP: X Windows Configuration

5. Solaris - PHP- Apache- Oracle : Problem getting PHP installed

6. startkde script missing

7. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK

8. Share partition between Linux and FreeBSD ?

9. php and ldap and apache

10. PHP + LDAP module on Apache

11. PHP and LDAP in apache

12. Binary apache with SSL/PHP/mysql/LDAP/IMAP/JSERV/etc.

13. apache php ldap : please help me !