IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

libbroker.so: cannot open shared object or file

  • 1.  libbroker.so: cannot open shared object or file

    Posted Sat October 23, 2004 08:41 PM

    We are trying to set up an environment to use natural web with a Suse LInux Server, Apache, Natural and EntireX 7.1.

    We set up each product following all available documentation but each time that we hit the httpd server, to use nwwcgi, we receive a message telling that it can not load libbroker.so
    We modify apache configuration file (httpd.conf) in order to include a LoadModule statement (LoadModule broker /srv/www/nwwcgi/libbroker.so) but the result is the same.
    We also added this library to LD_LIBRARY_PATH of the user root who is the one that start apache server but problem continues.

    Any idea?


    #Mainframe-Integration
    #EntireX
    #webMethods


  • 2.  RE: libbroker.so: cannot open shared object or file

    Posted Fri November 05, 2004 02:11 PM

    Hi Ariel,

    I am not familiar with Natural Web but I have some comments
    on loading shared libraries into Apache httpd.

    There are some caveats with Apache httpd and shared libraries.
    If the Web Server is running as root (which I assume), then
    it can only load libraries located in /lib or /usr/lib and ignores
    LD_LIBRARY_PATH. This is a general UNIX/Linux policy.
    The library libbroker.so is not an Apache module, so LoadModule
    does not work.

    Two possible quick workarounds come into my mind:
    1. run httpd under a different user than root, or
    2. copy libbroker.so and the shared libraries this depends on to /usr/lib
    (but note, this is very dirty!)

    Regards, Dietmar.


    #webMethods
    #Mainframe-Integration
    #EntireX