httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Muent <Bernd.Mu...@euroscript.de>
Subject [users@httpd] Can't compile any dso module, no .so is created
Date Wed, 01 Jun 2005 16:55:16 GMT
Hi together,
I am using apache2 with dso compilied in:
httpd -l => mod_so.c

Now I'm trying to compile dso modules mod_auth_mysql and mod_auth_ldap
with the same problem:
root@workstation:/usr/src/mod_auth_mysql-2.9.0>apxs -c
-L/usr/local/mysql/lib -I/usr/local/mysql/include/mysql -lmysqlclient
-lm -lz mod_auth_mysql.c
/usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic
  -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2
-pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include
-I/usr/local/apache2/include  -I/usr/local/mysql/include/mysql  -c -o
mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo
/usr/local/apache2/build/libtool --silent --mode=link gcc -o
mod_auth_mysql.la  -L/usr/local/mysql/lib -lmysqlclient -lm -lz -rpath
/usr/local/apache2/modules -module -avoid-version    mod_auth_mysql.lo

After that there are:
-rw-r--r--    1 root     root          818 2005-06-01 14:55
mod_auth_mysql.la
-rw-r--r--    1 root     root          313 2005-06-01 14:55
mod_auth_mysql.lo
-rw-r--r--    1 root     root          98K 2005-06-01 14:55 mod_auth_mysql.o
-rw-r--r--    1 root     root            0 2005-06-01 14:55
mod_auth_mysql.slo

But no .so file :-(.
So that happens:
apxs -i apxs -i mod_auth_mysql.la

chmod 755 /usr/local/apache2/modules/mod_auth_mysql.so
chmod: konnte Attribute von
»/usr/local/apache2/modules/mod_auth_mysql.so« nicht holen: No such file.
apxs:Error: Command failed with rc=65536

What's wrong? Why don't I get any .so files?

Thank you for tips, Bernd


-- 
Bernd Münt                   Durchwahl: 030/69032-509
euroscript Deutschland GmbH  Zentrale:  030/69032-300
Abteilung IT-Management      Fax:       030/69032-505
Alt-Moabit 91                Mail:      Bernd.Muent@euroscript.de
10559 Berlin                 Web:       http://www.euroscript.de

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message