Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-08-2003, 03:50 AM
|
#1
|
Member
Registered: Aug 2003
Location: Canada
Distribution: Slackware, debian
Posts: 76
Rep:
|
Problem running execute binary file
Hi, I just installed Mandrake the other day, first time with any OS besides Windows and I love it
Anyway, I downloaded BitchX (bitchx.org) because I didn't like the default IRC client, I did everything the website said. But when I type in BitchX in my terminal, it says this:
bash: /usr/local/bin/BitchX: cannot execute binary file
Any idea?
Thanks
|
|
|
08-08-2003, 04:01 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Welcome to LQ
Post up what you get from typing:
ls -l /usr/local/bin/BitchX
And tell us what user you are.
Have you tried using X-Chat, it's my favorite
Cool
|
|
|
08-08-2003, 04:15 AM
|
#3
|
Member
Registered: Aug 2003
Location: Canada
Distribution: Slackware, debian
Posts: 76
Original Poster
Rep:
|
This is what I got:
-rwxrwxrwx 1 j j 4361166 Apr 27 2020 /usr/local/bin/BitchX*
My username is: j
I have tried X-Chat, both on Windows and Knoppix (live CD), but some one recommended I used BitchX.
Thanks for the speedy response
|
|
|
08-08-2003, 04:55 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Well, looks like it shouldn't be a problem with ownership...
Is this by any chance RH9? I'm dealing with a similar question elsewhere on the board, and it's baffling me in the same manner.
Just for kicks can you post up your /etc/fstab ?
Cool
|
|
|
08-08-2003, 05:12 AM
|
#5
|
Member
Registered: Aug 2003
Location: Canada
Distribution: Slackware, debian
Posts: 76
Original Poster
Rep:
|
Nope, I'm running Mandrake
If you're talking about listing the files in the directory /etc/fstab, it says the directory doesn't exist. I also tried just putting in /etc/fstab in my terminal, I get:
bash: /etc/fstab: Permission denied
Even when logged in as root.
|
|
|
08-08-2003, 05:25 AM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Battin a thousand tonite, I should give up
Ok, what's your permissions on /usr/local/bin:
ls -ld /usr/local/bin
And to list the contents of the file /etc/fstab you'd use a text reader like less:
less /etc/fstab
OR cat:
cat /etc/fstab
And post up the contents
Mandrake eh, well I guess that's a good thing as I won't give up and "blame the distro" since I'm a die hard Mandy fan
Cool
|
|
|
08-08-2003, 05:31 AM
|
#7
|
Member
Registered: Aug 2003
Location: Canada
Distribution: Slackware, debian
Posts: 76
Original Poster
Rep:
|
When I do ls -ld /usr/local/bin
drwxr-xr-x 2 root root 4096 Aug 7 02:17 /usr/local/bin/
With cat /etc/fstab
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb6 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/windows vfat iocharset=iso8859-1,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb5 swap swap defaults 0 0
|
|
|
08-08-2003, 05:37 AM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Yeah, uh, it should work
Did you install this from source or was it an RPM? When you are executing it, is that as root or as a user? Finally, can you point me towards the set of instructions you followed?
Cool
|
|
|
08-08-2003, 06:31 AM
|
#10
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
here's a silly question - what kind of processor do you have is it an alpha? or more likely is it an x86? try downloading this one instead:
http://bitchx.org/files/binaries/Lin...c2-i386.tar.gz
|
|
|
08-08-2003, 06:39 AM
|
#11
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Or rather use your Mandrake tools:
urpmi BitchX
As odd as this is, that was also the apparent problem on the other thread... Seems to be the latest trend. It too was the Alpha version on the download.
Nice catch kev82
Cool
|
|
|
08-08-2003, 06:59 AM
|
#12
|
Member
Registered: Aug 2003
Location: Canada
Distribution: Slackware, debian
Posts: 76
Original Poster
Rep:
|
Well what do you know, it executed
Thanks for the help, I'm kinda embarrassed that it was that easy.
Although I still get an error when executing:
BitchX: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory
I'm not sure if this is because I only used 2 cds to install (no international CD). Which also brings me to my next question:
I tried to compile the X-Chat source, but it said it couldn't find any compilers (gcc, cc etc) which sucks, because I also program in C every now and then. When installed I check all dev tools, but I guess thoses files are on the 3rd cd? I thought international would be for other languages. Will I have to completely reinstall Mandrake to change this?
Thanks guys, you've been so much help
[EDIT]
I just tried the 'urpmi BitchX' command, it seemed to work but I still get that error (probably because I already had it installed?).
Last edited by zekko; 08-08-2003 at 07:03 AM.
|
|
|
08-08-2003, 07:17 AM
|
#13
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Yeah, you'll likely have to manually install the ncurses-devel package, and you'll also have to locate which disc it's on
As for your compiler, fire up a terminal:
urpmi gcc
And be prepared for a laundry list, good luck.
Cool
|
|
|
08-08-2003, 07:59 AM
|
#14
|
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263
Rep:
|
Quote:
BitchX: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory
|
Quote:
you'll likely have to manually install the ncurses-devel package
|
that doesnt look like a missing development package, more likely the binary you downloaded was linked against a version of ncurses you dont have, i find it very difficult to believe you dont have ncurses at all. does /usr/lib/libncurses.so exist? if it does then ln -s libncurses.so.4 /usr/lib/libncurses.so executed as root should fix the problem. as far as a compiler goes if you selected devel tools then gcc should have been installed as i seem to remember its on the first disk more likely XChat just cant find it. check if gcc is in your /usr/bin before you start an installation nightmare.
<edit>btw does anyone know how in a quote to say who its from i read the faq a while ago and couldnt find it.
Last edited by kev82; 08-08-2003 at 08:01 AM.
|
|
|
08-08-2003, 11:03 AM
|
#15
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Yeah with the:
{quote}{i}Originally posted by Person{/i}
{b} Words {/b}{/quote}
Of course all the { are actually [
And as far as the ncurses bit, that is even more odd because of the version. I've always (if at all) had a missing libncurses.so.5 that was the issue, which was always resolved by installing the libncurses-devel rpm (or compiling the source ). And although I agree with your reasoning, I cannot for the life of me remember using Mandrake and having to set the GCC path because it wasn't there by default. But, that would definitely make sense, especially if they installed all the development tools. But since it was a "group" of packages, it's a bit possible that gcc wasn't in that "group". urpmi should report if it's installed though, or a:
rpm -qa | grep gcc
Would at least bring up a bit on it.
Cool
|
|
|
All times are GMT -5. The time now is 03:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|