Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Aug 2011 00:23:23 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Traiano Welcome <Traiano.Welcome@mtnbusiness.co.za>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Linux Binary Compatibility: Libpam compile for FreeBSD
Message-ID:  <37201588@h30.sp.ipt.ru>
In-Reply-To: <E012414FCF65894B89F69DE76AE15E99059402B5@CPT-EXCH01.int.mtnbusiness.net> (Traiano Welcome's message of "Mon, 1 Aug 2011 14:30:32 %2B0000")
References:  <E012414FCF65894B89F69DE76AE15E99059402B5@CPT-EXCH01.int.mtnbusiness.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi All,

On Mon, 1 Aug 2011 14:30:32 +0000 Traiano Welcome wrote:

> 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 :-)

You may try to install that package by hand:
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/4/i386/os/Fedora/RPMS/pam-0.79-8.i386.rpm

Hint: there is a how-to about installing linux packages by hand at the
FreeBSD Handbook.

-- 
WBR, bsam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37201588>