Re: Apache Startup Problems with mod_wsgi : Missing Symbols ap_cleanup_scoreboard and ap_accept_lock_mech

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jeroen,

Thanks for your response.

From the build transcript provided in the earlier email, the mod_wsgi module make step is as follows and i see that apxs was used(and apxs internally used gcc) 

Please see the make step below. Please let me know if this seems ok to you and what else could be the problem?

root [zibal]% make
        /usr/local/apache2/bin/apxs -c -I/usr/local/include/python2.6 -DNDEBUG   mod_wsgi.c -L/usr/local/lib -L/usr/local/lib/python2.6/config  -lpython2.6 -ldl -lm
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic   -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include   -I/usr/local/apache2/include -I/usr/local/include -I/usr/local/include/python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
/usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_wsgi.la  -rpath /usr/local/apache2/modules -module -avoid-version  -Wl,-brtl  mod_wsgi.lo -L/usr/local/lib -L/usr/local/lib/python2.6/config -lpython2.6 -ldl -lm
Target "all" is up to date.

Regards,
Anurag

On Mon, Nov 22, 2010 at 1:55 AM, Jeroen Geilman <jeroen@xxxxxxxxx> wrote:
On 11/21/2010 09:22 PM, Anurag Chourasia wrote:
All,

I hope you could help me with a mod_wsgi load error upon startup of apache. This is affecting one of our site Go Live and I would appreciate any help offered in this regard.

The error upon startup of Apache is as follows

root [zibal]% ./usr/local/apache2/bin/apachectl restart
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_wsgi.so into server:
rtld:0712-001 Symbol ap_cleanup_scoreboard was referenced from module /usr/local/apache2/modules/mod_wsgi.so(), but a runtime definition of the symbol was not found.
rtld: 0712-001 Symbol ap_accept_lock_mech was referenced from module /usr/local/apache2/modules/mod_wsgi.so(), but a runtime definition of the symbol was not found.


Apxs


I built Apache 2.2.17 and Mod_Wsgi 3.3 using the source and the compiler was gcc-4.2.

But not with apxs.
You MUST build apache modules with apxs.

--
J.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux