I don't see what OS you are running on but I had a similar error initially
before installing LDAP, LDAP SDK, and pointing the PHP compile to the LDAP
install dir (where the libraries for it exist). All this performed on Sol7
and Sol8. I also copied my LDAPSDK lib and include dirs to my /usr/local/lib
and /usr/local/include. Granted I still do not have it functioning for me it
did get me a bit further. You can follow what progress I have gone through
on Bug ID 10821 (http://www.php.net/bugs.php). There is also another thread
on Bug ID 10481. Hope this helps.
Take Care,
Eric G. Grant
In a message dated 5/15/2001 1:50:15 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:
> Hi, folks
>
> Apologies if the answer to this is embarrassingly simple,
> but I've had a mammoth webtrawl and am getting nowhere...
> Forgive me if this is the wrong place to be asking.
>
>
> I can't get the iPlanet LDAP SDK to interface to PHP.
> The PHP configure and makes go ok, the Apache configure goes ok.
> However, when I try and make Apache I get:
>
>
> Undefined first referenced
> symbol in file
> ldap_count_values_len 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
>
>
> I'd be extremely grateful for any quick tips or, failing that,
> for your deep and insightful wisdom!
>
> Kind regards,
> Steve
Take Care,
Eric G. Grant