Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Static linking (try it at home!) [was: kernel update snafu]
- Date: Sat, 21 Jun 2014 00:13:06 +0900
- From: Kalin KOZHUHAROV <me.kalin@example.com>
- Subject: Re: [tlug] Static linking (try it at home!) [was: kernel update snafu]
- References: <CABHGxq578Vh4zFgTRRc2JKtWz=ua74J5bdJULNQeTzyeD6hkxQ@mail.gmail.com> <53A1726F.5030500@imaginatorium.org> <CAAhy3duLPCTPQ3SwO896mOXRHXrMQMSQj_JgeGWZLZgTDW8XCg@mail.gmail.com> <CAKXLc7ebGJbRB5sE9cHXa7JeTixcD-hCL3HdAmF363ikK5B_aw@mail.gmail.com> <CAAhy3duOKji5UNbz2UMmq5jKXqi0e=_dG4Csh2EAt1sUA1m-NQ@mail.gmail.com> <8761jw13jk.fsf@uwakimon.sk.tsukuba.ac.jp> <CAKXLc7d0=xTJP09dkrf1wbq6OsS+JKJmqKHhfB4bxQYOrDBN9A@mail.gmail.com> <53A42626.5070602@extellisys.com>
On Fri, Jun 20, 2014 at 9:16 PM, Travis Cardwell <travis.cardwell@example.com> wrote: > On 2014年06月20日 20:18, Kalin KOZHUHAROV wrote: >> May be, may be not. I am ready to pay anyone few beers who can compile >> (static) current sleuthkit and related libs (64bit is priority, but >> take 32bit as bonus): >> http://www.sleuthkit.org/sleuthkit/download.php >> >> I tried for an hour or so and gave up. It is something I use for work >> occasionally, but I hate to be carrying a bunch of LD_PRELOAD with >> me... > > Ah, the joys of libtool. > > $ cd /tmp > $ tar -zxf /path/to/sleuthkit-4.1.3 > $ cd sleuthkit-4.1.3 > $ ./configure > $ find . -name Makefile -exec sed -i "/^LDFLAGS /s/-static/-all-static/" {} \+ > $ make > $ find tools -type f -executable -exec file {} \; > Good! That moved me quite closer to the target! Thanks, Travis, I guess I should be coming to the next nomikai then... $ file tools/fstools/fls tools/fstools/fls: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.16, not stripped I'll try to run it on few obscure systems for test. The process failed later apparently, but that is because I didn't have static versions of the required libs (cppunit, zlib, etc). Working on that now... export USE=static-libs; eix -IC app-forensics --only-names |xargs emerge -Dtuv --newuse (it will probably fail at some point, but this doesn't matter, rinse, repeat) Kalin.
- Follow-Ups:
- Re: [tlug] Static linking (try it at home!) [was: kernel update snafu]
- From: Travis Cardwell
- References:
- [tlug] Ubuntu 10.04 - kernel update snafu
- From: Jim Breen
- Re: [tlug] Ubuntu 10.04 - kernel update snafu
- From: Brian Chandler
- Re: [tlug] Ubuntu 10.04 - kernel update snafu
- From: Raymond Wan
- Re: [tlug] Ubuntu 10.04 - kernel update snafu
- From: Kalin KOZHUHAROV
- Re: [tlug] Ubuntu 10.04 - kernel update snafu
- From: Raymond Wan
- [tlug] Static linking (try it at home!) [was: kernel update snafu]
- From: Stephen J. Turnbull
- Re: [tlug] Static linking (try it at home!) [was: kernel update snafu]
- From: Kalin KOZHUHAROV
- Re: [tlug] Static linking (try it at home!) [was: kernel update snafu]
- From: Travis Cardwell
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Ubuntu 10.04 - kernel update snafu
- Next by Date: Re: [tlug] Ubuntu 10.04 - kernel update snafu
- Previous by thread: Re: [tlug] Static linking (try it at home!) [was: kernel update snafu]
- Next by thread: Re: [tlug] Static linking (try it at home!) [was: kernel update snafu]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links