X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C1ECDDC007C for ; Wed, 9 Jul 2014 15:30:12 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id y10so9164811pdj.36 for ; Wed, 09 Jul 2014 08:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/B2qdDCW2rs6Nzon/QSCMkuND0d0Sky/+zvcQm3kDtY=; b=UaXVegsgZK2izVkgTPiS8NGiDBqjmBVFC/CR9Zm2kwT1/8r37oYNnxSv7yXg/sDNGw nkBA/S+BYEYEqZ8JKrtjmHa1wmdKkt6KTQv3B1+987gTEa64xxo2BH5Y9vnPmZIbvtw4 1Y0igYPEUyFvCuoDVJQsDDfICTjijeJ2dmZb0xMmqLwr7Vg2sg8rXpKiW7AdzH/3uFH3 2Nu88QjMRNip5vaRJFQpWjpk/lIQnDWUjhABU//xyDKc9hufbqUMhF7KAD1MHeqGJj4l akWwwt5N46JcK4aJcu3wtUbaclT48M/fV+OKi+2QkpwBBTGVCAj22hxCyIOepPrB4FXn V3mg== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.66.146.199 with SMTP id te7mr16276732pab.106.1404919811629; Wed, 09 Jul 2014 08:30:11 -0700 (PDT) Received: by 10.70.133.132 with HTTP; Wed, 9 Jul 2014 08:30:11 -0700 (PDT) In-Reply-To: <20140709043946.GA1787@newbook> References: <20140709043946.GA1787@newbook> Date: Wed, 9 Jul 2014 10:30:11 -0500 Message-ID: Subject: Re: [alpine-devel] Attempting to debug C++ library and command via valgrind From: Jeff Pohlmeyer To: Isaac Dunham Cc: musl@lists.openwall.com, Alpine Content-Type: text/plain; charset=UTF-8 On Tue, Jul 8, 2014 at 11:39 PM, Isaac Dunham wrote: > I've been trying to get Sword 1.7.3 (crosswire.org/sword) running on Alpine. > valgrind was recommended, but I can't get valgrind to run the command properly. > But when I do this, diatheke errors out: > diatheke: cannot load -b: No such file or directory I think it's a problem with the way valgrind tries to run musl's program loader. Try adding "/lib/ld-musl-i386.so.1" to the command line, just before the prgram name, e.g. valgrind --leak-check=full --track-origins=yes \ --keep-stacktraces=alloc-and-free \ /lib/ld-musl-i386.so.1 \ diatheke -b KJV -k Ps117 - Jeff --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---