From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7557 invoked by alias); 16 Dec 2016 21:51:29 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22222 Received: (qmail 14358 invoked from network); 16 Dec 2016 21:51:29 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f53.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.213.53):SA:0(-0.0/5.0):. Processed in 2.892884 secs); 16 Dec 2016 21:51:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: aaron.schrab@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.53 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zUKTTg6KH+T4t75cj7ZbKI0oUKkSgmKWQJ0ep6OGpCI=; b=vMhiowomlLChNNwqk9zy0xI8YrPUXh0Bxl2KmQ29Mx1b9FzXOHArEXtpfJ5q02dcYw 54Av1y9iKUyXxp8WvZnm3ApNS9WZRLavTIY02W2hlbO1SQHfh6uAfEteQw7lPxUEmQHp gMAQhNGbDFsODh1MollhjOjfKdol8W4UGPnLQVWZQJEFvLRdNk/SRFpPXD8PNkfxQzdZ 31VeDfxFQPRHd1Qzgj/1v+5NUdz/ZglSl5TpR+aAivPqAtNGeMiHRXLlJvKmmSoW25GA fAZo0vLTYUB/EAzw377KxjxDErEyKPu+xOLfn0JGgYSKWQy2/++7BRPtNvKNFOBe7WcB PaMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=zUKTTg6KH+T4t75cj7ZbKI0oUKkSgmKWQJ0ep6OGpCI=; b=H3diJa4dIFkH0RC0y7mtn/bYaqKH3Pzkcp8mVGZjzeUNFv+nfDzVN1Z+fBycWYv/Jm w/WTqe4iu80BKO1sWR2Cz+LCt4f1XXlsgURPeBx6lF5tmorYzNNn9BfrIdC0ujz20mqD E/1VrVgYxUhgob5+B8zoHZgDvHnjoEg7XeDreui22rqvS4Z9ryvmFsEHJJk9bghS5kVi 9kUwCFSRQqclbtQztyRa1y/SbcXxOIZNVRXE1harPMJyum+s4Q6LShVcSIMz2cmq6Cru mlKSWo7UmXl439rX9m2x6/7tbAiBA5IMT2FjOI9ImlARQcOvxdu2JwFljzdOD0M73vTm if+w== X-Gm-Message-State: AIkVDXL9KgRTRKGfjqf/+tqvENDNxDVMnEafEfbYvPF9GMIq9+MME6KKvc9YImus45ySsQ== X-Received: by 10.31.8.8 with SMTP id 8mr2108365vki.173.1481925081100; Fri, 16 Dec 2016 13:51:21 -0800 (PST) Date: Fri, 16 Dec 2016 16:51:18 -0500 From: Aaron Schrab To: Ray Andrews Cc: Zsh Users Subject: Re: trapped in bash Message-ID: <20161216215117.GF2023@pug.qqx.org> Mail-Followup-To: Ray Andrews , Zsh Users References: <58540944.3030706@eastlink.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <58540944.3030706@eastlink.ca> User-Agent: Mutt/1.7.2+125 (g65b7094) (2016-11-26) At 07:33 -0800 16 Dec 2016, Ray Andrews wrote: >So I'm setting up a new machine with Debian 64 (using Debian 32 still >on old machine) and I'm thinking to just copy over my whole zsh >install from here to there and ... nope ... I 'cd' to where the binary >is and type 'zsh' and bash reports that it can't find the file. Copy >it to '/bin' and it still can't find it. Even the desperate '. ./zsh' >reports 'cannot execute binary file'. I hope to gawd that an apt-get >install of zsh would work, but I'd like to use my existing setup >exactly as is. Do I have to rebuild? I'm new with 64 bit issues, >whatever they may happen to be, but I thought a 64 bit environment >could always run 32 bit apps. Or have I forgotten something simple? The hardware and kernel are able to run 32bit binaries, but you can't use 64bit shared libraries with 32bit executables (or vice-versa). You also need the 32bit version of the run-time dynamic linker; lack of that is why you're being told that a file isn't found. Unless there was something really special about that build I'd either just go with installing via apt or rebuilding. If you *really* want to use the same build you can likely do that with a multi-arch setup. To start with that would involve: dpkg --add-architecture i386 apt update apt install libc6:i386 Once that is done the system should at least recognize that the old zsh build is executable. But you'll likely need to install several other i386 libraries; depending on the age of the system where that was built it's possible that the required versions won't be found for the current version of Debian. The number of i386 library packages needed for this shouldn't be large, but a multi-arch system does mean that every `apt update` will fetch the package list for both of the architectures. >Meanwhile I'm trapped in the pre-fire age of bash out of the box. >Even 'ls -l' doesn't work, filenames only. That shouldn't have anything to do with bash vs. zsh.