Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2001 21:21:35 +0100
From:      Edwin Groothuis <mavetju@chello.nl>
To:        Duraid <latif2221@home.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: linux apps on freebsd
Message-ID:  <20010224212135.F12704@cgmd76206.chello.nl>
In-Reply-To: <3A97CA36.811C35A9@home.com>; from latif2221@home.com on Sat, Feb 24, 2001 at 02:50:30PM %2B0000
References:  <3A97CA36.811C35A9@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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