From owner-freebsd-ports Tue Aug 13 19:25: 3 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDED837B400; Tue, 13 Aug 2002 19:25:00 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DF1E43E6A; Tue, 13 Aug 2002 19:25:00 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from Admin01 (admin01.westbend.net [216.47.253.18]) by mail.westbend.net (8.12.5/8.12.5) with SMTP id g7E2OrlG095658; Tue, 13 Aug 2002 21:24:53 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <005c01c24339$bb2360d0$12fd2fd8@Admin01> From: "Scot W. Hetzel" To: Cc: Subject: Cyrus-SASL V1 & V2 problem with libtool Date: Tue, 13 Aug 2002 21:24:34 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org While updating the Cyrus-SASL V1 port to use saslauthd authentication daemon, I tried installing the Cyrus-SASL V2 port to test compatiblity of the saslauthd daemons. The V2 port would core dump when the saslpasswd2 and sasldblistusrs2 programs were run, due to they were loading the wrong SASL plugins (V1 instead of V2). If I rebooted the systen before installing V2, then saslpasswd2 and sasldblistusrs2 ran without core dumping.. The cause of the problem is libtool, as it runs 'ldconfig -m ${PREFIX}/lib/sasl' after it has finished installing each plugin. The cyrus-sasl libraries don't need the location of their plugin libraries in the hints list, as the location is built into the libsasl.so.8 and libsasl2.so.2 libraries. Is there a way to tell ldconfig to remove a directory from the hints list and rescan for libraries in the ports post-install target? Otherwise, we'll need to place a warning in the port to reboot the system after installing Cyrus-SASL V1 & V2. Scot PS. saslauthd V1 and saslauthd V2 are not compatible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message