Steve Holmlund
sholmlund at coastside.net
Sat May 3 22:36:29 EST 2003
Thank you! That worked. I did see that message but my review of the Apache Makefile had me convinced that the standard port for Apache had threads enabled. Sorry for my ignorance. I should have tried that first. Not being a programmer, one of the appeals of FreeBSD is the ports collection. I get in trouble when I have to step beyond those bounds. Appreciate the response. Steve -----Original Message----- From: Gregory (Grisha) Trubetskoy [mailto:grisha at modpython.org] Sent: Saturday, May 03, 2003 7:41 PM To: Steve Holmlund Cc: mod_python at modpython.org Subject: Re: [mod_python] FreeBSD/Apache2/mod_python3.0.3 install issue You probably didn't read the note that shows up at the very end of the FreeBSD port install :-) [snip] And, if you built apache without thread support, you may need to add the following lines to $PREFIX/sbin/envvars: LD_PRELOAD=/usr/lib/libc_r.so export LD_PRELOAD [snip] Grisha On Sat, 3 May 2003, Steve Holmlund wrote: > Hi, > > I'm new to this list and apologize in advance if I've missed the obvious. > I've searched the archives and found a couple similar instances of my > problem but also think that recent changes should have fixed what I'm > seeing. Hence, this post. > > I've installed mod_python 3.0.3 with Apache 2.0.45 on both FreeBSD 4.8 and > 5.0. I add the LoadModule line to httpd.conf and restart Apache, at which > point I get: > > Syntax error on line 274 of /usr/local/etc/apache2/httpd.conf: > Cannot load /usr/local/libexec/apache2/mod_python.so into server: > /usr/local/libexec/apache2/mod_python.so: Undefined symbol "pthread_create" > > Before installing, I updated the entire ports collection source so I should > be current in that regard. As far as I can tell from reading the port > Makefile in Apache2, threads are enabled. So I didn't modify anything, just > ran make, make install. > > I remain confused about how to modify httpd.conf, in spite of the message at > the end of the make install of mod_python, which talks about setting > PythonPath, etc. Could my incomplete modification of httpd.conf be the cause > of the error I'm seeing? Or is something else wrong? > > Also, could someone show me a slightly more explicit (so to speak) snippet > of httpd.conf that correctly modifies the standard one placed by a ports > installation on FreeBSD? I just want the minimum mods to httpd.conf to > confirm functionality before proceeding to other setups. > > Again, sorry if I'm missing the obvious. Anyone with the time to help, many > thanks in advance. > > Steve Holmlund > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|