*BSD News Article 57397


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!realtime.net!news.mindspring.com!usenet
From: Robert Sanders <rsanders@mindspring.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problems running Linux Netscape 2.0b3 binary under FBSD 2.1R
Date: 14 Dec 1995 23:33:54 -0500
Organization: MindSpring Enterprises, Inc.
Lines: 23
Sender: rsanders@interbev.mindspring.com
Message-ID: <873fan0wul.fsf@interbev.mindspring.com>
References: <4ao7p2$blv@Mars.mcs.com>
NNTP-Posting-Host: interbev.mindspring.com
In-reply-to: mikebo@MCS.COM's message of 13 Dec 1995 22:04:50 -0600
X-Newsreader: Gnus v5.0.10

On 13 Dec 1995 22:04:50 -0600, mikebo@MCS.COM (Michael Borowiec) said:

> I downloaded the Linux Netscape 2.0b3 package and got the binary to run,
> alright... But I get the following messages during startup, and it can't
> resolve any hostnames whatever:

The Linux and FreeBSD host.conf files aren't compatible.  You'll have
to create a separate one for Linux binaries.  Here's what I have in my
/compat/linux/etc/host.conf:

	order hosts,bind
	multi on

The resolver routines in the Linux C library will use the host.conf
specified in the RESOLV_HOST_CONF environment variable.  So just use a
shell script like this to point them at the Linux-compatible one:

	#!/bin/sh
	RESOLV_HOST_CONF=/compat/linux/etc/host.conf
	export RESOLV_HOST_CONF
	netscape

  -- Robert