Linux Binary Compatibility: Libpam compile for FreeBSD

Traiano Welcome Traiano.Welcome at mtnbusiness.co.za
Mon Aug 1 14:58:52 UTC 2011


Hi List

I need to run a linux binary on freebsd 7.3 that expects to link to libpam.so.0. I can't seem to find how to compile libpam (linux-pam) on freebsd, or locate some kind of compatible binary I can run on freebsd with linux binary compatibility enabled in the ports tree either. 

Would anyone know if there is a freebsd port of linux libpam, or a source package I could easily compile for freebsd 7.3 and upward ?

Informational: The binary I'm trying to run is "wmic" , a windows management instrumentation client, for monitoring windows systems via wmi. There does not seem to be a wmi client available for FreeBSD, hence me resorting to a binary compiled for linux :-(

some information on the binary:

---
wmic: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
---

running it:

---
./wmic: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
---

Any other suggestions that might help resolving this quandary would be welcome :-)

Thanks in Advance,
Traiano Welcome


More information about the freebsd-questions mailing list