Menu

Unable to load module

Help
2001-11-13
2002-01-13
  • Dwayne Bilka

    Dwayne Bilka - 2001-11-13

    I'm getting the following error:

    Cannot load /usr/lib/apache/mod_auth_mysql.so into server: /usr/lib/apache/mod_auth_mysql.so: undefined symbol: uncompress

    System: RH 6.2 secure web server (Apache/1.3.12) using DSOs , MySQL 3.23.44 using RPM, also installed client, devel and shared RPMs for MySQL.

    LD_LIBRARY_PATH=/usr/lib/mysql

    /etc/ld.so.conf contains an entry for /usr/lib/mysql

    I looked at the Makefile and it looks fine.  No errors while running make.  Just when I try to start Apache with mod_auth_mysql.so enabled in httpsd.conf.

    Any suggestions?

     
    • Ben Rothe

      Ben Rothe - 2002-01-13

      Hi Dwayne,

      I had the same problem too. To get it to work I added "-lz" to the Makefile. Basically edit the "OPTS = ..." line to read:

      OPTS = -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient -lz

      # make
      # make install

      This worked for me on RedHat 7.2, Apache 1.3.22.

      Good luck!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.