Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: RE: nmap on Solaris 9 sparc shared library problems

RE: nmap on Solaris 9 sparc shared library problems

From: Alex R <alex_at_deviousmeans.net>
Date: Fri, 8 Oct 2004 12:44:59 +0300

You can not just link different library versions. In reality libstdc++.so.6
is just a symlink to the latest minor version.

root_at_foo:~# ls -l /usr/lib/libstdc++.so.6
lrwxrwxrwx 1 root root 18 2004-09-19 22:08 /usr/lib/libstdc++.so.6 ->
libstdc++.so.6.0.2
root_at_foo:~# ls -l /usr/lib/libstdc++.so.5
lrwxrwxrwx 1 root root 18 2004-08-06 11:36 /usr/lib/libstdc++.so.5 ->
libstdc++.so.5.0.6

They are totally different versions of libstdc++ and differ enough that you
need to have the right major version installed required by the program. You
need to find the correct package that has libstdc++.

-----Original Message-----
From: fabio [mailto:fabio_at_crearium.com]
Sent: Friday, October 08, 2004 1:20 AM
To: nmap-dev_at_insecure.org
Subject: nmap on Solaris 9 sparc shared library problems

Hi.

nietzsche% uname -snr
SunOS nietzsche 5.9
nietzsche% nmap 127.0.0.1
ld.so.1: nmap: fatal: libstdc++.so.5: open failed: No such file or
directory
Killed
nietzsche% sudo ln -s /usr/local/lib/libstdc++.so.6
/usr/local/lib/libstdc++.so.5
nietzsche% nmap 127.0.0.1
ld.so.1: nmap: fatal: relocation error: file nmap: symbol
_ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj: referenced symbol
not found
Killed

I installed the package (gcc,nmap) from sunfreeware. Any solution? in
general, how to deal with Solaris shared library and the open source
code we often need as solaris admins?

Thanks in advance.

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help@insecure.org . List archive: http://seclists.org

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help@insecure.org . List archive: http://seclists.org
Received on Oct 08 2004

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos