Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2011 22:06:05 +0000
From:      Traiano Welcome <>
To:        Boris Samorodov <>
Cc:        "" <>
Subject:   RE: Linux Binary Compatibility: Libpam compile for FreeBSD
Message-ID:  <>
In-Reply-To: <>
References:  <>, <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi Boris=0A=
 (apologies for top-posting)=0A=
 Thanks, I had to go this way in the end. My process was:=0A=
 1. enable linux binary compatibility on freebsd.=0A=
 2. build a debian chroot environment using debootstrap=0A=
 3. obtain some binaries that I could not find in the debian package repos =
by extracting them directly from the from binary packages with rpm2cpio=0A=
 4. copy all the linux binaries to /usr/compat/linux/lib ... as per the Fre=
eBSD Handbook=0A=
  After that the binary works perfectly :-) FreeBSD Linux-Binary-Compatibil=
ity FTW!!!=0A=
From: Boris Samorodov []=0A=
Sent: Monday, August 01, 2011 10:23 PM=0A=
To: Traiano Welcome=0A=
Subject: Re: Linux Binary Compatibility: Libpam compile for FreeBSD=0A=
Hi All,=0A=
On Mon, 1 Aug 2011 14:30:32 +0000 Traiano Welcome wrote:=0A=
> I need to run a linux binary on freebsd 7.3 that expects to link to=0A=
> I can't seem to find how to compile libpam (linux-pam) on=0A=
> freebsd, or locate some kind of compatible binary I can run on freebsd=0A=
> with linux binary compatibility enabled in the ports tree either.=0A=
> Would anyone know if there is a freebsd port of linux libpam, or a=0A=
> source package I could easily compile for freebsd 7.3 and upward ?=0A=
> Informational: The binary I'm trying to run is "wmic" , a windows=0A=
> management instrumentation client, for monitoring windows systems via=0A=
> wmi. There does not seem to be a wmi client available for FreeBSD,=0A=
> hence me resorting to a binary compiled for linux :-(=0A=
> some information on the binary:=0A=
> ---=0A=
> wmic: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for=0A=
> GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped=0A=
> ---=0A=
> running it:=0A=
> ---=0A=
> ./wmic: error while loading shared libraries: cannot open=0A=
> shared object file: No such file or directory=0A=
> ---=0A=
> Any other suggestions that might help resolving this quandary would be=0A=
> welcome :-)=0A=
You may try to install that package by hand:=0A=
Hint: there is a how-to about installing linux packages by hand at the=0A=
FreeBSD Handbook.=0A=
WBR, bsam=0A=

Want to link to this message? Use this URL: <>