DeveloperSide.NET Forums
February 24, 2020, 11:49:01 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  DeveloperSide.NET / Building a Web Server, for Linux / How to build my customCModule on Apache 2 without DSO on: May 05, 2005, 05:25:46 PM
How can I build the my custom module on Apache 2.0 without the DSO support. On Apache 1.3 we have been doing folowing steps to build the module but the build tools seems to be changed in Apache 2.0. Any help / links would be appreciated:
Add the following line to the end of the Configuration.tmpl file in the Apache source directory:

AddModule modules/myModule/myModule.o
Copy your Configuration.tmpl file and name it Configuration:

$ cp Configuration.tmpl Configuration
Make any necessary changes to your Configuration file as described in the Apache installation documentation.

From your main Apache directory, complete the Apache installation as described in the Apache installation documentation. For example:

$ ./configure --prefix=/usr/local/apache
$ make
$ make install

WHAT WOULD BE THE CORRESPONDING FLAGS IN THIS CASE IN APACHE 2.0 to build this module without DSO. I am a bit new to Apache 2.0 its guru please suggest some links. Thanks in advance....
2  DeveloperSide.NET / Building a Web Server, for Linux / Apache 2 startup gives unresolved external on HP UX11i on: May 05, 2005, 05:18:52 PM
I am really struggling with this issue with no clue of how to narrow down that whether the issue is in my environment / my build process / or my custom module:-

I am bit new to HP UX still tried the following

$ httpd
Syntax error on line 233 of /home1/saurabhs/vivek/apache2Install/conf/httpd.conf:
Cannot load /home1/saurabhs/vivek/apache2Install/modules/ into server: Unresolved external

This error doesn't indicate which symbol its not able to locate...
Have following options tried:
$ ldd -r
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        /usr/lib/libdld.2 =>    /usr/lib/libdld.2
        /usr/lib/libc.2 =>      /usr/lib/libc.2
        symbol not found: apr_bucket_type_eos   (
        symbol not found: ap_hook_child_init    (
        symbol not found: ap_hook_handler       (
        symbol not found: ap_hook_translate_name        (
        symbol not found: ap_hook_fixups        (
        symbol not found: apr_pool_cleanup_register     (
        symbol not found: apr_palloc    (
        symbol not found: ap_log_error  (
        symbol not found: ap_get_server_name    (
        symbol not found: apr_table_get (
        symbol not found: ap_get_remote_host    (
        symbol not found: ap_get_server_port    (
        symbol not found: ap_run_http_method    (
        symbol not found: apr_table_elts        (
        symbol not found: apr_brigade_create    (
        symbol not found: ap_get_brigade        (
        symbol not found: apr_brigade_destroy   (
        symbol not found: apr_brigade_flatten   (
        symbol not found: ap_rwrite     (
        symbol not found: ap_rflush     (
        symbol not found: apr_pstrdup   (
        symbol not found: apr_pstrcat   (
        symbol not found: apr_table_add (
        symbol not found: apr_table_set (
        symbol not found: ap_os_escape_path     (
        symbol not found: ap_construct_url      (
        symbol not found: apr_table_setn        (

$ chatr
         shared library
         shared library dynamic path search:
             SHLIB_PATH     enabled   second
             embedded path  enabled   first  /home1/saurabhs/vivek/apache2Install/modules
         internal name:
         shared library list:
             dynamic   /usr/lib/libc.2
         shared vtable support disabled
         static branch prediction disabled
         executable from stack: D (default)
         kernel assisted branch prediction enabled
         lazy swap allocation disabled
         text segment locking disabled
         data segment locking disabled
         third quadrant private data space disabled
         fourth quadrant private data space disabled
         data page size: D (default)
         instruction page size: D (default)

Tried running pxdb debugger but no success, tried with lot of CFLAGS settings / SHLIB_PATH but with no success.

any indication of how to debug this problem further wud be gr8 help. Thanks...
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!