Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2007 09:09:44 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Andrey Chernov <ache@freebsd.org>
Cc:        ports@freebsd.org, current@freebsd.org
Subject:   Re: DSO loading (dlopen) appearse to be broken somehow
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <ache@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070404090944.1a13e96f>