Failure to run AntWordProfiler on Ubuntu 16.04 (64 bit)

84 views
Skip to first unread message

D L

unread,
Dec 13, 2018, 9:00:15 AM12/13/18
to AntWordProfiler-Discussion
I am on Ubuntu 16.04 (64 bit) exploring role of tools.
Having recently started experimenting with AntConc I moved on to experiment with AntWordProfiler (and other Ant Tools).

AntWordProfiler refuses to launch.

I placed the path to AntWordProfiler on $PATH to allow me to test from command terminal.

I tried two commands on the executable.

ldd and readelf

First test ..

$ ldd AntWordProfiler
not a dynamic executable


Second test ..

$ readelf -d AntWordProfiler

Dynamic section at offset 0x11014 contains 26 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libnsl.so.1]
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libcrypt.so.1]
0x00000001 (NEEDED) Shared library: [libutil.so.1]
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [libc.so.6]

0x0000000c (INIT) 0x804a3b0
0x0000000d (FINI) 0x8057074
0x00000004 (HASH) 0x8048168
0x00000005 (STRTAB) 0x8049460
0x00000006 (SYMTAB) 0x80487b0
0x0000000a (STRSZ) 2697 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x8059110
0x00000002 (PLTRELSZ) 592 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x804a160
0x00000011 (REL) 0x804a140
0x00000012 (RELSZ) 32 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0x804a080
0x6fffffff (VERNEEDNUM) 3
0x6ffffff0 (VERSYM) 0x8049eea
0x00000000 (NULL) 0x0


Has this tool been tested on Ubuntu 16.04 (64 bit)?
Is it perhaps 32 bit and not 64 bit?

It appears to be looking for some shared libraries ..

Since AntWordProfiler is described in (Windows) help.pdf as working on Ubuntu 10 this suggests that this might be a 32bit.  There is no help.pdf in the Linux 1.3.1 download .. only an old txt file.

The download options show different versions deployed for different platforms.
Windows - version 1.4.0
Mac - version 1.4.1
Linux - 1.3.1

Moreover the (Windows) Help.pdf file indicates that WordProfiler was tested on Ubuntu 10 - some aeons ago.

D L

unread,
Dec 29, 2018, 12:24:08 PM12/29/18
to AntWordProfiler-Discussion

On Thursday, 13 December 2018 14:00:15 UTC, D L wrote:

AntWordProfiler refuses to launch.


Are there any suggestions on how to get AntWordProfiler to work on Ubuntu 16.04 and 18.04? I have read another post which requests access to "Java API". Does AntWordProfiler in fact have any java dependencies? I am considering proposing use of the Ant family in a project in the New Year and AntWordProfiler is the only app from the family which does not yet run in Ubuntu 16.04 or 18.04. The closed source policy does not help in trying to troubleshoot the root cause of failure.

 
Message has been deleted

Franz Manson

unread,
May 25, 2020, 10:41:30 AM5/25/20
to AntWordProfiler-Discussion
Hi D L.

I had the same problem for Ubuntu 18.04 64-Bit and I solved it like this.

I hope it works for you as well.

Open terminal:

1. check if you have installed multiarch support

dpkg --print-architecture
on a 64-Bit system is the answer: amd64

dpkg --print-foreign-architectures
i386                     (Is the 32-Bit architecture)

if you don't have multi-arch-support:

sudo dpkg --add-architecture i386

sudo apt-get update


3.  cd ~/[File where AntWordProfiler executionfile is saved]/


when you have 32-Bit architectures on your ubuntu system

4. write the following in your terminal:

linux32 '/home/[full path where you saved it]/AntWordProfiler' (Do it with the quotes. It didn't worked without at my computer)

the terminal send me the following message: Maybe it looks quite the same for you.

couldn't load file "/tmp/tclnhkSxY": libXft.so.2: cannot open shared object file: No such file or directory at /</home/[full path]/AntWordProfiler>Tcl.pm line 568.
BEGIN failed--compilation aborted at /</home/[... Fullpath]/AntWordProfiler>UI_add_thesaurus_menu.pm line 4.
BEGIN failed--compilation aborted at antwordprofiler1.3.1.3. pl line 5. 

So your libXft.so.2 doesn't run for 32-Bit-architecture

5. next step:

sudo apt-get install libxft2:i386

installs the 32-Bit Version.

sudo apt-get update

linux32 '/home/[full path where you saved it]/AntWordProfiler'

it worked out for me and I hope I could help you. It has some graphical issues but it works. Have fun!!!! :)

you can just run it then by doubleclick the excution file.
Reply all
Reply to author
Forward
0 new messages