1829118 Members
1998 Online
109986 Solutions
New Discussion

pico problem

 
juno2
Super Advisor

pico problem

When i run the pico , it pop the message , how to solve ? thx

$ pico
-bash: /usr/local/bin/pico: cannot execute binary file
9 REPLIES 9
juno2
Super Advisor

Re: pico problem

I sure the file that i read is a txt file not binary file. thx
juno2
Super Advisor

Re: pico problem

I use RH 8 , can suggest how can I solve it ? thx
Stuart Browne
Honored Contributor

Re: pico problem

Ok, weird.. /usr/local/bin/ ? so this is your own comiple/install of pico/pine ?

What do the following commands return:

ls -l /usr/local/bin/pico
file /usr/local/bin/pico

Also what type of file-system is /usr/local/bin (what does 'mount' show us) ?

There are many possible reasons for this error. Usually it would mean that the binary has the wrong permissions, or is corrupt. The above commands will help determine that.
One long-haired git at your service...
juno2
Super Advisor

Re: pico problem

thx reply , the below is result

$ ls -l /usr/local/bin/pico

-rwxr-xr-x 1 root root 241696 Jul 18 15:44 /usr/local/bin/pico


$file /usr/local/bin/pico
/usr/local/bin/pico: PA-RISC1.1 shared executable

the file system of /usr/local/bin is ext3
Stuart Browne
Honored Contributor

Re: pico problem

So you copied pico from a HP-UX box to a Linux box.

The binaries are incompatable. You'll need to get the pine/pico package or source and install/recompile on your Linux box.
One long-haired git at your service...
juno2
Super Advisor

Re: pico problem

thx reply , i tried install the new pico , it pop the below message ,

# rpm -ivh pico-4.55L-1.i686.rpm
warning: pico-4.55L-1.i686.rpm: V3 DSA signature: NOKEY, key ID f9651d5a
error: Failed dependencies:
libtinfo.so.5 is needed by pico-4.55L-1

, it seems missing the library file , how can i get it ? thx.
juno2
Super Advisor

Re: pico problem

Do I need to install any patch or setup library ? thx in advance .
Zeev Schultz
Honored Contributor

Re: pico problem

Check rpm -qa | grep pine.
rpm -qlp pineXXX.rpm.See if pico already in (should be).Uninstall pico rpm,uninstall pine rpm,install either one.
Also:
what shows ldd /usr/bin/pico?
So computers don't think yet. At least not chess computers. - Seymour Cray
juno2
Super Advisor

Re: pico problem

thx reply ,

how to uninstall pico ? and the result is
# ldd /usr/bin/pico?
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x40029000)
libc.so.6 => /lib/i686/libc.so.6 (0x40067000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Thx