My Oracle Support Banner

Installation Of OID 11.1.1.9 Fails With "libhasocket.so: undefined reference to 'memcpy@GLIBC_2.14'" (Doc ID 2110277.1)

Last updated on JUNE 09, 2023

Applies to:

Oracle Fusion Middleware - Version 11.1.1.9.0 to 12.2.1.0.0 [Release Oracle11g to 12c]
Oracle Internet Directory - Version 11.1.1.9.0 to 11.1.1.9.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

While trying to install OID 11.1.1.9  on Linux red hat 7.2. the installer fails with:

 - Linking ORACLE_HOME/lib/libhasocket.so
/usr/bin/gcc -shared -o ORACLE_HOME/lib/libhasocket.so ORACLE_HOME/lib/shasocket.o ORACLE_HOME/lib/libha.a -Wl,-init,shasocket_init,-fini,shasocket_fini -ldl -lpthread -lrt -LORACLE_HOME/lib/ -L/usr/lib -lirc
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
chmod 750 ORACLE_HOME/lib/libhasocket.so
- Linking ORACLE_HOME/bin/hasocket
gcc -o ORACLE_HOME/bin/hasocket -LORACLE_HOME/lib/ -LORACLE_HOME/lib/ -LORACLE_HOME/lib/stubs/ ORACLE_HOME/lib/s0hasocket.o ORACLE_HOME/lib/libhasocket.so -ldl -L/usr/lib -lirc -lpthread -lrt
ORACLE_HOME/lib/libhasocket.so: undefined reference to 'memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
make: *** [ORACLE_HOME/bin/hasocket] Error 1

Cause

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
Symptoms
Cause
Solution
References


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