From owner-freebsd-questions@FreeBSD.ORG Sat Oct 17 16:19:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54B6B106566C for ; Sat, 17 Oct 2009 16:19:34 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id E0C1A8FC1F for ; Sat, 17 Oct 2009 16:19:33 +0000 (UTC) Received: by ewy18 with SMTP id 18so2676914ewy.43 for ; Sat, 17 Oct 2009 09:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=iyEaiYw6yfZmcxjjbcmed2hNyh+ngpAkkD525Tc2LTY=; b=KK3gEXq5R59GsL2L8B/gfBa27WKwc1UfkGYoGjnWh/8C0vGsxP2/xZ8f1GVhpxfyyW r7eGMl7kTp3JHbdSO7S0rlyK5+xTkieW9VY+qVJLZitFzZQcDGvp0/8LJJK1J98Wzq6E vvLG/lpazDARtDDoPRBzXZW+Yp4rn1S+PNwew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rpKken7cAVoNKDyngEPk+CoqYBFnBR1GGVN/nvUdeIwXyv0uuf1BXWaqiPDJWILSxI PeIxw/FEEJlbUof4+4Ce0GEtYXScjXVF010p27lpn2dS9s3+MyczAyR0b8L3U2hqLVfM 4bHhYDB8KUUiJpd/TKSLiYbJGCfzL5LRYjNP4= MIME-Version: 1.0 Received: by 10.216.88.10 with SMTP id z10mr1003834wee.108.1255796372563; Sat, 17 Oct 2009 09:19:32 -0700 (PDT) In-Reply-To: <4AD9E780.5070604@rawbw.com> References: <4AD9E780.5070604@rawbw.com> Date: Sat, 17 Oct 2009 16:19:32 +0000 Message-ID: From: "b. f." To: yuri@rawbw.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Why Linux executable googleearth can't find proper libstdc++.so.6 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2009 16:19:34 -0000 On 10/17/09, Yuri wrote: > b. f. wrote: > > Record 20080318 in /usr/ports/UPDATING says that in order for skype to > work OVERRIDE_LINUX_BASE_PORT=fc6 should be set. I did that in order to > make skype work. I believe latest versions of skype don't work work > FreeBSD because FreeBSD only uses OSS audio and newer skypes are non-OSS. > > So now if I remove that line from /etc/make.conf skype is likely to > break and google-earth to be fixed. That entry also says that Fedora 8 can be used, which was the latest Linux base port at the time the entry was made, and the skype port Makefile says Fedora Core 6 __or later__ can be used. So presumably later Linux base ports will also work: try the most recent Linux base emulation port that is available for your platform. > Looks like for some unknown reason linux has incompatible files > libstdc++.so.6 in different versions instead of bumping number in name. > The library's interface (API/ABI) hasn't changed, so the major version number should remain the same. With the use of symbol versions, new symbols, or different library symbols with the same interface can be added, with the appropriate version number information, so that binaries compiled against different versions of the symbols can all be used with the library. So there is backwards-compatibility with earlier versions of the library, but binaries that have been linked with newer symbol versions during compilation will not link at run-time against older versions of the library that don't have the new versions of the symbols. See: http://people.redhat.com/drepper/symbol-versioning http://people.freebsd.org/~deischen/symver/freebsd_versioning.txt > Is it possible to have several linux bases under different install bases? > Yes, if you patch the run-time linker as PC-BSD does, or if you use different environment variables or libmap.conf(5) to ensure the right libraries are loaded when using different binaries. But this can get messy -- try to use a new Linux base port for all of your ports first. b.