Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to add those two to my paths.

Thus, my plan is to check first if they're already in my machine, and if they are, I'll add them to my path. Otherwise, I'll install them first then add them to my path.


share|improve this question
up vote 2 down vote accepted

To see if the files are installed on your system you can use:

egrep 'crt(begin|end)' /var/sadm/install/contents

If they aren't installed, you can grep for them in the Solaris install media:

egrep 'crt(begin|end)' /cdrom/cdrom0/Solaris_10/Product/*/pkgmap

share|improve this answer

They can belong to different packages, especially as you don't tell the full path to them. Assuming you are talking about the gcc run-time objects crtbegin.o and crtend.o, one would be SUNWgcc.

share|improve this answer


google search returns a lot for "solaris file belongs to package"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.