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

Re: Applixware



Oleg:

> > I ran ldd on the contents of /usr/local/bin, which was one executable
file,
> > applix and got this result:
> > 
> > not a dynamic executable.
> > 
> > I ran ldd on the contents of /usr/local/lib/applix/bin, which again was
one
> > executable file, applix and got the same result.

> Have you checked if those files were shell scripts rather than the
> "real" executable? 

You are right.  

/usr/local/bin/applix is a linked file to /usr/local/lib/applix/bin/applix

/usr/local/lib/applix/bin/applix is a shell script.

The only "real" executable is /usr/local/lib/applix/applix

> Here is a hint:
> 
> $ rpm -q applix
> applix-4.3-1
> $ PRE=$(rpm -q --qf '%{INSTALLPREFIX}' applix 2>/dev/null)
> $ echo $PRE
> /usr/lib
> $ file /usr/lib/applix/applix
> /usr/lib/applix/applix: ELF 32-bit LSB executable, Intel 80386, version
1, not stripped
> $ ldd $PRE/applix/applix
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6.1
>         libc.so.5 => /lib/libc.so.5.3.12
>         libdl.so.1 => /lib/libdl.so.1.7.14

Here are the results of my doing what you did above:

# rpm -q applix
applix-4.3-1.office
# PRE=$(rpm -q --qf '%{INSTALLPREFIX}' applix 2>/dev/null)
# echo $PRE
/usr/local/lib
# file /usr/local/lib/applix/applix
/usr/local/lib/applix/applix: ELF 32-bit LSB executable, Intel 80386,
version 1, dynamically linked, not stripped
# ldd $PRE/applix/applix
     libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40003000)
     libc.so.5 => not found
     libdl.so.1 => /lib/libdl.so.1 (0x400a3000)
     libc.so.6 => /lib/libc.so.6 (0x400a6000)
     /lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x00000000)

What's next?

Thank you,
Jonathan Daniel
jalexd@escape.com