Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » suse oracle »

[suse-oracle] 2.6.5-7.283 x86_64 and linking error - ld: unrecognized option '--as-needed'

Peter Santos

2007-05-10

Replies:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Folks,

I'm trying to install 10gR2 Clusterware on SLES9 SP3 (kernel 283) and for some reason it's complaining about
the ld utility. A few months ago I did the same install on SLES9 kernel 282 without a problem.

We did a kernel update as recently as yesterday.

Any ideas?

- -peter




10gR2 - Clusterware Installation Installer log
++++++++++++++++++++++++++++++++++++++++++++++

INFO: Start output from spawned process:
INFO: ----------------------------------
INFO:

INFO: /data/app/crs/oracle/product/10.2.0/crs/bin/genclntsh

INFO: /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: unrecognized option '--as-needed'
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: use the --help option for usage information

INFO: collect2: ld returned 1 exit status

INFO: genclntsh: Failed to link libclntsh.so.10.1

INFO: make: *** [client_sharedlib] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------


 
10gR2 - Clusterware Installation - make.log
+++++++++++++++++++++++++++++++++++++++++++

(if [ "compile" = "binary" ] ; then \
/data/app/crs/oracle/product/10.2.0/crs/bin/gennfgt > nnfgt.c ;\
TARGET_BINARY_INTERFACE= ;\
export TARGET_BINARY_INTERFACE ;\
gcc -c nnfgt.c ;\
-rm -f /data/app/crs/oracle/product/10.2.0/crs/lib/nnfgt.o ;\
-mv nnfgt.o /data/app/crs/oracle/product/10.2.0/crs/lib/ ;\
      /usr/bin/ar rv /data/app/crs/oracle/product/10.2.0/crs/lib/libn10.a
/data/app/crs/oracle/product/10.2.0/crs/lib/nnfgt.o ; fi)
/usr/bin/make -f ins_net_client.mk client_sharedlib
ORACLE_HOME=/data/app/crs/oracle/product/10.2.0/crs//data/app/crs/oracle/product/10.2.0/crs/bin/genclntsh
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: unrecognized option '--as-needed'
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
genclntsh: Failed to link libclntsh.so.10.1
make: *** [client_sharedlib] Error 1

oracle@(protected)

GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.


Package check
rpm -q gcc gcc-c++ glibc libaio libaio-devel make openmotif-libs libstdc++-devel glibc-devel-32bit sysstat binutils
gnome-libs libstdc++ make pdksh xscreensaver

gcc-3.3.5-5
gcc-c++-3.3.5-5
glibc-2.3.4-23.2
libaio-0.3.102-1.2
libaio-devel-0.3.102-3
make-3.80-184.1
openmotif-libs-2.2.2-519.4
libstdc++-devel-3.3.5-5
glibc-devel-32bit-9.3-7
sysstat-5.0.6-4
binutils-2.15.90.0.1.1-32.17
gnome-libs-1.4.1.7-682
libstdc++-3.3.5-5
make-3.80-184.1
pdksh-5.2.14-780.7
xscreensaver-4.20-9

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQ4E6oyy5QBCjoT0RAs/2AJwMEhRX9t2r+M/whRAfwaxtvsPo6gCeMVPO
NrV8keFFSGQfCYsY635JZdk=
=8087
-----END PGP SIGNATURE-----

--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.