Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 1998 07:28:57 -0800 (PST)
From:      jose@we.lc.ehu.es
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/8963: there is no libtermlib.so.2 in /usr/lib (3.0-RELEASE)
Message-ID:  <199812041528.HAA12299@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         8963
>Category:       bin
>Synopsis:       there is no libtermlib.so.2 in /usr/lib (3.0-RELEASE)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec  4 07:30:00 PST 1998
>Last-Modified:
>Originator:     José Mª Alcaide
>Organization:
Universidad del País Vasco - Dept. de Electricidad y Electrónica
>Release:        3.0-RELEASE
>Environment:
FreeBSD marrajo.we.lc.ehu.es 3.0-RELEASE FreeBSD 3.0-RELEASE #0: Mon Nov  9 18:35:05 CET 1998     root@marrajo.we.lc.ehu.es:/usr/src/sys/compile/MARRAJO  i386
>Description:
$ /sbin/ldconfig -r | fgrep term
        7:-ltermcap.2 => /usr/lib/libtermcap.so.2
$ cd /usr/lib
$ ls -l libterm*
-r--r--r--  2 root  wheel  18522 17 oct 18:59 libtermcap.a
lrwxrwxrwx  1 root  wheel     15  9 nov 17:01 libtermcap.so -> libtermcap.so.2
-r--r--r--  1 root  wheel  15108 17 oct 18:59 libtermcap.so.2
-r--r--r--  2 root  wheel  19760 16 oct 18:06 libtermcap_p.a
-r--r--r--  2 root  wheel  18522 17 oct 18:59 libtermlib.a
lrwxrwxrwx  1 root  wheel     15  9 nov 17:01 libtermlib.so -> libtermcap.so.2
-r--r--r--  2 root  wheel  19760 16 oct 18:06 libtermlib_p.a

It's obvious: there is no libtermlib.so.2, so it's not referenced
in the ldconfig's cache.
>How-To-Repeat:
See above.
>Fix:
The problem resides in the Makefile for these libraries. The workaround,
however, is simple:

cd /usr/lib
ln libtermcap.so.2 libtermlib.so.2
rm libtermlib.so
ln -s libtermlib.so.2 libtermlib.so
ldconfig -R

>Audit-Trail:
>Unformatted:

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



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