Skip to content

namp libary missing #3932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
elsbernd opened this issue May 26, 2025 · 2 comments
Open

namp libary missing #3932

elsbernd opened this issue May 26, 2025 · 2 comments

Comments

@elsbernd
Copy link

elsbernd commented May 26, 2025

My first OmnOS post: I just installed/upgraded OmniOS v11 r151054 and installed nmap with pkg install nmap.

`root@pc-1508:~# nmap -p 111 --script=nfs-showmount server

Starting Nmap 7.12 ( https://nmap.org ) at 2025-05-26 13:59 CEST
ld.so.1: nmap: fatal: libssl.so.1.0.0: open failed: No such file or directory
ld.so.1: nmap: fatal: relocation error: file /usr/bin/nmap: symbol SSL_load_error_strings: referenced symbol not found`

ldd shows missing librarys.
root@pc-1508:~# ldd /usr/bin/nmap libpcre.so.1 => /usr/lib/libpcre.so.1 libssl.so.1.0.0 => (file not found) libcrypto.so.1.0.0 => (file not found) libnsl.so.1 => /lib/libnsl.so.1 libsocket.so.1 => /lib/libsocket.so.1 libstdc++.so.6 => /usr/lib/libstdc++.so.6 libm.so.2 => /lib/libm.so.2 librt.so.1 => /lib/librt.so.1 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 libc.so.1 => /lib/libc.so.1 libmp.so.2 => /lib/libmp.so.2 libmd.so.1 => /lib/libmd.so.1
actual nmap version is 7.97, while actual debian installation is 7.95.

Best regards
Klaus

@citrus-it
Copy link
Member

My first OmnOS post: I just installed/upgraded OmniOS v11 r151054 and installed nmap with pkg install nmap.

Do you know where you installed nmap from? I don't see that package in the OmniOS publishers. Can you provide the output of pkg publisher and pkg info -l nmap?

ld.so.1: nmap: fatal: libssl.so.1.0.0: open failed: No such file or directory

It looks like nmap is built against the old OpenSSL 1.0 but is missing a dependency on that.
You can install the old libraries with pkg install library/security/openssl-10.

@elsbernd
Copy link
Author

Well, your hint is helpfull. Indeed, it seems that it was installed from localhostomnios. I had not in mind, that this publisher was active, since I upgraded to r151054.

It looks like nmap is built against the old OpenSSL 1.0 but is missing a dependency on that.
You can install the old libraries with pkg install library/security/openssl-10.
This is not an option, because OpenSSL is too old. And nmap 7.12 was packed back in 2018.
Maybe I'll bild it by myself.
Thank you

root@pc-1508:# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
omnios origin online F https://pkg.omnios.org/r151054/core/
extra.omnios origin online F https://pkg.omnios.org/r151054/extra/
localhostomnios origin online F https://sfe.opencsw.org/localhostomnios/
root@pc-1508:
# pkg info -l nmap
Name: sfe/diagnostic/nmap
Summary: Network Mapper
Description: Nmap ("Network Mapper") is a free open source utility for
network exploration or security auditing.
Category: System/GUI/GNOME
State: Installed (Manually installed)
Publisher: localhostomnios
Version: 7.12
Branch: 0.0.151022
Packaging Date: Wed Oct 31 08:32:34 2018
Last Install Time: Mon May 26 11:58:45 2025
Size: 27.55 MB
FMRI: pkg://localhostomnios/sfe/diagnostic/nmap@7.12-0.0.151022:20181031T083234Z
Project URL: http://insecure.org/nmap/index.html
Source URL: http://download.insecure.org/nmap/dist/nmap-7.12.tar.bz2`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants