Subject: pkg/25527: pkgsrc has problems with installing packages with libraries on OpenBSD 3.5
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 05/10/2004 15:53:46
>Synopsis: pkgsrc has problems with installing packages with libraries on OpenBSD 3.5
>Arrival-Date: Mon May 10 15:54:00 UTC 2004
>Originator: Adrian Portelli
OpenBSD nelson.stindustries.org.uk 3.5 NELSON#0 i386
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'
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:
where as the package from the PLIST seems to expect:
It just appears that 'libltdl.so' and 'libltdl.so.4' are not installed
to /usr/pkg/lib on OpenBSD.
Try and install a package with libraries. I've seen this problem with libtool-base and libiconv.