root@zeus:/home/aochoa/openser/openser-1.3.1-notls
# ./openser
May 22 15:57:16 [4482] DBG:core:yyparse: loading module
/usr/local/lib/openser/modules/mysql.so
May 22 15:57:16 [4482] DBG:core:yyparse: loading module
/usr/local/lib/openser/modules/sl.so
May 22 15:57:16 [4482] ERROR:core:version_control: *module compile flags
mismatch for* /usr/local/lib/openser/modules/sl.so
core: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
module: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE,
USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,FAST_LOCK-ADAPTIVE_WAIT
I've already do what you mention, but the problem persists. I tried also
with openser 1.3.2, and the same thing.
Also I noted that there are different linked libs on the same module but
compiled on different machines:
Fedora:
[root@apolo] /usr/local/lib/openser/modules
# ldd sl.so
linux-gate.so.1 => (0x0028b000)
libc.so.6 => /lib/libc.so.6 (0x00111000)
/lib/ld-linux.so.2 (0x0028c000)
Centos: (this is the one with the problem)
root@zeus:/home/aochoa/openser
# ldd /usr/local/lib/openser/modules/sl.so
libc.so.6 => /lib/tls/libc.so.6 (0x00149000)
/lib/ld-linux.so.2 (0x003f7000)
Hi Arturo,
the different libs are probably caused from the differenced configuration/
setup of the system library, i don't think that is critical.
If you check the log output quoted above, you'll see that the module is
compiled with "EXTRA_DEBUG", and the core not. This probably causes the
problem.
Perhaps you edited the Makefile.defs after the installation of the modules? If
you enable "EXTRA_DEBUG" also for the core, it should work for you.
Cheers,
Henning
--
I'm going to Linux Tag