Subject: pkg/12972: new lynx package doesn't work with old libslang
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 05/17/2001 12:45:12
>Number:         12972
>Category:       pkg
>Synopsis:       lynx-2.8.3.1 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
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy C. Reed
>Release:        <NetBSD-current source date>
>Organization:
	
>Environment:
	
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


>Description:
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-2.8.3.1' 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`
/usr/pkg/bin/lynx:
         -lintl.1 => /usr/pkg/lib/libintl.so.1
         -lz.0 => /usr/lib/libz.so.0
         -lslang.1 => not found

Lynx reports:
 Shared object "libslang.so.1" not found
   
So I tried to workaround this problem with:
 ln -s /usr/pkg/lib/libslang.so.1.3 /usr/pkg/lib/libslang.so.1
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/libslang.so.1
>How-To-Repeat:
Use old libslang (1.3.10) with newer lynx (2.8.3.1).
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.)
>Fix:
Maybe make sure lynx depends on a libslang that makes a link for libslang.so.1?

>Release-Note:
>Audit-Trail:
>Unformatted: