Tuxedo buildserver Command Getting Errors "Undefined symbol <function_name> first referenced in file <lib_file_name>" (Doc ID 2246191.1)

Last updated on MARCH 28, 2017

Applies to:

Oracle Tuxedo - Version 12.1.1 and later
Information in this document applies to any platform.

Symptoms

When user attempts to build a Tuxedo application server, using symbols from a ".so" library, the user gets messages relating to undefined symbols (also known as the function names) in <A_Lib_Name_.so_file_that_exists>.

For example, while building Tuxedo application server (like the "SVC_bank_ssl" one below)  customer gets "symbol referencing errors" for several symbol names as follows:

buildserver -s:SVC_bank -v -o SVC_bank_ssl -f"stdsoap2_ssl.o logging.o soapC.o soapClient.o SVC_bank_ssl.o" -l"/myappdir/envs/tagdev/lib/sun/libSVC.a" \

cc -m64 -w -mt -I. -I/myappdir/12.1.1.0_prod/include -I/myappdir/source/tagdev/include -lcrypto -lssl -lz -lm -lcrypt_i
  -lgen -lc -mt -m64 -R/usr/lib/lwp -lengine -lpthread -lposix4 -I$TUXDIR/include -o SVC_bank_ssl BS-4ec9.c -L${TUXDIR}/lib
  stdsoap2_ssl.o logging.o soapC.o soapClient.o SVC_bank_ssl.o -ltux -lbuft -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4
 -lsocket -lnsl -lm -lnsl -lsocket /myappdir/envs/tagdev/lib/sun/libSVC.a
Undefined                     first referenced
symbol                          in file
SRP_Verify_A_mod_N    /usr/lib/64/libssl.so
SRP_Calc_client_key      /usr/lib/64/libssl.so
SRP_get_default_gN      /usr/lib/64/libssl.so
EVP_aes_128_gcm        /usr/lib/64/libssl.so
SRP_Calc_u                   /usr/lib/64/libssl.so
SRP_Calc_x                   /usr/lib/64/libssl.so
SRP_Calc_A                  /usr/lib/64/libssl.so
SRP_Calc_B                  /usr/lib/64/libssl.so
EVP_aes_256_gcm       /usr/lib/64/libssl.so
SRP_check_known_gN_param          /usr/lib/64/libssl.so
SRP_Calc_server_key                        /usr/lib/64/libssl.so
SRP_create_verifier_BN                    /usr/lib/64/libssl.so
EVP_aes_256_cbc_hmac_sha1       /usr/lib/64/libssl.so
EVP_aes_128_cbc_hmac_sha1      /usr/lib/64/libssl.so
CRYPTO_memcmp          /usr/lib/64/libssl.so
SRP_Verify_B_mod_N     /usr/lib/64/libssl.so
ld: fatal: symbol referencing errors. No output written to SVC_bank_ssl

CMDTUX_CAT:1832: ERROR: can't execute cc -m64 -w -mt -I. -I/myappdir/12.1.1.0_prod/include -I/myappdir/source/tagdev/include
  -lcrypto -lssl -lz -lm -lcrypt_i -lgen -lc -mt -m64 -R/usr/lib/lwp -lengine -lpthread -lposix4 -I$TUXDIR/include -o SVC_bank_ssl
  BS-4ec9.c -L${TUXDIR}/lib stdsoap2_ssl.o logging.o soapC.o soapClient.o SVC_bank_ssl.o -ltux -lbuft -lfml -lfml32 -lengine
  -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl -lm -lnsl -lsocket /myappdir/envs/tagdev/lib/sun/libSVC.a
*** Error code 2
make: Fatal error: Command failed for target `SVC_bank_ssl'





Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms