Solved

Trying to get nmap running on Solaris 8

Posted on 2008-10-28
3
380 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now