Hi,

I have a C++ shared library with a lot of utile things and I built my
module against it.
I copied it into bin then in module folder but even so the server does not
find it.

What I am missing here?

The error is:

/home/xyz/indian/conf/httpd.conf: Cannot load modules/mod_xyz.so into
server: libmod_xyzi.so: cannot open shared object file: No such file or
directory

The conf contains these lines:

LoadFile /home/xyz/src/c_cpp/mod_xyz/libmod_xyzi.so
LoadModule xyz_module modules/mod_xyz.so

<Location /xyz>
SetHandler xyz-handler
</Location>

These are my server's data:

Server Version: Apache/2.4.3 (Unix)
Server Built: Feb 20 2013 17:24:12
Server loaded APR Version: 1.4.6
Compiled with APR Version: 1.4.6
Server loaded APU Version: 1.4.1
Compiled with APU Version: 1.4.1
Module Magic Number: 20120211:6
Hostname/port: localhost:8888
Timeouts: connection: 60    keep-alive: 5
MPM Name: event
MPM Information: Max Daemons: 3 Threaded: yes Forked: yes
Server Architecture: 64-bit
Server Root: /home/xyz/indian
Config File: /home/xyz/indian/conf/httpd.conf
Server Built With: -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6
(IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D
APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D
HTTPD_ROOT="/home/xyz/indian" -D SUEXEC_BIN="/home/xyz/indian/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid" -D
DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D
DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

SK

Reply via email to