Date: Wed, 9 Jul 2014 21:13:49 -0700 From: Isaac Dunham <ibid.ag@...il.com> To: Jeff Pohlmeyer <yetanothergeek@...il.com> Cc: musl@...ts.openwall.com, Alpine <alpine-devel@...ts.alpinelinux.org> Subject: Re: [alpine-devel] Attempting to debug C++ library and command via valgrind On Wed, Jul 09, 2014 at 10:30:11AM -0500, Jeff Pohlmeyer wrote: > 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 Thanks, this works for me. Of course it really runs slow and spits out a ton of information; the log is over 400 kb at 5464 lines. (I suppose sending it to these lists might be inappropriate, given the size...) Thank you, Isaac Dunham
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.