[SunHELP] compiling php4+apache_1.3.17 on solaris 7

Alain Defrance sunhelp at sunhelp.org
Mon Feb 26 03:59:10 CST 2001


hello, i've the same problem that an old guy...(see the end of message)

you reply :

"You need to add -lldap to LDFLAGS in the Makefile, assuming that you have
a LDAP library on your system."

what's the exact syntax ? because i' 've allways the error...
thanks a lot...




                         > Undefined first referenced
                         > symbol in file
                         > ldap_count_values_len
modules/php4/libphp4.a(ldap.o)
                         > ldap_get_dn modules/php4/libphp4.a(ldap.o)
                         > ldap_err2string modules/php4/libphp4.a(ldap.o)
                         > ldap_get_lderrno
modules/php4/libphp4.a(ldap.o)
                         > ldap_delete_s modules/php4/libphp4.a(ldap.o)
                         > ldap_first_entry
modules/php4/libphp4.a(ldap.o)
                         > ldap_add_s modules/php4/libphp4.a(ldap.o)
                         > ldap_next_attribute
modules/php4/libphp4.a(ldap.o)
                         > ldap_perror modules/php4/libphp4.a(ldap.o)
                         > ldap_value_free modules/php4/libphp4.a(ldap.o)
                         > ldap_explode_dn modules/php4/libphp4.a(ldap.o)
                         > ldap_get_values_len
modules/php4/libphp4.a(ldap.o)
                         > ldap_modify_s modules/php4/libphp4.a(ldap.o)
                         > ldap_search_s modules/php4/libphp4.a(ldap.o)
                         > ldap_open modules/php4/libphp4.a(ldap.o)
                         > ldap_count_values
modules/php4/libphp4.a(ldap.o)
                         > ldap_unbind_s modules/php4/libphp4.a(ldap.o)
                         > ldap_bind_s modules/php4/libphp4.a(ldap.o)
                         > ldap_msgfree modules/php4/libphp4.a(ldap.o)
                         > ldap_first_attribute
modules/php4/libphp4.a(ldap.o)
                         > ldap_dn2ufn modules/php4/libphp4.a(ldap.o)
                         > ldap_next_entry modules/php4/libphp4.a(ldap.o)
                         > ldap_get_values modules/php4/libphp4.a(ldap.o)
                         > ldap_count_entries
modules/php4/libphp4.a(ldap.o)
                         > ld: fatal: Symbol referencing errors. No
output written to httpd
********************************
Alain Defrance
Service Informatique
Universit d'Evry Val d'Essonne

A.Defrance at univ-evry.fr
01.69.47.80.69
www.univ-evry.fr
********************************



More information about the SunHELP mailing list