LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-10-2008, 03:00 AM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
Bind - finding how it was installed


I am trying to figure out how bind 9.3 was installed on a Solaris box in order to upgrade it (no one around to ask). I tried "pkginfo | grep -i bind" and "pkginfo | grep -i named" but nothing showed up. I tried to configure bind 9.5 (./configure) but it says "ar" missing. I cannot find "ar" in my default path (nor as root either as user user), which makes
me wonder whether it was compiled from source! Is there any way to find it out?

Thanks for any help.
 
Old 07-10-2008, 06:15 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,175
Blog Entries: 1

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
Most likely it was installed from source since pkginfo does not give any information.
Anyway if you want to compile it from source, even though the latest version 9.5.0P1 exists on sunfreeware you must add /usr/ccs/bin in your PATH in order to be able to find ar. Also you can add /usr/sfw/bin if you haven't done so.
 
Old 07-10-2008, 11:52 AM   #3
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by noir911 View Post
I tried "pkginfo | grep -i bind" and "pkginfo | grep -i named" but nothing showed up. I tried to configure bind 9.5 (./configure) but it says "ar" missing.
"ar" missing smells like a hardened box.
BIND is probably compiled elsewhere on a similar box and the resulting binary package is moved later on to the box you are using now. Although this is a good method, there is no way of upgrading the existing binary.

Cheers, C

Last edited by coolster; 07-10-2008 at 12:03 PM. Reason: typ
 
Old 07-10-2008, 03:05 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
With all Solaris 10 and older and all Solaris Express releases older than Solaris Express build 68, "ar" isn't in root or any user PATH by default. It is located in /usr/ccs/bin.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help finding GUI Bind Utils for Redhat E. V4 jeh26 Linux - Software 1 11-09-2005 07:08 PM
Finding installed program binarysoul Mandriva 5 01-31-2005 09:42 PM
Finding installed packages Jamar Linux - Newbie 4 01-08-2004 02:20 PM
Finding Installed Software zaphanol Linux - Software 3 08-01-2003 01:40 PM
Finding installed programs? Nicksan Linux - General 6 06-26-2003 09:23 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration