Solved

Trying to get nmap running on Solaris 8

Posted on 2008-10-28
3
386 Views
Last Modified: 2013-12-27
I'm tryig to get nmap to run on Solaris 8. I downloaded the nmap package from sunfreeware.com and installed it. When I try to run nmap it errors out with this:

ld.so.1: nmap: fatal: libstdc++.so.6: open failed: No such file or directory

So then I thought I'd load package libgcc-3.4.6-sol8-sparc-local that nmap recommend  but when I did it produced this error so I backed out:

Using </usr/local> as the package base directory.
## Processing package information.
## Processing system information.
   3 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
  /usr/local/lib/libg2c.a
  /usr/local/lib/libg2c.la
  /usr/local/lib/libg2c.so.0.0.0
  /usr/local/lib/libstdc++.a
  /usr/local/lib/libstdc++.la
  /usr/local/lib/libstdc++.so

Do you want to install these conflicting files [y,n,?,q] q

I quit out at this point.

So my question is what should I do next. Should I unload the conflicting package (no sure what it is) and  then try loading "libgcc-3.4.6-sol8-sparc-local" ?  is there a package update command I should be trying instead?
0
Comment
Question by:jjc_mn
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
blu earned 500 total points
ID: 22825196
Another possiblity is to take the libgcc03.4.6 package, run pkgtrans on it to get a directory, then install just the library that you need without updating the symlinks.  

pkgtrans libgcc-3.4.6-sol8-sparc-local /tmp

cd /tmp/SMC*
cd reloc/usr/local/lib
cp libstdc++.so.6 /usr/local/lib
chmod a+rx /usr/local/lib/libstdc++.so.6

Then try running nmap
0
 

Author Closing Comment

by:jjc_mn
ID: 31510896
You the MAN Blu, You the MAN!  

Worked Great. Thanks
0
 
LVL 22

Expert Comment

by:blu
ID: 22826674
I think that was the nicest thank you I have ever gotten!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PowerShell Get-Help 10 78
How to clone solaris 10 machine 33 133
Log File Creation with Header and Footer 17 97
UNIX Script. Send email if failure 8 6
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question