From owner-freebsd-questions Sat Feb 24 12:21:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cgmd76206.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id 6AF4E37B491 for ; Sat, 24 Feb 2001 12:21:37 -0800 (PST) (envelope-from edwin@cgmd76206.chello.nl) Received: by cgmd76206.chello.nl (Postfix, from userid 1001) id BF599F0; Sat, 24 Feb 2001 21:21:35 +0100 (CET) Date: Sat, 24 Feb 2001 21:21:35 +0100 From: Edwin Groothuis To: Duraid Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: linux apps on freebsd Message-ID: <20010224212135.F12704@cgmd76206.chello.nl> Mail-Followup-To: Edwin Groothuis , Duraid , "freebsd-questions@FreeBSD.ORG" References: <3A97CA36.811C35A9@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A97CA36.811C35A9@home.com>; from latif2221@home.com on Sat, Feb 24, 2001 at 02:50:30PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 24, 2001 at 02:50:30PM +0000, Duraid wrote: > moving soon from linux: since most of the apps are written for linux and > run on freebsd using an emulator (or that what i understood) how do they > perform generally and how easy it is to install them and find the > requirements for them. I've done this once for one application and would be glad to share my experiences with it: First is to find out if it's a dynamic or static linked library, use ldd for it: [~] edwin@p6>ldd `which navigator-linux-4.76 ` ldd: /usr/local/bin/navigator-linux-4.76: not a dynamic executable This is a staticly linked executable, I don't know what to do with it, just run it and hope it goes right (maybe it *does* automaticly go right because it's staticly linked executable) vs [~] edwin@p6>ldd `which realplay` /usr/local/bin/realplay: /lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x28172000) libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28177000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2817e000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28191000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x2819d000) Here you have some work to do: find out if the libraries are available. Use locate for it: [~] edwin@p6>locate libNoVersion.so.1 /usr/compat/linux/lib/libNoVersion.so.1 and so for the rest. If you stumble in a file which you don't have, check the ports-collection: For example, libgdk-1.2.so, it's installed when you install the x11-toolkits/linux-gtk libraries. It might, or might not, be an complex task, depending on how lucky you are. But it sure is a good way to find your way in the ports-collection again :-) Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message