Subject: pkg/12972: new lynx package doesn't work with old libslang
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/17/2001 12:45:12
>Number:         12972
>Category:       pkg
>Synopsis:       lynx- i386 binary doesn't work with libslang-1.3.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu May 17 12:45:00 PDT 2001
>Originator:     Jeremy C. Reed
>Release:        <NetBSD-current source date>
System: NetBSD rainier 1.5.1_BETA NetBSD 1.5.1_BETA (JCR-1.5-20010407) #0: Sat Apr 7 01:44:35 PDT 2001 reed@rainier:/usr/src/sys/arch/i386/compile/JCR-1.5-20010407 i386

I just removed my working lynx 2.8.2 with pkg_delete.
Then I installed the newer binary (via ftp site).

It said:
 Depends pre-scan: `libslang-*' required.
 Package `lynx-' depends on `libslang-*'.
  - libslang-1.3.10 already installed.
 Attempting to record dependency on package `libslang-*'

So I already had libslang-1.3.10.

rainier:/usr/pkgsrc$ ldd `which lynx`
         -lintl.1 => /usr/pkg/lib/
         -lz.0 => /usr/lib/
         -lslang.1 => not found

Lynx reports:
 Shared object "" not found
So I tried to workaround this problem with:
 ln -s /usr/pkg/lib/ /usr/pkg/lib/
But nothing changed.

The lynx pkgsrc Makefile indicates it can use any libslang.
I simply fixed the problem by upgrading my libslang.

The newer one is:
         -lslang.1 => /usr/pkg/lib/
Use old libslang (1.3.10) with newer lynx (
I didn't test this because I don't want to go back to old libslang and old
lynx. (But please note that lynx started numerous times today before I
simply replaced it.)
Maybe make sure lynx depends on a libslang that makes a link for