2

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.

Thanks

2

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

1

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.

1

see: http://www.tech-recipes.com/rx/328/find-which-package-a-file-belongs-to/

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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