SourceForge has been redesigned. Learn more.

installation problem

  • Anonymous

    Anonymous - 2003-01-28

    I tried to install an run mod_gzip on SUSE 8.1. Everything seemed to work until starting apache 1.3.26, it says
    cannot load /usr/lib/apache/mod-gzip into server: /usr/lib/apache/ undefined symbol: gzp_main

    To compile mod_gzip i had to install the apache-devel package in SUSE, without it, no apxs is installed. Then i started installation with
    /usr/sbin/apxs -i -a -c mod_gzip.c
    after calling apxs it says:
    gcc -02 -march=i586 -mcpu=i686 -fmessage-length=0 -DEAPI_MM -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARF_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208110 -DEAPI -fPIC -DSHARED_MODULE -I/usr/include/apache -c mod_gzip.c
    gcc -shared - o mod_gzip.o

    In der httpd.conf LoadModule and AddModule was added. But it was added in the <IfDefine DUMMYSSL> statement. Instead I was placing both outside it, to load in all cases.

    Then I added the mod_gzip Configuration

    <IfModule mod_gzip.c>
    mod_gzip_on Yes

    Please help, i really dont know whats wrong with it. i tried to install mod_gzip-


    • S. Staats

      S. Staats - 2003-02-11

      In the directory where you untarred the mod_gzip- file, modify the Makefile file and set
      then type:
      make build
      make install
      It will probably install the "LoadModule gzip_module        libexec/" and "AddModule mod_gzip.c" lines in the DUMMYSSL section of httpd.conf, so just move them out again.
      Make sure is in the libexec directory.
      That should work for you.


Log in to post a comment.