Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Ubuntu 10.04 - kernel update snafu



On Thu, Jun 19, 2014 at 4:18 PM, Kalin KOZHUHAROV <me.kalin@example.com> wrote:
> On Thu, Jun 19, 2014 at 4:17 PM, Raymond Wan <rwan.kyoto@example.com> wrote:
>> On Wed, Jun 18, 2014 at 7:05 PM, Brian Chandler <brian@example.com> wrote:
>>> On 2014-06-09 22:10, Jim Breen wrote:
>>> being 15MB, it simply does nothing. How would I get a clue whether this
>>> is because it really only runs on "Official Vanilla Unity Ubuntu" or
>>> what? (If I were a Debian user would using something notionally only
>>> available for "Ubuntu" be harder? Easier? Impossible?)
>>
>>
>> Unlike Travis, I encountered the same problem you had.  It does
>> absolutely nothing.  I ran the latest version on both 14.04 and 12.04
>> with no success.  My guess is that it requires something to run and it
>> is silently failing with no error messages.  You should probably ask
>> the developers.  At the very least, they should add an error message
>> in their program.
>>
> run it through strace and see what it tires to do and fails.


*argh*  Before my last e-mail, I was staring blankly at my computer
trying to remember the command "strace".  Thanks for the reminder;
that's what happens with commands I rarely use...

Indeed, that was the problem:

$ strace ./MemsourceEditor-4.151-ubuntu-12.04.run
execve("./MemsourceEditor-4.151-ubuntu-12.04.run",
["./MemsourceEditor-4.151-ubuntu-1"...], [/* 89 vars */]) = 0
[ Process PID=12454 runs in 32 bit mode. ]
old_mmap(0xc6d000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0xc6d000) = 0xc6d000
readlink("/proc/self/exe", "/home/rwan/Desktop/MemsourceEdit"..., 4096) = 57
old_mmap(0x8048000, 1108297, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8048000
mprotect(0x8048000, 1108294, PROT_READ|PROT_EXEC) = 0
old_mmap(0x8157000, 42851, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8157000
mprotect(0x8157000, 42848, PROT_READ|PROT_WRITE) = 0
old_mmap(0x8162000, 15608, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8162000
brk(0x8166000)                          = 0x832b000
open("/lib/ld-linux.so.2", O_RDONLY)    = -1 ENOENT (No such file or directory)
_exit(127)                              = ?
+++ exited with 127 +++


[For Brian] That file is part of the "libc6-i386" package in Ubuntu
14.04, but is the same name for 10.04
[http://packages.ubuntu.com/search?keywords=libc6-i386].


> AFAIR, you cannot statically link glibc. So you'll need 32-bit glibc.
> Basically if you can run other 32-bit software you should be fine.


Ah...I guess I never ran a 32-bit program on this system before.  And
I didn't know that you cannot statistically link to glibc.  I fed it
to "ldd" and it didn't report that.


> Actually it uses bitrock installer so there is a thin wrapper around
> another executable.
> http://bitrock.com/
>
> Try `./MemSourceEditor-3.140-ubuntu-12.04.run --help` for options.
> It tried to run in graphical mode, but dialog box was hidden
> initially, so it looked like it stopped.
>
> It said it installed, but actually failed (there was uninstall file only).


So, after I installed that Ubuntu package, it worked.  Of course,
after you install it, the executable uses shared libraries:

$ file TranslationEditor
TranslationEditor: ELF 32-bit LSB  executable, Intel 80386, version 1
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24,
BuildID[sha1]=305cbee66fc3eed140bd36ba1c2a3eeeef10fa8d, stripped

So, Brian, you'll need to install others (at least libstdc++).  I'll
stop here since I have other tasks and this was just a distraction for
today.  :-)  Thanks for it and to Kalin for the strace reminder!

Ray


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links