From owner-freebsd-ports@FreeBSD.ORG Sun Jan 13 00:19:27 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 B674216A418 for ; Sun, 13 Jan 2008 00:19:27 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA2013C457 for ; Sun, 13 Jan 2008 00:19:27 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m0D0JQ3O014264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 12 Jan 2008 16:19:27 -0800 X-Auth-Received: from [128.208.5.24] (shiina-1.dyn.cs.washington.edu [128.208.5.24]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id m0D0JQGC020926 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 12 Jan 2008 16:19:26 -0800 In-Reply-To: <478927AC.8020907@math.missouri.edu> References: <478918D2.905@highperformance.net> <478927AC.8020907@math.missouri.edu> Mime-Version: 1.0 (Apple Message framework v753) X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Sat, 12 Jan 2008 16:19:25 -0800 To: Stephen Montgomery-Smith X-Mailer: Apple Mail (2.753) X-PMX-Version: 5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.1.12.160320 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: "Jason C. Wells" , 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: Sun, 13 Jan 2008 00:19:27 -0000 On Jan 12, 2008, at 12:48 PM, Stephen Montgomery-Smith wrote: > 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 Did you install OpenOffice from a package? libstdc++.so.6 comes with gcc-3.4+ by default, so why isn't your system finding it...? Some piece of vital information appears to be missing from your problem statement though, like... 1. Did you do an clean install of FreeBSD 6.x or is it an upgrade? If an upgrade, from what version are you upgrading? 2. Where did you get the package from? -Garrett