From owner-freebsd-questions@FreeBSD.ORG Mon Aug 1 14:58:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFF5E106564A for ; Mon, 1 Aug 2011 14:58:52 +0000 (UTC) (envelope-from Traiano.Welcome@mtnbusiness.co.za) Received: from smtprelay01.ops.mtnbusiness.co.za (smtprelay01.ops.mtnbusiness.co.za [41.181.93.235]) by mx1.freebsd.org (Postfix) with ESMTP id DFEBE8FC14 for ; Mon, 1 Aug 2011 14:58:51 +0000 (UTC) Received: from [196.30.97.135] (helo=CPT-EXCH01.int.mtnbusiness.net) by smtprelay01.ops.mtnbusiness.co.za with esmtp (ULTRA Special SMTP Internal Alpha) (envelope-from ) id 1QntWd-0001B1-Ro for freebsd-questions@freebsd.org; Mon, 01 Aug 2011 16:31:23 +0200 Received: from CPT-EXCH01.int.mtnbusiness.net ([196.30.97.135]) by CPT-EXCH01.int.mtnbusiness.net ([196.30.97.135]) with mapi id 14.01.0218.012; Mon, 1 Aug 2011 16:30:34 +0200 From: Traiano Welcome To: "freebsd-questions@freebsd.org" Thread-Topic: Linux Binary Compatibility: Libpam compile for FreeBSD Thread-Index: AQHMUFcSrapjoVwPW0OOgoVZMl2WCA== Date: Mon, 1 Aug 2011 14:30:32 +0000 Message-ID: Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [41.181.32.21] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Linux Binary Compatibility: Libpam compile for FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2011 14:58:52 -0000 Hi List=0A= =0A= 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 bina= ry compatibility enabled in the ports tree either. =0A= =0A= Would anyone know if there is a freebsd port of linux libpam, or a source p= ackage I could easily compile for freebsd 7.3 and upward ?=0A= =0A= Informational: The binary I'm trying to run is "wmic" , a windows managemen= t instrumentation client, for monitoring windows systems via wmi. There doe= s not seem to be a wmi client available for FreeBSD, hence me resorting to = a binary compiled for linux :-(=0A= =0A= some information on the binary:=0A= =0A= ---=0A= wmic: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Lin= ux 2.2.5, dynamically linked (uses shared libs), not stripped=0A= ---=0A= =0A= running it:=0A= =0A= ---=0A= ./wmic: error while loading shared libraries: libpam.so.0: cannot open shar= ed object file: No such file or directory=0A= ---=0A= =0A= Any other suggestions that might help resolving this quandary would be welc= ome :-)=0A= =0A= Thanks in Advance,=0A= Traiano Welcome=