From owner-freebsd-questions Sat Jun 24 3:54:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.uni-bielefeld.de (mail2.uni-bielefeld.de [129.70.4.90]) by hub.freebsd.org (Postfix) with ESMTP id 5F44C37B893; Sat, 24 Jun 2000 03:54:24 -0700 (PDT) (envelope-from bfischer@Techfak.uni-bielefeld.de) Received: from frolic.no-support.loc (ppp36-160.hrz.uni-bielefeld.de [129.70.36.160]) by mail.uni-bielefeld.de (Sun Internet Mail Server sims.4.0.2000.05.17.04.13.p6) with ESMTP id <0FWN00FLHNMIV9@mail.uni-bielefeld.de>; Sat, 24 Jun 2000 12:54:23 +0200 (MET DST) Received: from broccoli.no-support.loc (broccoli.no-support.loc [192.168.43.99]) by frolic.no-support.loc (8.9.3/8.9.3) with ESMTP id MAA00467; Sat, 24 Jun 2000 12:16:21 +0200 (CEST envelope-from bjoern@no-support.loc) Received: (from bjoern@localhost) by broccoli.no-support.loc (8.9.3/8.9.3) id MAA00283; Sat, 24 Jun 2000 12:16:21 +0200 (CEST envelope-from bjoern@no-support.loc) Date: Sat, 24 Jun 2000 12:11:43 +0200 From: bfischer@Techfak.Uni-Bielefeld.DE Subject: Re: Apache with PAM/RADIUS authentication In-reply-to: <20000624115835.A4386@extra.dp.ua>; from white@extra.dp.ua on Sat, Jun 24, 2000 at 11:58:35AM +0300 To: Alexander Prohorenko Message-id: <20000624121143.A236@broccoli.no-support.loc> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: 7BIT User-Agent: Mutt/1.2i References: <20000623115743.A5030@extra.dp.ua> <20000623154409.A250@broccoli.no-support.loc> <20000623171203.B12018@extra.dp.ua> <20000623201928.A245@broccoli.no-support.loc> <20000624115835.A4386@extra.dp.ua> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jun 24, 2000 at 11:58:35AM +0300, Alexander Prohorenko wrote: > On Fri, Jun 23, 2000 at 08:19:28PM +0200, Bjoern Fischer wrote: > > On Fri, Jun 23, 2000 at 05:12:03PM +0300, Alexander Prohorenko wrote: > > > white@nwlynx:/usr/local/apache-dev/libexec>objdump -p mod_auth_pam.so > > [...] > > > Dynamic Section: > > > NEEDED libpam.so.1 > > [...] > > > white@nwlynx:/usr/local/apache-dev/bin>objdump -p httpd > > > NEEDED libcrypt.so.2 > > > NEEDED libc.so.3 > > This looks sane. Maybe the runtime linker is confused > > using a dlopened module from another dlopened module. > > Try running httpd with the environment `LD_PRELOAD' set > > to `/usr/lib/libpam.so.1' and let me know the results. > > Bjoern, > > Thank you so much! It works! You're welcome. But as you see I sent this in private email rather than to the list. LD_PRELOAD is for debugging, workarounds or similiar hacks. It does not solve the real problem. The real problem is FreeBSD's broken dlopen(). Please, don't propagate the LD_PRELOAD hack since it doesn't really solve problems. Bjoern -- -----BEGIN GEEK CODE BLOCK----- GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+ K- !w !O !M !V PS++ PE- PGP++ t+++ !5 X++ tv- b+++ D++ G e+ h-- y+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message