NetBSD Problem Report #32559

From dauphin@enst.fr  Wed Jan 18 09:26:56 2006
Return-Path: <dauphin@enst.fr>
Received: from smtp2.enst.fr (revol1.enst.fr [137.194.32.27])
	by narn.netbsd.org (Postfix) with ESMTP id E306F63B84F
	for <gnats-bugs@gnats.netbsd.org>; Wed, 18 Jan 2006 09:26:55 +0000 (UTC)
Message-Id: <1137576415.0@bi.enst.fr>
Date: Wed, 18 Jan 2006 10:26:55 +0100
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@netbsd.org>
Subject: audio/mpg123-esound Solaris10 gcc
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         32559
>Category:       pkg
>Synopsis:       audio/mpg123-esound Solaris10 gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 18 09:30:00 +0000 2006
>Closed-Date:    Thu Feb 07 14:23:17 +0000 2013
>Last-Modified:  Thu Feb 07 14:23:17 +0000 2013
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118844-20 i86pc


>Description:


[root@redhot 1430] bmake install
===> Checking for vulnerabilities in mpg123-esound-0.59.18nb6
===> Installing for mpg123-esound-0.59.18nb6
===> Creating installation directories
/usr/ucb/install -c -s -o root -g root -m 555 /usr/pkgsrc/audio/mpg123-esound/work/mpg123-0.59r/mpg123 /usr/pkg/bin/mpg123-esound
/usr/ucb/install -c -o root -g root -m 444 /usr/pkgsrc/audio/mpg123-esound/work/mpg123-0.59r/mpg123.1 /usr/pkg/man/man1/mpg123-esound.1
===> Registering installation for mpg123-esound-0.59.18nb6
mpg123-esound-0.59.18nb6 requires installed package esound-0.2.36
/usr/pkg/bin/mpg123-esound:     libesd.so.0 =>   (file not found)
*** The above programs/libs will not find the listed shared libraries
    at runtime. Please fix the package (add -Wl,-R.../lib in the right places)!
*** Error code 1




>How-To-Repeat:


bmake install


>Fix:


in /usr/pkgsrc/audio/mpg123/work/mpg123-0.59r/Makefile add -L${PREFIX}/lib -Wl,-R${PREFIX}/lib 
to AUDIO_LIB



solaris-gcc-esd:
        $(MAKE) CC=gcc LDFLAGS='-lsocket -lnsl' \
                AUDIO_LIB='-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lesd -lresolv' \
                OBJECTS='decode.o dct64.o audio_esd.o' \
                CFLAGS='$(CFLAGS) -O2 -Wall -DSOLARIS -DREAL_IS_FLOAT -DUSE_MMAP \
                        -DREAD_MMAP \
                        -funroll-all-loops -finline-functions' \
                mpg123-make



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Mon, 23 Jan 2006 06:56:17 +0000
Responsible-Changed-Why:
Bug on Solaris.


State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 14:23:17 +0000
State-Changed-Why:
I don't see a need to keep this PR around any longer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.