Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 1999 08:12:05 -0800
From:      bmah@CA.Sandia.GOV (Bruce A. Mah)
To:        Brian Adkins <brian@lojic.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Installing the vnc package 
Message-ID:  <199903181612.IAA18962@stennis.ca.sandia.gov>
In-Reply-To: Your message of "Thu, 18 Mar 1999 01:43:01 EST." <4.1.19990318013337.00ae8150@mailbox.iwaynet.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_515750386P
Content-Type: text/plain; charset=us-ascii

If memory serves me right, Brian Adkins wrote:
> I get the following errors when I try to run the vncserver:
> 
> ELF interpreter /usr/libexec/ld-elf.so.1 not found
> ELF interpreter /usr/libexec/ld-elf.so.1 not found

You're going to have to give some more information here.  What version of 
FreeBSD are you running?  Where did you get the vnc package (e.g. CD-ROMs, 
downloaded)?

> I've started the linux LKM:
> 
> --- snip ---
> $ modstat
> Type     Id Off Loadaddr Size Info     Rev Module Name
> EXEC      0   4 f43fb000 0020 f4402010   1 linux_mod
> --- snip ---
> 
> I've also installed the linux-lib-2.4.tgz package.

These steps are unnecessary.  vnc has always built natively on FreeBSD, and 
does not require Linux emulation.  ("LKM"?  Are you running FreeBSD 2.2.X 
perhaps?)

> I've looked in the handbook and other places, but I haven't found anything
> about ld-elf.so.1
> 
> If someone could point me in the right direction, I would appreciate it.
> 
> I'm also a little confused as to why the vnc package is run as an ELF
> executable.

On FreeBSD 3.0 and newer, vncserver, vncviewer, et al. are ELF executables 
because that is what the compiler chain outputs.  :-)

I'd be really interested to hear your answers to my first two questions above. 
 I suspect that what's happened is that you're running FreeBSD 2.2.X, and you 
tried to grab a vnc package that was built for FreeBSD 3.0 or newer.  The 
error messages you got, in this case, would be because 2.2.X only understands 
ELF executablees in the context of Linux (other OSs too?) emulation.

As far as I know, the vnc port still compiles fine under 2.2.X, so if you need 
vnc under an older FreeBSD, your best bet is probably to build the port 
instead of just doing a pkg_add with the pre-compiled package.

Bruce.




--==_Exmh_515750386P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBNvEl1KjOOi0j7CY9AQEhWQP/U/6QkQuqXP0F0NzafRVB+YdLuKO0fXdF
b0l02CyNcyKmXh3Baphb/ZH/Tzn92rVO+Ta9ZCCOKEyoMdP8HOPzngKCR+8J0Zdq
OP0kJcdpzRfni7WD+aSFchEfFg6jy7ICHgm7xiVAbQFzZi4RNq+gcFLjP2DPgtkP
nZVic6M0rzs=
=n4/+
-----END PGP MESSAGE-----

--==_Exmh_515750386P--


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?199903181612.IAA18962>