From owner-freebsd-questions@freebsd.org Thu Apr 14 00:09:16 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CD5EB0F396 for ; Thu, 14 Apr 2016 00:09:16 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 027161881 for ; Thu, 14 Apr 2016 00:09:15 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io0-x22d.google.com with SMTP id g185so88442084ioa.2 for ; Wed, 13 Apr 2016 17:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=jCQvRRgn5t+sotZ3tuNjgnJ6BnmKJn8V5bkycFlF1+A=; b=f+ExoTDj51la1zZhqh7iRAdAqjnyTmFy9jWFqoYK6UzpMK7wWHX/uR3T2jYpSTMrdq tD/J59W1KjSZdMcDv5JMMNOCe2T2Cz/BYB8GQsBMnV1RmThQLsaOea2GQKkiXc18uXL9 +ncGq8UWM6xKYUEJn6uh3yluk0h36K3wutyVA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=jCQvRRgn5t+sotZ3tuNjgnJ6BnmKJn8V5bkycFlF1+A=; b=EkJIO39s73+4LotEZXz7j1Mbfvxv+Yh8xqABH4MelLcxtV7ktMOCI8lBFNpO80mMCV LIJ4/BNAuaDGbDPdplLysTH6gPRff3/Y5ffxP6OFKp9K4t1qwvnx25XAL0sGLL8BqL3G wAzxG9raHgCNJQv3VH0R2d52X4EPOCQ3q1K49WB7uA/byxgcd/8u1A6z61lpyyT0worB 5PN94FgjyU0PFvjCbTECFl7m22ad2OKPy0lap+Kj4tUGHsMkVJEckbowvaFmefbtFakm mCp/Ab9IQmYLQ8jQlKWmqA/t2fHAMGvBMNWWavFKc/m79Vj6JLY59dYUiI1v/gRnxpfy 8CMg== X-Gm-Message-State: AOPr4FWTqZNDdFGx/T3JYxCJVhdEYQa8jIBUcR/jUUsDOzGXy9eXzrNHyQ4Srg/YK+Tmy7pk5DftKVJhJ1+U2g== MIME-Version: 1.0 X-Received: by 10.107.152.142 with SMTP id a136mr13316148ioe.84.1460592554971; Wed, 13 Apr 2016 17:09:14 -0700 (PDT) Received: by 10.79.7.67 with HTTP; Wed, 13 Apr 2016 17:09:14 -0700 (PDT) In-Reply-To: <570E8DD8.9040705@meixner.dk> References: <20160413103938.1768b538@Papi> <570E8DD8.9040705@meixner.dk> Date: Wed, 13 Apr 2016 21:09:14 -0300 Message-ID: Subject: Re: Installing linux-c6 64 along side with the 32 bit libs From: Mario Lobo To: Johannes Jost Meixner Cc: freebsd-questions , "freebsd-emulation@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 00:09:16 -0000 2016-04-13 15:20 GMT-03:00 Johannes Jost Meixner : > Hi, > > > On 04/13/16 04:39 PM, Mario Lobo wrote: > > Hi there; > > > > A recent commit seems to make this is possible: > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206943 > > > > so things like skype and flashplugin can continue to work, since they > > are 32 bit apps. > > Correct, if you're on FreeBSD 10.3-RELEASE or 11.0-CURRENT. > > If not, you'll need to upgrade to either one. > > > > > > > I was wondering what would be the settings for this to compile properly. > > for instance, should it be: > > > > OVERRIDE_LINUX_BASE_PORT=c6 > > OVERRIDE_LINUX_NONBASE_PORTS=c6 > > > > or > > > > OVERRIDE_LINUX_BASE_PORT=c6_64 > > OVERRIDE_LINUX_NONBASE_PORTS=c6_64 ? > > The latter. > > > > > > > > How about compat.linux.osrelease: 2.6.18? Still the same? > > This has been merged prior to 10.2-RELEASE, see > https://www.freebsd.org/releases/10.2R/relnotes.html#userland-abi > > > > > Thanks, > > > > Best > -j > > Thanks for the replay, Johannes ! Let me tell you what I did. I do have 10.3-STABLE and kldloaded linux64.ko. Already had compat.linux.osrelease=2.6.18 1) I deinstalled everything related to linux-c6* 2) Set: OVERRIDE_LINUX_BASE_PORT=c6_64 OVERRIDE_LINUX_NONBASE_PORTS=c6_64 3) reinstalled linux_base-c6 and linux-c6 4) reverted to: OVERRIDE_LINUX_BASE_PORT=c6 OVERRIDE_LINUX_NONBASE_PORTS=c6 and installed www/linux-c6-flashplugin (no complaints from it). If i didn't do that, it would look for install_flash_player_11_linux.x86_64.tar.gz which doesn't exist for download. Well ... it exists but it doesn't work. I tested it. 5) Installed nspluginwrapper 6) Switched back to: OVERRIDE_LINUX_BASE_PORT=c6_64 OVERRIDE_LINUX_NONBASE_PORTS=c6_64 flashPlugin is working fine and I've got both /lib and /lib64 under compat. Thanks for your help! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."