Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 23:31:06 -0400
From:      "Charles N. Owens" <owensc@enc.edu>
To:        hackers@freebsd.org
Cc:        Paul Richards <paul@originative.co.uk>
Subject:   ldap library name conflict problem
Message-ID:  <396D37FA.F66CDF9A@enc.edu>
References:  <396CD492.AAF0C38C@enc.edu> <396CE597.A9B2AD5@originative.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
I 've encountered a problem which I could see affecting other LDAP hackers as
well:  the libldap and libber libraries from openldap and from the Mozilla
ldap-sdk (${PORTSDIR}/net/ldapsdk) get installed with the same names and
version numbers (but not in the same directories... the mozilla libs get put
in /usr/local/mozilla/directory/lib).  Thus when running programs written for
either library set the libraries that actually get invoked are whichever set
is listed first in the dynamic linker's "hints" database.  This is very
annoying!  What is the appropriate solution?  Some thoughts that come to mind:

   * change the version number that gets used for either library set... and
     then change all corresponding ports (if any) to use that verion number
   * somehow compile stuff (PerLDAP, for example) so it goes directly to the
     Mozilla libraries, despite the fact that the openldap libs are in the
     hints database first.  I'm sure this could be accomplished via static
     linking, but that doesn't seem ideal.

I'm not exactly sure how to accomplish either approach.  Any hints?  (hah!  a
weak pun!)

Thanks,
--
-------------------------------------------------------------------------
  Charles N. Owens                               Email: owensc@enc.edu
                                            http://www.enc.edu/~owensc
  Network & Systems Administrator
  Information Technology Services  "Outside of a dog, a book is a man's
  Eastern Nazarene College         best friend.  Inside of a dog it's
                                   too dark to read." - Groucho Marx
-------------------------------------------------------------------------




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?396D37FA.F66CDF9A>