Page 1 of 1

LANSA on Linux: Install LANSA for the Web Apache Module - mod_lansa.so: undefined symbol

Posted: Sun Oct 07, 2018 11:11 pm
by nick.diama
Hi all,

I tried to install LANSA for the Web Apache Module on a RHEL 7.6 x64. The following are the details of my setup process (logged in as root).

Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
Server built: May 28 2018 16:19:32
Python 2.7.5

[root@localhost wpi14200_lnx64]# mkdir /opt/lansaweb
[root@localhost wpi14200_lnx64]# useradd -M L14PGMLIB
[root@localhost wpi14200_lnx64]# passwd L14PGMLIB
[root@localhost wpi14200_lnx64]# groupadd LANSA
[root@localhost wpi14200_lnx64]# usermod -a -G LANSA L14PGMLIB
[root@localhost wpi14200_lnx64]# chown -R L14PGMLIB:LANSA /opt/lansaweb
[root@localhost wpi14200_lnx64]# ./wpiinstall.py -I /opt/lansaweb --install-owner L14PGMLIB --install-group LANSA


LANSA for the Web Plug-in (Apache Module) for Linux 14.2.0 Installer
====================================================================

Installation Root = /opt/lansaweb
Installation Owner User = L14PGMLIB
Installation Owner Group = LANSA
Connect Root = /opt/lansaweb/connect
LANSA for the Web Plug-in Root = /opt/lansaweb/webserver/apache
LANSA for the Web Images Root = /opt/lansaweb/webserver/images
Apache Root = /etc/httpd
Apache Modules Directory = /etc/httpd/modules
Apache Configuration File = /etc/httpd/conf/httpd.conf
Apache HTTP Server Daemon = /usr/sbin/httpd
Apache HTTP Server Version = 2.4.6
Apache HTTP Server MPM = prefork
Apache HTTP Server Control = /usr/sbin/apachectl
Apache Daemon User = apache
Apache Daemon Group = apache
Action to be Done = Install

Check all the settings and re-run the command
with option --commit to commit action.

[root@localhost wpi14200_lnx64]# ./wpiinstall.py -I /opt/lansaweb --install-owner L14PGMLIB --install-group LANSA --commit

LANSA for the Web Plug-in (Apache Module) for Linux 14.2.0 Installer
====================================================================

Installation Root = /opt/lansaweb
Installation Owner User = L14PGMLIB
Installation Owner Group = LANSA
Connect Root = /opt/lansaweb/connect
LANSA for the Web Plug-in Root = /opt/lansaweb/webserver/apache
LANSA for the Web Images Root = /opt/lansaweb/webserver/images
Apache Root = /etc/httpd
Apache Modules Directory = /etc/httpd/modules
Apache Configuration File = /etc/httpd/conf/httpd.conf
Apache HTTP Server Daemon = /usr/sbin/httpd
Apache HTTP Server Version = 2.4.6
Apache HTTP Server MPM = prefork
Apache HTTP Server Control = /usr/sbin/apachectl
Apache Daemon User = apache
Apache Daemon Group = apache
Action to be Done = Install

Checking installation package...
Done.
Installing ...
### Updating Apache configuration ###

Using system Apache configuration file "/etc/httpd/conf/httpd.conf",
added symlink "/etc/httpd/conf.d/mod_lansa.conf"
that links to "/opt/lansaweb/webserver/apache/mod_lansa.conf".

### Finished updating Apache configuration ###
### Updating /etc/sysconfig/httpd ###

Fixed LD_LIBRARY_PATH to include "/opt/lansaweb/connect".

### Finished updating /etc/sysconfig/httpd ###
Done.

### LANSA for the Web Plug-in (Apache Module) notes ###

SELinux is detected existing in the system.
Remember to read "/opt/lansaweb/webserver/apache/selinux/selinux.notes"
for special notes for SELinux.

[root@localhost wpi14200_lnx64]# systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

[root@localhost wpi14200_lnx64]# systemctl status httpd.service -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-10-07 14:26:43 EEST; 2min 29s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 14716 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 14714 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 14714 (code=exited, status=1/FAILURE)

Oct 07 14:26:43 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
Oct 07 14:26:43 localhost.localdomain httpd[14714]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/mod_lansa.conf: Cannot load /opt/lansaweb/webserver/apache/mod_lansa.so into server: /opt/lansaweb/webserver/apache/mod_lansa.so: undefined symbol: _ZN2wx3utf25utf32_casing_lookup_tableILNS0_18CaseConversionTypeE1EE11lsb_lookup_E
Oct 07 14:26:43 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Oct 07 14:26:43 localhost.localdomain kill[14716]: kill: cannot find process ""
Oct 07 14:26:43 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
Oct 07 14:26:43 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Oct 07 14:26:43 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Oct 07 14:26:43 localhost.localdomain systemd[1]: httpd.service failed.

What exactly does this error means?
mod_lansa.so: undefined symbol: _ZN2wx3utf25utf32_casing_lookup_tableILNS0_18CaseConversionTypeE1EE11lsb_lookup_E

Thanks in advance for your answers.

Regards,
Nick

Re: LANSA on Linux: Install LANSA for the Web Apache Module - mod_lansa.so: undefined symbol

Posted: Tue Oct 09, 2018 9:33 am
by kelvinlee
This is a known problem.
Please contact LANSA and ask for patched installer.
If you don't want to reinstall, simply copy mod_lansa.so from the patched installer package.