tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janek Bogucki" <>
Subject Solution to symbol: pthread_sigmask on Red Hat Linux 7.1
Date Sat, 22 Sep 2001 01:11:29 GMT

I may have solved (or at least worked around) the the missing
'pthread_sigmask' symbol error encountered when trying to use From the mailing list it appears to affect this

   1. Red Hat Linux 7.1

   2. Apache 1.3.x
   3. httpd.conf will have these lines in it:

         LoadModule webapp_module      libexec/
         AddModule mod_webapp.c

The symptom is this:

    [root@bogucki bin]# ./apachectl start
    Syntax error on line 241 of /opt/apache/conf/httpd.conf:
    Cannot load /opt/apache/libexec/ into server:
          /opt/apache/libexec/ undefined symbol:
    ./apachectl start: httpd could not be started
    [root@bogucki bin]# 

The solution is:

    [root@bogucki bin]# export LD_PRELOAD=/lib/i686/
    [root@bogucki bin]# ./apachectl start
    ./apachectl start: httpd started
    [root@bogucki bin]# 

I am cautious in my proposal of this as the 'solution' as I'm
unaware of any ill side-effects this may have. I have not yet
tested now that finally I have httpd up with I'm saving that for later :-)


It might be useful if I describe the path I took to get to this

Step 1.

I located all's on my system:

    [root@bogucki conf]# locate
    [root@bogucki conf]# 

These are symbolic links pointing to these libraries:


Step 2.

I listed the symbols in each, looking for 'pthread_sigmask':

    [root@bogucki conf]# nm /lib/ 
    nm: /lib/ no symbols
    [root@bogucki conf]# 
    [root@bogucki conf]# nm /lib/i686/ |wc
        501    1409   15588
    [root@bogucki conf]# nm /lib/i686/ |grep sigmask
    00009640 T pthread_sigmask
    [root@bogucki conf]#

(Why would a library not have any symbols? Anyone know?)

Step 3.

I forced the preloading of the library with symbols in via
LD_PRELOAD and httpd started and served out on okay.


I would be interested to hear if this works for anyone else and
if any weirdnesses can be expected as a result of this

all the best,

      - This email has been sent using TurtleMail -         
Get your free email address from now!

View raw message