?
Solved

Trying to get nmap running on Solaris 8

Posted on 2008-10-28
3
Medium Priority
?
400 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
blu earned 2000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month8 days, 4 hours left to enroll

765 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