> > The problem comes in building on Solaris 9. Openldap's libldap.a calls
> > inet_aton(), which on Solaris resides in /usr/lib/libresolv.so (whereas
on
> > RedHat 9 it resides in libc). This is therefore not being automatically
> > picked up by the pine makefile, so specifying "-lresolv" as part of
> > EXTRALDFLAGS is required to complete the build successfully.
(Interestingly,
> > openldap is aware of the -lresolv requirement and uses it to test for
the
> > presence of inet_aton() as well as at build time.)
>
> I've taken over your LDAP related changes, although in a
> little bit adjusted way. Especially I had to make the -lresolv
> part dependent on the Solaris platform, of course. See
> http://cvs.openpkg.org/chngview?cn=12595 for details. Thanks for your
> contribution.

Glad to help. BTW, although I like your conditional solution better,
making -lresolv conditional on Solaris is not actually required since the
original OpenLDAP scripts unconditionally use "-lresolv" on both RedHat and
Solaris. But I agree that it is preferred.

Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to