Solved

Trying to get nmap running on Solaris 8

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

726 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