[FYI, I am seeing a response on the Apache list website, but I am NOT
receiving the response here in my Yahoo email :( !! So I will respond here]
Here is the 'ldd webgate.so'
[orcladmin@localhost lib]$ ldd
/apps/Oracle/Middleware/Oracle_Home/webgate/ohs/lib/webgate.so
linux-vdso.so.1 (0x00007ffedab35000) libm.so.6 => /lib64/libm.so.6
(0x00007fb0fe072000) libcurl.so.4 =>
/apps/Oracle/Middleware/Oracle_Home/ohs/lib/libcurl.so.4 (0x00007fb0fddae000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fb0fdb95000) libdl.so.2
=> /lib64/libdl.so.2 (0x00007fb0fd991000) libpthread.so.0 =>
/lib64/libpthread.so.0 (0x00007fb0fd771000) libdms2.so =>
/apps/Oracle/Middleware/Oracle_Home/oracle_common/lib/libdms2.so
(0x00007fb0fd519000) libstdc++.so.6 => /lib64/libstdc++.so.6
(0x00007fb0fd184000) libgcc_s.so.1 => /lib64/libgcc_s.so.1
(0x00007fb0fcf6c000) libc.so.6 => /lib64/libc.so.6 (0x00007fb0fcba7000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb0fea69000) libssl.so.1.1 =>
/apps/Oracle/Middleware/Oracle_Home/ohs/lib/libssl.so.1.1 (0x00007fb0fc916000)
libcrypto.so.1.1 =>
/apps/Oracle/Middleware/Oracle_Home/ohs/lib/libcrypto.so.1.1
(0x00007fb0fc450000) libz.so.1 =>
/apps/Oracle/Middleware/Oracle_Home/ohs/lib/libz.so.1 (0x00007fb0fc21e000)
librt.so.1 => /lib64/librt.so.1 (0x00007fb0fc016000)
FYI, per my original msg below, when I do "nm -D libclntshcore.so", I *DO* see
the slts_runmode symbol, but it is labelled "B".
I will try 'strace -e openat httpd -t' after this and post after that.
Thanks,Jim
On Friday, February 7, 2025 at 03:25:58 AM EST, ohaya <[email protected]>
wrote:
Hi,
I am trying to get the "httpd -t" test to work but am getting an "undefined
symbol" message.
The Apache is 2.4.39 version that I built from source on a CENTOS 8.5 machine.
Here's what I am running:
export
LD_LIBRARY_PATH=/apps/Oracle/Middleware/Oracle_Home/lib:/..../apps/Oracle/Middleware/Oracle_Home/webgate/ohs/lib/
./httpd -t -DOHS_MPM_EVENT -f /apps/httpd2.4/conf/httpd.conf
httpd: Syntax error on line 512 of /apps/httpd2.4/conf/httpd.conf: Syntax error
on line 5 of
/apps/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/config/fmwconfig/components/OHS/instances/ohs1/webgate.conf:
Cannot load /apps/Oracle/Middleware/Oracle_Home/webgate/ohs/lib/webgate.so
into server: /apps/Oracle/Middleware/Oracle_Home/webgate/ohs/lib/webgate.so:
undefined symbol: slts_runmode
I am trying to get this Apache working with an Oracle webgate module, which is
configured in the Apache httpd.conf by including an include line:
include "webgate.conf"
I've been checking for that "slts_runmode" symbol, and I've found references in
two .so files:
libclntsh.solibclntshcore.so
I ran "nm -D" on those 2 .so files:
[orcladmin@localhost lib]$ nm -D libclntsh.so | grep slts_runmode
U slts_runmode
[orcladmin@localhost lib]$ nm -D libclntshcore.so | grep slts_runmode
000000000056d120 B slts_runmode
>From what I was able to find the "U" means "undefined" and the "B" stands for
>"BSS"?
I was wondering if there is any way to configure the Apache to ignore/bypass
that "undefined symbol" problem?
>From what I was able to find, that "slts_runmode" is something to do with
>database, which I am not using at all, so I am really hoping if there is some
>way to either workaround the "undefined symbol" or to tell Apache to ignore
>the "undefined symbol", I think that would be sufficient for what I am trying
>to do.
Thanks,Jim