Sponsored Content
Full Discussion: Solaris 7 Sparc 5
Top Forums UNIX for Advanced & Expert Users Solaris 7 Sparc 5 Post 81193 by Unbeliever on Wednesday 17th of August 2005 07:02:08 AM
Old 08-17-2005
Quote:
Originally Posted by kisoun
One question. what do you mean with that : "2) Make sure /usr/local/bin is before /usr/bin and /usr/ccs/bin in your path" ??
Your path is the list of directories that the system looks in to find the command you type on the command line.

echo $PATH

will show it. From your previous post you're using csh so the setenv commands you're using are more appropriate (export is used in sh, ksh and bash). The csh command is:

set path = (/usr/local/bin $path)

then

echo $PATH

to make sure its updated.

Quote:
Originally Posted by kisoun
By-default all the binaries, libraries, are being installed in /usr/local/bin, /usr/local/lib, /usr/local/sbin, and /usr/ccs/bin.
After the installation, I'm making links into the below folders. /usr/bin,
/usr/lib, /usr/sbin
I'm a little confused. Unless you're installing standard system packages you shouldnt be adding anything to /usr/ccs/bin and you should not be adding links in /usr/bin and /usr/sbin. This is why you need ot make sure your PATH and LD_LIBRARY_PATH are set correctly.

The reason I suggested you uninstall all the packages and re-install the ones from sunfreeware is to ensure you have a clean installation. The cleaner the installation the less chance of problems happening. Also the distributions from sunfreeware all come as Solaris packages which makes for much cleaner installs/uninstalls. It sounds like you've tries a lot of things and it maybe that the state of the install is a little confused another reason to clean it up.

Also you mention Berkeley DB which by default installs into its own directory, so in order to use it you may need to add the Berkeley DB library directory to your LD_LIBRARY_PATH as well.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 9 x86 and Sparc?

Hi, What is the difference between Solaris 9 x86 and Sparc besides the hardware. Is all the command the same or there are a difference? Plus where can go to get more information on the differences. Many thanks, -n (2 Replies)
Discussion started by: Insomniac
2 Replies

2. Solaris

Samba on Solaris 9, Sparc.

hi guys, This is prolly more of a dummies question, but here goes. I want to make my Ultra 5 workstation into a samba server. I have solaris 9 installed with the latest patch cluster. if I do: pkginfo | grep samba I get : # pkginfo | grep samba system SUNWsmbac ... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

3. UNIX for Dummies Questions & Answers

Solaris 7 Sparc 5

First of all, I want to salute everybody. Since a week ago I put myself many troubles. :) I decide to install Solaris 7, in a sun sparcstation 5, with raid5. And I don't know almost anything about unix systems, not only Solaris. :) I want to install mysql, apache, php4. I'm not... (4 Replies)
Discussion started by: kisoun
4 Replies

4. UNIX for Dummies Questions & Answers

Running Solaris Sparc Apps on X86 Solaris

I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application? jim (1 Reply)
Discussion started by: stocksj
1 Replies

5. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

6. UNIX for Dummies Questions & Answers

Solaris for a training: PC vs Sparc

I need a computer to try Solaris. I'm learning with UNIX Academy training DVDs and after spending much time with Linux I want to try and learn on Solaris. I'll have to buy a computer for my training anyway. I found on ebay plenty of inexpensive Sun boxes. Would it be beneficial for learning to have... (26 Replies)
Discussion started by: newlinuxuser1
26 Replies

7. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies

8. Solaris

Solaris 11 SPARC GUI

Hi, Is there anyway to install gui without using update from internet? I mean from DVD or other local disc install. Most of tutorial i forund, they show install gui using pkg update from internet. But now our server not yet have internet because ISP does not provide yet. Please show me the... (18 Replies)
Discussion started by: mzainal
18 Replies
getusershell(3C)					   Standard C Library Functions 					  getusershell(3C)

NAME
getusershell, setusershell, endusershell - get legal user shells SYNOPSIS
#include <unistd.h> char *getusershell(void); void setusershell(void); void endusershell(void); DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If /etc/shells does not exist, the following locations of the standard system shells are used in its place: /bin/bash /bin/csh /bin/jsh /bin/ksh /bin/pfcsh /bin/pfksh /bin/pfsh /bin/sh /bin/tcsh /bin/zsh /sbin/jsh /sbin/pfsh /sbin/sh /usr/bin/bash /usr/bin/csh /usr/bin/jsh /usr/bin/ksh /usr/bin/pfcsh /usr/bin/pfksh /usr/bin/pfsh /usr/bin/sh /usr/bin/tcsh /usr/bin/zsh /usr/xpg4/bin/sh The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells. The setusershell() function rewinds the file or the list. The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells. RETURN VALUES
The getusershell() function returns a null pointer on EOF. BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved. SunOS 5.10 30 Aug 2004 getusershell(3C)
All times are GMT -4. The time now is 07:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy