mod_perl + perl 5.8 with thread support

Bruno Lavoie freebsd-stable at evolugroup.com
Mon Feb 21 14:03:55 PST 2005


Hello,

i need to have modperl::perlrun  (Perl 5.8 ) with iThreads support 
because i'm building a server on wich developpers will work, and each of 
these developers need a unique @INC path
  --> 
http://perl.apache.org/docs/2.0/user/config/config.html#Modifying_C__INC__on_a_Per_VirtualHost

 i can build successfully perl with thread support (-DWITH_THREADS) , 
after that i build mod_perl, successfully too!

the problem is when i start apache :

bash-2.05b# /usr/local/etc/rc.d/apache2.sh restart
Performing sanity check on apache2 configuration:
Syntax error on line 243 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/mod_perl.so into server: 
/usr/local/libexec/apache2/mod_perl.so: Undefined symbol 
"pthread_cond_signal"
bash-2.05b#

it works fine if i dont have the threaded version of perl 5.8

how can i make it working? is it possible? if not, why?

Thanks
Bruno






More information about the freebsd-ports mailing list