Re: [PHP4BETA] LDAP
| From: | Pasha Zusmanovich | Date: | Thu, 24 Feb 2000 10:36:30 +0000 |
| Subject: | Re: [PHP4BETA] LDAP | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10817@lists.php.net to get a copy of this message | ||
Steve Cleveland wrote:
>
> I'm trying to compile PHP4 with LDAP into Apache 1.3.11, but I'm having
> problems. I'm using PHP4 beta 4pl1, and I've tried using OpenLDAP and U
> of Michigan LDAP. It compiles into PHP fine, but when I try to make
> Apache, I get the following errors:
>
> Undefined first referenced
> symbol in file
> ldap_get_dn modules/php4/libphp4.a(ldap.o)
> ldap_err2string 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_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
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `target_static'
> Current working directory /private/src/apache_1.3.11/src
> *** Error code 1
> make: Fatal error: Command failed for target `build-std'
> Current working directory /private/src/apache_1.3.11
> *** Error code 1
> make: Fatal error: Command failed for target `build'
>
> PHP:
> -------
> ./configure \
> --prefix=/private/php4 --with-apache=../apache_1.3.11 \
> --with-mysql=/private/mysql --with-imap=../imap-4.7a/ \
> --with-ldap=../ldap-3.3 --enable-track-vars --enable-magic-quotes
Hmmm... I guess ../ldap-3.3 is ldap source tree, not where ldap is
actually installed? If so, this should be
--with-ldap=/path/to/ldap/installation (presumably something like
/private/ldap in your case)
>
> Apache:
> -------
> ./configure \
> --prefix=/private/httpd" \
> --activate-module=src/modules/php4/libphp4.a
>
> Thanks for any help or advice you can provide.
>
> - Steve
>
--
Be well, Pasha.