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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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!