Re: linking problems on install of 7.0.16
From: Jim Shang <jims_at_mincom.oz.au>
Date: 14 Dec 1994 04:30:14 GMT
Message-ID: <JIMS.94Dec14143014_at_cygnus.mincom.oz.au>
Wyandra St, Teneriffe, Queensland, Australia 4120
In article <D0nqzn.AqB_at_mail.auburn.edu> jgraves_at_eng.auburn.edu (Jeff Graves) writes:
> Lines: 78
>
> Hi,
>
> I am installing Oracle 7.0.16 on a Sparc 20 Running Solaris 2.3. On relinking the oracle
> executable, ld finds undefined symbols, so apparently there is a library it cannot find. If
> this is correct, can anyone tell me which library(s) are needed? If not, does anyone have
> any other ideas? Below is a sample output from trying to install a patch.
>
> Please email suggestions to me and I will summarize to the group. Thank you very much.
>
> Jeff Graves jgraves_at_eng.auburn.edu
>
> -----------------------------------------------------------
>
> chmod 755 /export/oracle7/product/7.0.16/bin
> rm -f /export/oracle7/product/7.0.16/lib/osntab.o /export/oracle7/product/7.0.16/lib/osntabst.o osntab.c osntabst.c /export/oracle7/product/7.0.16/lib/config.o ksms.s ksms.o
> rm -f oracle imp exp sqldba sqlldr
> /export/oracle7/product/7.0.16/bin/genksms > ksms.s
> as -P -o ksms.o ksms.s
> chmod 644 /export/oracle7/product/7.0.16/lib/libknl.a
> ar r /export/oracle7/product/7.0.16/lib/libknl.a ksms.o
> /export/oracle7/product/7.0.16/bin/genosntab -c > osntab.s
> rm -f osntabst.s
> ln osntab.s osntabst.s
> as -P osntab.s
> as -P -DSYS_SGL osntabst.s
> mv -f osntabst.o /export/oracle7/product/7.0.16/lib
> mv -f osntab.o /export/oracle7/product/7.0.16/lib
> chmod a+r /export/oracle7/product/7.0.16/lib/osntab.o
> as -P config.s
> mv -f config.o /export/oracle7/product/7.0.16/lib
> /export/oracle7/product/7.0.16/bin/genksms > ksms.s
> as ksms.s
> chmod 644 /export/oracle7/product/7.0.16/lib/libknl.a
> ar r /export/oracle7/product/7.0.16/lib/libknl.a ksms.o
> ld -dy /export/oracle7/product/7.0.16/lib/crti.o /export/oracle7/product/7.0.16/lib/crt1.o /export/oracle7/product/7.0.16/lib/__fstd.o -o oracle -L/export/oracle7/product/7.0.16/lib opimai.o /export/oracle7/product/7.0.16/lib/osntab.o -lsqlnet /export/oracle7/product/7.0.16/lib/config.o -lora -lknlopt -lpls -lknl /export/oracle7/product/7.0.16/lib/libsqlnet.a -lora -lknlopt -lpls -lknl -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lstublm -lsocket -lnsl -lm -ldl -laio -Y P,:/usr/ccs/lib:/usr/lib -Qy -lc
/ex
> port/oracle7/product/7.0.16/lib/crtn.o
> Undefined first referenced
> symbol in file
SNIP
> nncidei /export/oracle7/product/7.0.16/lib/libora.a(opidrv.o)
> nsanswer /export/oracle7/product/7.0.16/lib/libknl.a(kmn.o)
> ld: fatal: Symbol referencing errors. No output written to oracle
> *** Error code 1
> make: Fatal error: Command failed for target `oracle'
>
>
>
>
Date: 14 Dec 1994 04:30:14 GMT
Message-ID: <JIMS.94Dec14143014_at_cygnus.mincom.oz.au>
Try setting LD_LIBRARY_PATH = $ORACLE_HOME/lib before installing
Regards
Jim
James Shang jims_at_mincom.oz.au Analyst Programmer Phone: +61 7 303 3358 MIMS Technical Fax: +61 7 303 3257MINCOM Pty. Ltd.
Wyandra St, Teneriffe, Queensland, Australia 4120
In article <D0nqzn.AqB_at_mail.auburn.edu> jgraves_at_eng.auburn.edu (Jeff Graves) writes:
> Lines: 78
>
> Hi,
>
> I am installing Oracle 7.0.16 on a Sparc 20 Running Solaris 2.3. On relinking the oracle
> executable, ld finds undefined symbols, so apparently there is a library it cannot find. If
> this is correct, can anyone tell me which library(s) are needed? If not, does anyone have
> any other ideas? Below is a sample output from trying to install a patch.
>
> Please email suggestions to me and I will summarize to the group. Thank you very much.
>
> Jeff Graves jgraves_at_eng.auburn.edu
>
> -----------------------------------------------------------
>
> chmod 755 /export/oracle7/product/7.0.16/bin
> rm -f /export/oracle7/product/7.0.16/lib/osntab.o /export/oracle7/product/7.0.16/lib/osntabst.o osntab.c osntabst.c /export/oracle7/product/7.0.16/lib/config.o ksms.s ksms.o
> rm -f oracle imp exp sqldba sqlldr
> /export/oracle7/product/7.0.16/bin/genksms > ksms.s
> as -P -o ksms.o ksms.s
> chmod 644 /export/oracle7/product/7.0.16/lib/libknl.a
> ar r /export/oracle7/product/7.0.16/lib/libknl.a ksms.o
> /export/oracle7/product/7.0.16/bin/genosntab -c > osntab.s
> rm -f osntabst.s
> ln osntab.s osntabst.s
> as -P osntab.s
> as -P -DSYS_SGL osntabst.s
> mv -f osntabst.o /export/oracle7/product/7.0.16/lib
> mv -f osntab.o /export/oracle7/product/7.0.16/lib
> chmod a+r /export/oracle7/product/7.0.16/lib/osntab.o
> as -P config.s
> mv -f config.o /export/oracle7/product/7.0.16/lib
> /export/oracle7/product/7.0.16/bin/genksms > ksms.s
> as ksms.s
> chmod 644 /export/oracle7/product/7.0.16/lib/libknl.a
> ar r /export/oracle7/product/7.0.16/lib/libknl.a ksms.o
> ld -dy /export/oracle7/product/7.0.16/lib/crti.o /export/oracle7/product/7.0.16/lib/crt1.o /export/oracle7/product/7.0.16/lib/__fstd.o -o oracle -L/export/oracle7/product/7.0.16/lib opimai.o /export/oracle7/product/7.0.16/lib/osntab.o -lsqlnet /export/oracle7/product/7.0.16/lib/config.o -lora -lknlopt -lpls -lknl /export/oracle7/product/7.0.16/lib/libsqlnet.a -lora -lknlopt -lpls -lknl -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lstublm -lsocket -lnsl -lm -ldl -laio -Y P,:/usr/ccs/lib:/usr/lib -Qy -lc
/ex
> port/oracle7/product/7.0.16/lib/crtn.o
> Undefined first referenced
> symbol in file
SNIP
> nncidei /export/oracle7/product/7.0.16/lib/libora.a(opidrv.o)
> nsanswer /export/oracle7/product/7.0.16/lib/libknl.a(kmn.o)
> ld: fatal: Symbol referencing errors. No output written to oracle
> *** Error code 1
> make: Fatal error: Command failed for target `oracle'
>
>
>
>
-- Regards Jim _______________________________________________________________________________ James Shang jims_at_mincom.oz.au Analyst Programmer Phone: +61 7 303 3358 MIMS Technical Fax: +61 7 303 3257 MINCOM Pty. Ltd. Wyandra St, Teneriffe, Queensland, Australia 4120 -------------------------------------------------------------------------------Received on Wed Dec 14 1994 - 05:30:14 CET