From owner-freebsd-current@FreeBSD.ORG Wed Apr 4 13:09:51 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBF1216A404 for ; Wed, 4 Apr 2007 13:09:51 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.freebsd.org (Postfix) with ESMTP id 72E3913C44B for ; Wed, 4 Apr 2007 13:09:51 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so171563wxc for ; Wed, 04 Apr 2007 06:09:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=OtYTmx0MY3jx8X6SzH852PkeODNtiJriMukO4OI1oefLKiuffNU6NcyPUR+AXd3P9gs91nc6Xh8qezn5wY5hT5ZNYTeT3aF7FAznuMakp8dw4LS1pCuAVfl1ndzrESR/EHuy8OZX4Mv/fogFTnzACsejavHEVtZW4GRfCUgeS9k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=ujh47eyDrCS4IvQ3SNXbwUqJek69LvEHb+G4Nq3KXQ+BlM6Km83ADug9jKfo78pp2mY4cF4jbb4teU/BG5zpHPMhmOWtvUI0kQAgE8VgW7WqFPLOYTB8X6KfHQvejDKYKSGDW5QP1mWBJ4kelsJG1nbb1DsQCZxxyXPxwRBnHBE= Received: by 10.90.104.14 with SMTP id b14mr293026agc.1175692190667; Wed, 04 Apr 2007 06:09:50 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id g9sm807094wra.2007.04.04.06.09.48; Wed, 04 Apr 2007 06:09:48 -0700 (PDT) Date: Wed, 4 Apr 2007 09:09:44 -0400 From: Alexander Kabaev To: Andrey Chernov Message-ID: <20070404090944.1a13e96f@kan.dnsalias.net> In-Reply-To: <20070404125735.GA40094@nagual.pp.ru> References: <20070404101321.GA37396@nagual.pp.ru> <20070404082346.64ce25cd@kan.dnsalias.net> <20070404125735.GA40094@nagual.pp.ru> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_g/HgbOppW8hzXsAC2I1N.Po"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: ports@freebsd.org, current@freebsd.org Subject: Re: DSO loading (dlopen) appearse to be broken somehow X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 13:09:52 -0000 --Sig_g/HgbOppW8hzXsAC2I1N.Po Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 4 Apr 2007 16:57:35 +0400 Andrey Chernov wrote: > On Wed, Apr 04, 2007 at 08:23:46AM -0400, Alexander Kabaev wrote: > > > Syntax error on line 213 of /usr/local/etc/apache/httpd.conf: > > > Cannot load /usr/local/libexec/apache/mod_env.so into server:=20 > > > /usr/local/libexec > > > /apache/mod_env.so: Undefined symbol "ap_palloc" > > >=20 > > > Perhaps it is Apache configuration problem since old-compiled > > > apache (Dec 9) runs normally. Perhaps Apache config find some new > > > defines which not works as expected. > > >=20 > > > I am not expert in dlopen() at all. Please look someone who knows. > > >=20 > > You do not have to be an expert in dlopen to find out the list of > > loaded modules at the time dlopen called, what parameters dlopen is > > called with and where the symbol allegedly not found is really > > defined. >=20 > 1) The symbols in question are all _defined_ inside main httpd > program.=20 objdump -T output goes here. 2) dlopen() just call single first apache module and fails. dlopen parameters dump goes here. 2a) dlerror() output goes here objdump -T of module being loaded goes here too. > 3) Apache port not changed for a long time and works at the moment of > last commit 2006/12/09 Symbol lookup and module loading has not changed in rtld for even longer time. You honestly expect someone to do initial trivial investigation for you? --=20 Alexander Kabaev --Sig_g/HgbOppW8hzXsAC2I1N.Po Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGE6OYQ6z1jMm+XZYRAsneAJ9bXk48tsC5LfbP2P5iPYpu/YTm4wCeO4Fv BloqlYgiJ8INpqP1sa3Z87E= =4p+G -----END PGP SIGNATURE----- --Sig_g/HgbOppW8hzXsAC2I1N.Po--