From owner-freebsd-current@FreeBSD.ORG Wed Apr 4 12:57:38 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 D10CD16A407; Wed, 4 Apr 2007 12:57:37 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 5648F13C487; Wed, 4 Apr 2007 12:57:37 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.8/8.13.8) with ESMTP id l34CvZkb040156; Wed, 4 Apr 2007 16:57:35 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.8/8.13.8/Submit) id l34CvZCh040153; Wed, 4 Apr 2007 16:57:35 +0400 (MSD) (envelope-from ache) Date: Wed, 4 Apr 2007 16:57:35 +0400 From: Andrey Chernov To: Alexander Kabaev Message-ID: <20070404125735.GA40094@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Alexander Kabaev , current@freebsd.org, ports@freebsd.org References: <20070404101321.GA37396@nagual.pp.ru> <20070404082346.64ce25cd@kan.dnsalias.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <20070404082346.64ce25cd@kan.dnsalias.net> User-Agent: Mutt/1.5.14 (2007-02-12) 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 12:57:38 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > > (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. 1) The symbols in question are all _defined_ inside main httpd program. 2) dlopen() just call single first apache module and fails. 3) Apache port not changed for a long time and works at the moment of last= =20 commit 2006/12/09 --=20 http://ache.pp.ru/ --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGE6C/Vg5YK5ZEdN0RAifGAJoC1ZTzQkc+6QhEcKfY3ADgy28sZACgt1gc z1F+9HzMh+JWQjbPlAiFnOE= =7Y53 -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--