Re: DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Andrey Chernov
On Wed, Apr 04, 2007 at 06:51:05PM +0400, Andrey Chernov wrote: > Comparing generated Makefile with FreeBSD 6 it seems some ld flags > are now missing: > > < LDFLAGS_SHLIB_EXPORT= > --- > > LDFLAGS_SHLIB_EXPORT=-Wl,-E > > I'll come back with detailed results later. Found. It is old objformat pr

Re: DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Andrey Chernov
On Wed, Apr 04, 2007 at 05:35:29PM +0400, Andrey Chernov wrote: > On Wed, Apr 04, 2007 at 09:09:44AM -0400, Alexander Kabaev wrote: > > > 1) The symbols in question are all _defined_ inside main httpd > > > program. > > > > objdump -T output goes here. > > Those symbols are in 'nm' table of http

Re: DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Eygene Ryabinkin
Andrey, good day. Wed, Apr 04, 2007 at 05:35:29PM +0400, Andrey Chernov wrote: > On Wed, Apr 04, 2007 at 09:09:44AM -0400, Alexander Kabaev wrote: > > > 1) The symbols in question are all _defined_ inside main httpd > > > program. > > > > objdump -T output goes here. > > Those symbols are in 'n

Re: DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Andrey Chernov
On Wed, Apr 04, 2007 at 09:09:44AM -0400, Alexander Kabaev wrote: > > 1) The symbols in question are all _defined_ inside main httpd > > program. > > objdump -T output goes here. Those symbols are in 'nm' table of httpd like this 0804a84a T ap_palloc but not found in its objdump -T output. Why

Re: DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Alexander Kabaev
On Wed, 4 Apr 2007 16:57:35 +0400 Andrey Chernov <[EMAIL PROTECTED]> 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: > > > /usr/local/

Re: DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Andrey Chernov
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: > > /usr/local/libexec > > /apache/mod_env.so: Undefined symbol "ap_palloc" > > > > Perhaps it is A

Re: DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Alexander Kabaev
On Wed, 4 Apr 2007 14:13:21 +0400 Andrey Chernov <[EMAIL PROTECTED]> wrote: > Try to install and run www/apache13 port. With recent -current you'll > get similar error for each module first listed in config: > > Syntax error on line 213 of /usr/local/etc/apache/httpd.conf: > Cannot load /usr/loca

DSO loading (dlopen) appearse to be broken somehow

2007-04-04 Thread Andrey Chernov
Try to install and run www/apache13 port. With recent -current you'll get similar error for each module first listed in config: Syntax error on line 213 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/libexec/apache/mod_env.so into server: /usr/local/libexec /apache/mod_env.so: Undef