WebAgent error starting: /usr/bin/bash: symbol lookup error: libbtunicode.so: undefined symbol: pthread_once
search cancel

WebAgent error starting: /usr/bin/bash: symbol lookup error: libbtunicode.so: undefined symbol: pthread_once

book

Article ID: 278682

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

While troubleshooting the WebAgent startup, performing an ldd gave a symbols error:

# ldd /opt/SiteMinder/webagent/bin/libmod_sm24.so

<editted>

/usr/bin/bash: symbol lookup error: /opt/SiteMinder/webagent/bin/libbtunicode.so: undefined symbol: pthread_once
/usr/bin/bash: symbol lookup error: /opt/SiteMinder/webagent/bin/libbtunicode.so: undefined symbol: pthread_once

Environment

Applicable to SMWA

Version: R12 SP1 CR11

Environment: RHEL7

Cause

The ca_wa_env.sh was old and still setting the LD_PRELOAD=/opt/SiteMinder/webagent/bin/libbtunicode.so

This is no longer necessary on newer versions of Apache.

See: https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/siteminder/12-8/installing/install-agents/web-agent-for-apache/install-and-configure-apache-based-agents-on-unix-linux/how-to-configure-apache-based-agents-on-unix-or-linux.html

Verify that the line that sets the LD_PRELOAD variable begins with a comment (the LD_PRELOAD variable setting is disabled).

 

For manual verification, from command line blank out the variable like this:

# export LD_PRELOAD=

Resolution

Edited the ca_wa_env.sh and commented out the LD_PRELOAD entry