How do I link ld in /usr/ucb/ to /usr/ccs/bin?


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris How do I link ld in /usr/ucb/ to /usr/ccs/bin?
# 1  
How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all,

below is the problem details:

Code:
ora10g@CNORACLE1>which ld
/usr/ucb/ld
ora10g@CNORACLE1>cd /usr/ccs/bin
ora10g@CNORACLE1>ln -s /usr/ucb/ld ld
ln: cannot create ld: File exists
ora10g@CNORACLE1>

how to link it to /usr/ccs/bin?
# 2  
list the contents of /usr/ccs/bin, it seems like there is already an 'ld' in there.

if so, you may need to rename it -- probably shouldn't rm it. perhaps it is a link pointing elsewhere?
# 3  
yap i had change the ld in /usr/ucb/ to ld.backup
i solve my problem

Code:
ora10g@CNORACLE1>which ld
/usr/ccs/bin/ld

# 4  
You might just have reordered your PATH to include /usr/ccs/bin before /usr/ucb (or just remove /usr/ucb which contains BSD compatible utilities you probably don't need anyway).
# 5  
Quote:
Originally Posted by jlliagre
You might just have reordered your PATH to include /usr/ccs/bin before /usr/ucb (or just remove /usr/ucb which contains BSD compatible utilities you probably don't need anyway).

May i know how to reordered the path?
Thanks for helping. Smilie
# 6  
To reorder the PATH, you simply edit the file where it is set in the last place (possibly ~/.profile) and change the order of its components.
# 7  
Quote:
Originally Posted by jlliagre
You might just have reordered your PATH to include /usr/ccs/bin before /usr/ucb (or just remove /usr/ucb which contains BSD compatible utilities you probably don't need anyway).

this worked !
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #654
Difficulty: Easy
DOS was initially released on the IBM System/360.
True or False?

9 More Discussions You Might Find Interesting

1. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

2. Solaris

How to link sed from /usr/bin/sed to /usr/local/bin/sed?

Hi Guys, OS:- Solaris 10 64Bit I have a small query. On one server a user is facing sed command issue. He gets error regarding sed for this location /users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found How ever the sed is actually present at this location on server:-... (13 Replies)
Discussion started by: manalisharmabe
13 Replies

3. UNIX for Advanced & Expert Users

how can i use /usr/ucb/ps to give the full user

Hi, on solaris I need the full ps output, and process this. With /usr/ucb/ps auxwww I get the output as wanted, but the user is cut off to 8 long. With ps -o ruser I can get the full username, but I do not have the full output. Is it possible to get long output, with the full username? ... (1 Reply)
Discussion started by: dimpie
1 Replies

4. UNIX for Advanced & Expert Users

/usr/ucb/ps -auxwll

Hei, When I run the /usr/ucb/ps -auxwll with any other user except root I get nothing (Solaris 10 in global). Is a way to get the same resualt as root with my user. tnx Mehrdad (0 Replies)
Discussion started by: mehrdad68
0 Replies

5. Programming

/usr/ccs/bin/ld: Unsatisfied symbols:

Hi, I am getting the following error while compiling my C++ program using GCC compiler. /usr/ccs/bin/ld: Unsatisfied symbols: display (first referenced in /var/tmp//cclSYScd.o) (code) collect2: ld returned 1 exit status Can anybody help me out? Thanks in advance..!! (1 Reply)
Discussion started by: Kattoor
1 Replies

6. Shell Programming and Scripting

problem get the value of /usr/ucb/ps -guxww

Hello all im trying to get the value of: /usr/ucb/ps -guxww | grep Tomcat | grep $USER | grep -v grepinto variable , im using csh . like this : set PS="/usr/ucb/ps -guxww" set isTomcat = `cat $PS | grep Tomcat | grep $USER | grep -v grep` but im keep geting this error: cat: cannot open... (4 Replies)
Discussion started by: umen
4 Replies

7. Solaris

/usr/bin/ps -p equivalent in ucb version

Hi, Is there an option in /usr/ucb/ps version to get a selected list of processes like in /usr/bin/ps -p"1 3 5" option? Thanks, Fredy (7 Replies)
Discussion started by: fredy
7 Replies

8. Solaris

solaris 2.5.1 /usr/ucb/ps truncation problems

we aheva couple of old sun OS boxes, that we are trying to parse /usr/ucb/ps output. However it seems that something is occuring that is causeing th output of "/usr/ucb/ps -auxwww" to cut short the process name, whereas "ps -eaf" can display the entire process name. It will work for a while... (2 Replies)
Discussion started by: adralph
2 Replies

9. UNIX for Dummies Questions & Answers

/usr/ccs/bin/make

I have recently installed Solaris 2.8 from CD. The setup program asked me if I wanted developer, server, or workstation support which I probably took the default (not developer). Now, however, I am installing another piece of software that needs /usr/ccs/bin/make which wasn't installed with the... (4 Replies)
Discussion started by: marist89
4 Replies

Featured Tech Videos