Solved

Trying to get nmap running on Solaris 8

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.

820 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