From owner-freebsd-ports@FreeBSD.ORG Sat Jan 12 20:48:47 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5D0816A419 for ; Sat, 12 Jan 2008 20:48:47 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 40AF113C43E for ; Sat, 12 Jan 2008 20:48:47 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from laptop2.gateway.2wire.net (cauchy.math.missouri.edu [128.206.184.213]) by cauchy.math.missouri.edu (8.14.2/8.14.1) with ESMTP id m0CKlvRH028339; Sat, 12 Jan 2008 14:47:57 -0600 (CST) (envelope-from stephen@math.missouri.edu) Message-ID: <478927AC.8020907@math.missouri.edu> Date: Sat, 12 Jan 2008 14:48:44 -0600 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko/20080109 SeaMonkey/1.1.7 MIME-Version: 1.0 To: "Jason C. Wells" References: <478918D2.905@highperformance.net> In-Reply-To: <478918D2.905@highperformance.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: openoffice package requires libstdc++.so.6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2008 20:48:47 -0000 Install the package/port gcc42. I have said this to the list before. Surely any port that uses gcc4.2 or such like HAS to have it listed as RUN_DEPENDS or LIB_DEPENDS as well as BUILD_DEPENDS. And this needs to be fixed at the ports/Mk level. How can the naive user be expected to know to install gcc42. (Even if you are running FreeBSD 7.x, this comes an issue with any port that uses FORTRAN.) Jason C. Wells wrote: > The prebuilt package openoffice-2.3.1 requires libstdc++.so.6. FreeBSD > 6.3 has libstdc++.so.5. > > I have always rolled my own and am unfamiliar with packages. This > particular package would appear to have been built against a librart > version that is not installed on FreeBSD-6. If I have somehow erred, > please point out my error. > > Is this package buggy? > > Shouldn't packages link against /usr/lib/libstdc++.so and so follow the > softlinks that the system provides? > > On my system: > > $ openoffice.org-2.3.1-scalc > /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required > by "javaldx" > /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required > by "pagein" > /libexec/ld-elf.so.1: Shared object "libstdc++.so.6" not found, required > by "soffice.bin" > > > $ ls -la /usr/lib/libstdc++* > -r--r--r-- 1 root wheel 1585324 Jan 11 05:55 /usr/lib/libstdc++.a > lrwxr-xr-x 1 root wheel 14 Jan 11 05:55 /usr/lib/libstdc++.so -> > libstdc++.so.5 > -r--r--r-- 1 root wheel 803928 Jan 11 05:55 /usr/lib/libstdc++.so.5 > -r--r--r-- 1 root wheel 1577098 Jan 11 05:55 /usr/lib/libstdc++_p.a > > Thanks, > Jason > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >