Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2001 17:57:21 -0700
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Dan Holliman <danh@gelatinous.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: problems with linux_compat port
Message-ID:  <20010806175721.A2306@gauss.cup.hp.com>
In-Reply-To: <20010806171809.S58918@gelatinous.com>; from danh@gelatinous.com on Mon, Aug 06, 2001 at 05:18:09PM -0700
References:  <20010806225140.72222.qmail@cube.gelatinous.com> <20010806160413.A1930@gauss.cup.hp.com> <20010806164154.Q58918@gelatinous.com> <20010806170352.C1930@gauss.cup.hp.com> <20010806171809.S58918@gelatinous.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 06, 2001 at 05:18:09PM -0700, Dan Holliman wrote:
> > 
> > The only thing the postinstall script does is run /sbin/ldconfig
> > (do "rpm -q -p libtermcap-2.0.8-18.i386.rpm --scripts" to show
> > the scripts). Since we're talking Linux binaries here, it's
> > actually /compat/linux/sbin/ldconfig. The script very likely
> > fails because ldconfig fails. Try running that by hand.
> 
> I get this:
> 
> ----
> bash-2.03# rpm -q -p /usr/ports/distfiles/rpm/libtermcap-2.0.8-18.i386.rpm
> --scripts
> postinstall program: /sbin/ldconfig
> postuninstall script (through /bin/sh):
> if [ $1 = 0 ]; then
>     /sbin/install-info --delete \
>         --section="Libraries" --entry="* Termcap: (termcap).
> 	The GNU termcap library." \
>         --info-dir=/usr/info /usr/info/termcap.info.gz
> fi
> /sbin/ldconfig
> -----
> 
> there is no /usr/info or /usr/info/termcap.info.gz, but there IS
>  /usr/compat/linux/usr/info and /usr/compat/linux/usr/info

Not to worry. There are actually two scripts shown: the postinstall
script and the postuninstall script. Everything that relates to
*info* is postuninstall and unrelated...

What I want to know is if /compat/linux/sbin/ldconfig runs without
errors.

HTH,

-- 
Marcel Moolenaar
  mail: marcel@cup.hp.com / marcel@FreeBSD.org
  tel:  (408) 447-4222

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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