NetBSD Problem Report #48486

From www@NetBSD.org  Tue Dec 31 14:33:39 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 19BDFA61B7
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 31 Dec 2013 14:33:39 +0000 (UTC)
Message-Id: <20131231143337.905B1A646A@mollari.NetBSD.org>
Date: Tue, 31 Dec 2013 14:33:37 +0000 (UTC)
From: knoke@haus-gisela.de
Reply-To: knoke@haus-gisela.de
To: gnats-bugs@NetBSD.org
Subject: apache 24 uses libs from gcc, not from gcc48-libs-4.8.2nb1
X-Send-Pr-Version: www-1.0

>Number:         48486
>Category:       pkg
>Synopsis:       apache 24 uses libs from gcc, not from gcc48-libs-4.8.2nb1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 31 14:35:00 +0000 2013
>Last-Modified:  Tue Apr 01 11:25:00 +0000 2014
>Originator:     Joachim Knoke
>Release:        2013Q3 Head
>Organization:
>Environment:
SunOS myhost 5.10 Generic_150400-06 sun4u sparc SUNW,Sun-Fire-280R
>Description:
after building gcc48 and apache24, installing apache24 works, but it does not start, as:
# /etc/init.d/apache2_pkgsrc start
Starting apache.
ld.so.1: httpd: Schwerer Fehler: libgcc_s.so.1: Öffnen fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
Killed (Abgebrochen)
#
# ldd /opt/pkg/sbin/httpd
        libpcre.so.1 =>  /opt/pkg/lib/libpcre.so.1
        libaprutil-1.so.0 =>     /opt/pkg/lib/libaprutil-1.so.0
        libexpat.so.1 =>         /opt/pkg/lib/libexpat.so.1
        libiconv.so.2 =>         /opt/pkg/lib/libiconv.so.2
        libapr-1.so.0 =>         /opt/pkg/lib/libapr-1.so.0
        libnsl.so.1 =>   /lib/libnsl.so.1
        libuuid.so.1 =>  /lib/libuuid.so.1
        libsendfile.so.1 =>      /lib/libsendfile.so.1
        librt.so.1 =>    /lib/librt.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libpthread.so.1 =>       /lib/libpthread.so.1
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         (Datei nicht gefunden)
        libgcc_s.so.1 =>         (Datei nicht gefunden)
        libgcc_s.so.1 =>         (Datei nicht gefunden)
        libgcc_s.so.1 =>         (Datei nicht gefunden)
        libgcc_s.so.1 =>         (Datei nicht gefunden)
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
        /platform/SUNW,Sun-Fire-280R/lib/libmd_psr.so.1
#
Adding gcc48 package solves this issue

So apache24 seems to use the libs from gcc48 instead of gcc48-libs
>How-To-Repeat:
remove gcc48 package or
quickinstall apache24 on a new machine
>Fix:
apache24 should reference the correct libs that it can run without an installed compiler

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 31 Dec 2013 16:25:03 +0000
Responsible-Changed-Why:
Solaris issue


From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/48486: apache 24 uses libs from gcc, not from
 gcc48-libs-4.8.2nb1
Date: Tue, 01 Apr 2014 20:19:17 +0900

 USE_PKGSRC_GCC_RUNTIME=yes must be set for packages using APR
 (using libtool indirectly)?

>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.