Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: linking sqlplus error??

Re: linking sqlplus error??

From: <satar_at_my-dejanews.com>
Date: Fri, 28 Aug 1998 22:12:14 GMT
Message-ID: <6s79vu$h02$1@nnrp1.dejanews.com>


In your install of Solaris, did you install the entire distribution? Does the "ld" and "make" command work for the Oracle Unix Account? Is LD_LIBRARY_PATH and PATH set properly?

In article <35E5F2C8.BDC16B11_at_1y.com>,
  soney_at_1y.com wrote:
> I am trying to install sqlplus on a Sun Sparc workstation
> running Solaris 5.6. I am using Oracle version 8.0.4.0.0
> I get the following error while linking sqlplus:
>
> rm -f sqlplus
> ld -dy /opt/oracle/home/lib/SC4.2/crti.o
> /opt/oracle/home/lib/SC4.2/crt1.o
> /opt/oracle/home/lib/SC4.2/crtn.o -o sqlplus -L/opt/oracle/home/lib/
> -L/opt/oracle/home/lib/ -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
> /opt/oracle/home/sqlplus/lib/s0afimai.o -lsqlplus
> /opt/oracle/home/rdbms/lib/defopt.o-lclient
> -lsql /opt/oracle/home/lib/sscoreed.o -lclntsh
> /opt/oracle/home/lib/nautab.o
> /opt/oracle/home/lib/naeet.o /opt/oracle/home/lib/naect.o
> /opt/oracle/home/lib/naedhs.o `cat /opt/oracle/home/lib/naldflgs`
> -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lclient -lvsn
>
> -lcommon -lgeneric -lmm -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3
> -lnetv2 -lnttcp -lnetwork -lncr -lnetv2 -lnttcp -lnetwork -lclient -lvsn
>
> -lcommon -lgeneric -lepc -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4 -lnlsrtl3
>
> -lclient -lvsn -lcommon -lgeneric -lnlsrtl3 -lcore4 -lnlsrtl3 -lcore4
> -lnlsrtl3 `cat /opt/oracle/home/lib/sysliblist`
> -R /opt/SUNWcluster/lib:/opt/oracle/home/lib
> -Y P,:/opt/oracle/home/lib:/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib
> -Qy -lc -laio -lm
> ld: elf error: file /opt/oracle/home/lib//libclntsh.so: unknown type,
> unable to process using elf(3E) libraries
> ld: elf error: file /opt/oracle/home/lib//libclntsh.so: unknown type,
> unable to process using elf(3E) libraries
> ld: elf error: file /opt/oracle/home/lib/libclntsh.so: unknown type,
> unable to process using elf(3E) libraries
> ld: elf error: file /opt/oracle/home/lib/libclntsh.so: unknown type,
> unable to process using elf(3E) libraries
> ld: fatal: library -lclntsh: not found
> ld: fatal: File processing errors. No output written to sqlplus
> *** Error code 1
> make: Fatal error: Command failed for target `sqlplus'
>
> Can anyone please tell me how to solve this problem
> Steve Oney
> soney_at_1y.com
>
>

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Fri Aug 28 1998 - 17:12:14 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US