Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 82590 invoked by uid 500); 2 Nov 2001 20:08:04 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 82573 invoked from network); 2 Nov 2001 20:08:04 -0000 User-Agent: Microsoft-Entourage/9.0.1.3108 Date: Fri, 02 Nov 2001 12:08:11 -0800 Subject: DSO broken on MacOS X 10.1 From: Sander Temme To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, When I compile a recent HEAD on my MOSX 10.1 laptop, it will not load DSO's. Testing my compile: [monalisa:/tmp/apache2] sctemme% setenv DYLD_LIBRARY_PATH /tmp/apache2/lib [monalisa:/tmp/apache2] sctemme% bin/apachectl start Syntax error on line 198 of /tmp/apache2/conf/httpd.conf: API module structure `access_module' in file /tmp/apache2/modules/mod_access.so is garbled - perhaps this is not an Apache module DSO? bin/apachectl start: httpd could not be started [monalisa:/tmp/apache2] sctemme% The Configure line: ./configure --prefix=$PREFIX \ --enable-mods-shared=most \ --with-port=8080 \ --enable-maintainer-mode \ --with-layout=Apache ... preceded by a make distclean and a ./buildconf. That error message is generated in mod_so.c:266, so I set a breakpoint at the start of load_module() and stepped lightly. The module structure ends up as: (gdb) print *modp $44 = { version = -1073752864, minor_version = 1605416, module_index = 1429952, name = 0x15d1e0 "", dynamic_load_handle = 0x15d1e0, next = 0x0, magic = 1880006684, rewrite_args = 0x41147e14 <__dyld_module_state_block+572>, create_dir_config = 0x6, merge_dir_config = 0xbffffb04, create_server_config = 0xbfffd510, merge_server_config = 0x21760 , cmds = 0xbfffd560, register_hooks = 0 } Garbled, allright! Could something go wrong in loading the module despite its APR_SUCCESS? The module was compiled in the same run as the server, so its STANDARD20_MODULE_STUFF should be in order. Two possibilities as far as I can see: 1) I'm not linking right 2) I'm not loading right I'll do some more stepping around when I find the time. Any pointers on where I should focus? Oh, a regular static compile works fine. A shared compile on MOSX 10.0.0.4 showed the same symptom. Thanks, S. -- Covalent Technologies sctemme@covalent.net Engineering group Voice: (415) 536 5214 645 Howard St. Fax: (415) 536 5210 San Francisco CA 94105 PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03 5531 AFB1 96AF B584 0AB1 ======================================================= This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message =======================================================