Subject: pkg/25527: pkgsrc has problems with installing packages with libraries on OpenBSD 3.5
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <adrianp@stindustries.net>
List: pkgsrc-bugs
Date: 05/10/2004 15:53:46
>Number: 25527
>Category: pkg
>Synopsis: pkgsrc has problems with installing packages with libraries on OpenBSD 3.5
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 10 15:54:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Adrian Portelli
>Release: n/a
>Organization:
STIndustries
>Environment:
OpenBSD nelson.stindustries.org.uk 3.5 NELSON#0 i386
>Description:
I seem to be getting errors with pkgsrc packages that have libraries on OpenBSD v3.5.
This is the problem I've having with libtool-base ATM:
When doing a 'bmake install':
...
...
...
===> [Automatic ELF shared object handling]
ls: /usr/pkg/lib/libltdl.so: No such file or directory
ls: /usr/pkg/lib/libltdl.so.4: No such file or directory
===> Registering installation for libtool-base-1.5.6
pkg_create: can't stat `/usr/pkg/lib/libltdl.so'
pkg_create: can't stat `/usr/pkg/lib/libltdl.so.4'
and:
/usr/pkg/sbin/pkg_delete libtool-base
pkg_delete: file `/usr/pkg/lib/libltdl.so' doesn't really exist
pkg_delete: file `/usr/pkg/lib/libltdl.so.4' doesn't really exist
pkg_delete: couldn't entirely delete package `libtool-base-1.5.6'
(perhaps the packing list is incorrectly specified?)
I've had a closer look and after the installation of libtool-base the files in /usr/pkg/lib are:
libltdl.a
libltdl.la
libltdl.so.4.0
where as the package from the PLIST seems to expect:
libltdl.a
libltdl.la
libltdl.so
libltdl.so.4
libltdl.so.4.0
It just appears that 'libltdl.so' and 'libltdl.so.4' are not installed
to /usr/pkg/lib on OpenBSD.
>How-To-Repeat:
Try and install a package with libraries. I've seen this problem with libtool-base and libiconv.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: