From owner-freebsd-hackers Wed Jul 12 20:23: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from itsdsv1.enc.edu (fw1.enc.edu [63.85.52.127]) by hub.freebsd.org (Postfix) with ESMTP id 6F66237B5F1 for ; Wed, 12 Jul 2000 20:22:58 -0700 (PDT) (envelope-from owensc@enc.edu) Received: from enc.edu (r2s1.r.its.enc.edu [10.100.0.21]) by itsdsv1.enc.edu (8.7.5/8.7.3) with ESMTP id XAA09047; Wed, 12 Jul 2000 23:20:30 -0400 (EDT) Message-ID: <396D37FA.F66CDF9A@enc.edu> Date: Wed, 12 Jul 2000 23:31:06 -0400 From: "Charles N. Owens" Organization: Eastern Nazarene College X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Cc: Paul Richards Subject: ldap library name conflict problem References: <396CD492.AAF0C38C@enc.edu> <396CE597.A9B2AD5@originative.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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