64-bit Oracle on UNIX: genclntsh: undefined symbols: nnfhboot nnflboot nnflinit... (Doc ID 395731.1)

Last updated on MAY 23, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.4 to 11.1.0.7 [Release 8.1.7 to 11.1]
Oracle Database - Standard Edition - Version 8.1.7.4 to 11.1.0.7 [Release 8.1.7 to 11.1]
HP-UX PA-RISC (64-bit)
IBM AIX on POWER Systems (64-bit)
Oracle Solaris on SPARC (64-bit)
HP-UX Itanium
Linux x86-64
Linux Itanium
***Checked for relevance on 09-NOV-2010***


Symptoms

While relinking 64-bit Oracle software on UNIX, the genclntsh command generates undefined symbol errors similar to...

/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/oracle/920_64 /oracle/920_64/bin/genclntsh
cat: cannot open /oracle/920_64/lib32/ldflags
Undefined             first referenced
symbol                  in file
nnfhboot    /oracle/920_64/lib32/libn9.a(nnfgt.o)
nnflboot    /oracle/920_64/lib32/libn9.a(nnfgt.o)
nnflinit    /oracle/920_64/lib32/libclient9.a(kpun.o)
nnfoboot    /oracle/920_64/lib32/libn9.a(nnfgt.o)
nnftboot    /oracle/920_64/lib32/libn9.a(nnfgt.o)
nnfyboot    /oracle/920_64/lib32/libn9.a(nnfgt.o)
nnflcls    /oracle/920_64/lib32/libclient9.a(kpuini.o)
nnfldne    /oracle/920_64/lib32/libclient9.a(kpun.o)
nnflgav    /oracle/920_64/lib32/libnl9.a(nlol.o)
nnflfrm    /oracle/920_64/lib32/libclient9.a(kpun.o)
nnflgne    /oracle/920_64/lib32/libclient9.a(kpun.o)
nnflobc    /oracle/920_64/lib32/libclient9.a(kpun.o)
nnflqbf    /oracle/920_64/lib32/libclient9.a(kpun.o)
nnflsai    /oracle/920_64/lib32/libclient9.a(kpun.o)
nnflrne    /oracle/920_64/lib32/libnl9.a(nlol.o)
nnflune    /oracle/920_64/lib32/libclient9.a(kpun.o)
ntusini    /oracle/920_64/lib32/libn9.a(ntcontab.o)
ntpini    /oracle/920_64/lib32/libn9.a(ntcontab.o)
nttini    /oracle/920_64/lib32/libn9.a(ntcontab.o)
ntzini    /oracle/920_64/lib32/libn9.a(ntcontab.o)
ld: fatal: Symbol referencing errors. No output written to /oracle/920_64/lib32/libclntsh.so.9.0

 

 

You may also see errors like
wrong ELF class: ELFCLASS64

ld: warning: file /app/oracle/product/ora10g2as/lib/libsql10.a(sqlghp.o): wrong
ELF class: ELFCLASS64
ld: warning: file /app/oracle/product/ora10g2as/lib/libcore10.a(ldxsdc.o): wrong
ELF class: ELFCLASS64
ld: warning: file /app/oracle/product/ora10g2as/lib/libnls10.a(lmsat.o): wrong E
LF class: ELFCLASS64
ld: warning: file /app/oracle/product/ora10g2as/lib/libsql10.a(sqliem.o): wrong
ELF class: ELFCLASS64
Undefined first referenced symbol in file
ldxsdc /app/oracle/product/ora10g2as/lib32/libicw.a (icts.o)
lmsatp /app/oracle/product/ora10g2as/lib32/libicw.a (icmf.o)
lxovid /app/oracle/product/ora10g2as/lib32/libicw.a (ics.o)

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