Ar command not found | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Ar command not found

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-30-2013
ziosnim ziosnim is offline
Users Awaiting Email Confirmation
 
Join Date: May 2011
Last Activity: 7 February 2013, 9:31 PM EST
Posts: 8
Thanks: 4
Thanked 0 Times in 0 Posts
Ar command not found

Hi all,

ar command not found on Solaris 10 version.

We can execute under ./ar command /usr/ccs/bin directory.
However, we want to execute ar command anywhere.

We add to /usr/ccs/bin entry under /etc/profile file shown as below.

umask 002
trap 2 3

PATH=/usr/local/bin:$PATH
export PATH

LD_LIBRARY_PATH=/usr/ccs/bin:
export LD_LIBRARY_PATH

and then reboot the machine.


Thank you in advance.
Sponsored Links
    #2  
Old 01-30-2013
neutronscott's Avatar
neutronscott neutronscott is offline Forum Advisor  
script kiddie
 
Join Date: Jun 2011
Last Activity: 19 September 2014, 12:22 AM EDT
Location: McMurdo Station, Antarctica
Posts: 796
Thanks: 28
Thanked 237 Times in 224 Posts
put in PATH. LD_LIBRARY_PATH is for libraries... shouldn't have to reboot, just re-login or source /etc/profile
Sponsored Links
    #3  
Old 01-30-2013
ziosnim ziosnim is offline
Users Awaiting Email Confirmation
 
Join Date: May 2011
Last Activity: 7 February 2013, 9:31 PM EST
Posts: 8
Thanks: 4
Thanked 0 Times in 0 Posts
Hi Neutronscott,

Thank you for your reply. I solved it.

Thank you.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Want to terminate command execution when string found in the command output Hanumant.madane Shell Programming and Scripting 19 10-21-2012 10:25 AM
When i am trying to execute export command within a shell script it is saying command not found. dchoudhury Shell Programming and Scripting 4 06-18-2012 01:13 AM
bash: <command nm> command not found catalinawinemxr Shell Programming and Scripting 5 10-27-2011 02:36 PM
for: command not found software2007 Solaris 7 10-12-2011 01:58 PM
how can i check in csh if command found or not found ? umen Shell Programming and Scripting 2 03-03-2007 06:38 PM



All times are GMT -4. The time now is 01:49 AM.