My Oracle Support Banner

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

Last updated on OCTOBER 29, 2020

Applies to:

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


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_NAME>" one below)  customer gets "symbol referencing errors" for several symbol names as follows:

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

cc -m64 -w -mt -I. -I/myappdir/ -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_NAME> BS-4ec9.c -L${TUXDIR}/lib
  stdsoap2_ssl.o logging.o soapC.o soapClient.o <SVC_NAME>.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/
SRP_Calc_client_key      /usr/lib/64/
SRP_get_default_gN      /usr/lib/64/
EVP_aes_128_gcm        /usr/lib/64/
SRP_Calc_u                   /usr/lib/64/
SRP_Calc_x                   /usr/lib/64/
SRP_Calc_A                  /usr/lib/64/
SRP_Calc_B                  /usr/lib/64/
EVP_aes_256_gcm       /usr/lib/64/
SRP_check_known_gN_param          /usr/lib/64/
SRP_Calc_server_key                        /usr/lib/64/
SRP_create_verifier_BN                    /usr/lib/64/
EVP_aes_256_cbc_hmac_sha1       /usr/lib/64/
EVP_aes_128_cbc_hmac_sha1      /usr/lib/64/
CRYPTO_memcmp          /usr/lib/64/
SRP_Verify_B_mod_N     /usr/lib/64/
ld: fatal: symbol referencing errors. No output written to <SVC_NAME>

CMDTUX_CAT:1832: ERROR: can't execute cc -m64 -w -mt -I. -I/myappdir/ -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_NAME>
  BS-4ec9.c -L${TUXDIR}/lib stdsoap2_ssl.o logging.o soapC.o soapClient.o <SVC_NAME>.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_NAME>'




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.