Subject: pkg/22564: libpthread.so needs symlink to be correctly used
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 08/21/2003 21:36:24
>Number:         22564
>Category:       pkg
>Synopsis:       libpthread.so needs symlink to be correctly used
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 21 21:37:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bas van Oostveen
>Release:        pkgsrc for irix
>Organization:
na
>Environment:
IRIX washu 6.5 07121149 IP32
uname -aR
IRIX washu 6.5 6.5.17m 07121149 IP32

>Description:
when compiling glib2 (and others?)

(i found this problem on pkgsrc-irix and pkgsrc-debian)

on platforms where libpthread.so is just 1 lib in /usr/lib
the build fails... the reason for this is that the pkgsrc
scripts (i tought it was pthread.buildlink2.mk) specificly look
for a libthread.so.* symlink..

provide the symlink and the problem is fixed..

but i guess it would be nicer if the scripts detected a single
libpthread.so install. (or bootstrap would automaticly symlink)
>How-To-Repeat:

>Fix:
provide the symlink and the problem is fixed..

/usr/lib/libpthread.so -> /usr/lib/libpthread.so.0
>Release-Note:
>Audit-Trail:
>Unformatted: