I was able to get apache installed, without being able to start it, as a DSO
using the layout=GNU and -enable-shared=max configure options.
I probably need to be more selective but, I'll rebuild it once I get it working.
The make install on apache_1.3.33 says it's all ok, but when I try and
apachectl start it, I get:
dyld: /usr/local/sbin/httpd Undefined symbols: _include_module /usr/sbin/apachectl: line 186: 6269 Trace/BPT trap $HTTPD
It's the same with compiling mod_perl 1.26. I try to perl MakeFile.PL EVERYTHING=1 DO_HTTP=1
It says ok, but on make I get the following:
ld: warning multiple definitions of symbol _regcomp
regex/libregex.a(regcomp.o) definition of _regcomp in section (__TEXT,__text)
/usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex/libregex.a(regexec.o) definition of _regexec in section (__TEXT,__text)
/usr/lib/libdl.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex/libregex.a(regfree.o) definition of _regfree in section (__TEXT,__text)
/usr/lib/libdl.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[1]: *** [target_static] Error 1
make: *** [apache_httpd] Error 2
I've tried so many different things and feel like I'm lost in the dark. Anyone know how I can set things strait?
On Feb 6, 2005, at 4:16 PM, Boysenberry Payne wrote:
I think I figured out what's wrong, but I don't know how to correct it.
After reading a web-blog that said to rename any fink created conflicting
directories namely /sw/lib/mysql or /sw/lib/perl5 I tried it. Nothing worked
afterwords. So, I'm guessing I have conflicting modules being used.
Try as I might to reinstall mod_perl I can't get it right. The perl MakeFile.PL
asks me to find the apache source directory, which on Mac OS X 10.3 is
/usr/include/httpd/ I believe. When I try it the sub directories it looks for
the apache handlers are all wrong. I tried ln my /Library/MySQL/lib/mysql/
to the /sw/lib/mysql/ directory to no avail. I needs the following:
dyld: /usr/sbin/httpd can't open library: /sw/lib/mysql/libmysqlclient.14.dylib (No such file or directory, errno = 2)
[Sun Feb 6 16:08:18 2005] [notice] child pid 779 exit signal Trace/BPT trap (5)
Anyone know what my next step is?