LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-13-2004, 12:20 PM   #1
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Rep: Reputation: 15
Can't install Bit Defender in Slackware


I'm trying to install Bit Defender in slackware 9.1 but I get the following string of errors:

Quote:
/bin/sh is needed by BitDefender-Console-Antivirus-7.0.1-3
/bin/sh is needed by BitDefender-Console-Antivirus-7.0.1-3
/bin/sh is needed by BitDefender-Console-Antivirus-7.0.1-3
libc.so.6 is needed by BitDefender-Console-Antivirus-7.0.1-3
libc.so.6(GLIBC_2.0) is needed by BitDefender-Console-Antivirus-7.0.1-3
libc.so.6(GLIBC_2.1) is needed by BitDefender-Console-Antivirus-7.0.1-3
libc.so.6(GLIBC_2.1.3) is needed by BitDefender-Console-Antivirus-7.0.1-3
libc.so.6(GLIBC_2.2.3) is needed by BitDefender-Console-Antivirus-7.0.1-3
libc.so.6(GLIBC_2.3) is needed by BitDefender-Console-Antivirus-7.0.1-3
libdl.so.2 is needed by BitDefender-Console-Antivirus-7.0.1-3
libdl.so.2(GLIBC_2.0) is needed by BitDefender-Console-Antivirus-7.0.1-3
libdl.so.2(GLIBC_2.1) is needed by BitDefender-Console-Antivirus-7.0.1-3
So apparently I don't have the Shell installed even though it is there and useable, in the directory that Bit Defender can't find it in. The other components are also installed in the appropriate directories too. I had no problem installing it in Mandrake. Anyone care to guess what's wrong or nudge me in the right direction?
 
Old 06-13-2004, 01:00 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
/bin/sh should be a symlink to......./bin/bash
 
Old 06-13-2004, 01:10 PM   #3
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
I'm not sure I get what you're saying. I've already got both bin/bash and bin/sh and when I tried to make a sym link from one to the other I got this error:
Quote:
ln: `/bin/bash': File exists
So what now?
 
Old 06-13-2004, 02:43 PM   #4
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
your command to make the symlink was ln -s /bin/bash /bin/sh ?
 
Old 06-13-2004, 03:08 PM   #5
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Actually I think I went: ln -s /bin/sh /bin/bash but I'll give it a shot the other way around. Aren't links bi-directional though?

*edit: Ok, I just tried it both ways. The only difference is that one way give me the ln: `/bin/bash': File exists error and the other way give a ln: `/bin/sh': File exists error.

Little help?

Last edited by OC_eobard; 06-13-2004 at 03:11 PM.
 
Old 06-13-2004, 03:56 PM   #6
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
it appears you already have a link called sh to /bin/bash you can check by entering the command:
ls -la /bin |grep bash

the output should be something like this:

-rwxr-xr-x 1 root bin 628640 2003-06-24 02:15 bash
lrwxr-xr-x 1 root root 9 2004-06-13 22:46 sh -> /bin/bash

if you don't have such an output do: rm -f /bin/sh and then ln -s /bin/bash /bin/sh

Have you downloaded Bitdefender from their site ? Because I have the same configuration as you and it worked for me. Have you done a full install for Slackware ?
 
Old 06-13-2004, 04:32 PM   #7
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Here's what I got:
-rwxr-xr-x 1 root bin 628640 Jun 23 2003 bash*
lrwxrwxrwx 1 root root 4 May 28 13:20 sh -> bash*

I downloaded Slackware 9.1 from
LinuxISO.org. I got Bitdefender from the official site. I downloaded the .rpm and .run. I had installed the RPM into Mandrake without problem several times but I wanted to poke around and see what I needed to do to get the .run installed so I could learn something new. It gave me a bad checksum error and then aborted the install so I left it alone and went onto the RPM. I've tried sh-ing it from a konsole and using the Slackware "kpackage" installer in KDE and I get the same set of errors either way.
 
Old 06-13-2004, 04:55 PM   #8
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Hehe....

In Slackware, you can't install RPMs per se. You have to convert them first.

Do the following:

Quote:
$ rpm2tgz BitDefender_RPM_File.rpm
$ su
[password]
# installpkg BitDefender_TGZ_File.tgz
That will install it.

Slackware doesn't have the RPM database that 'rpm' is looking for, so it doesn't think /bin/bash or /bin/sh is installed.
 
Old 06-13-2004, 05:00 PM   #9
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
slackware has imho bad rpm support, always when I download a rpm file I first do: rpm2tgz name_of_file.rpm and then
installpkg name_of_file.tgz. this should work with BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.rpm

If you download the run file first do chmod 755 BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run and after that run ./BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run. You did download the gcc3x version, didn't you ?

(also you could try editing the BitDefender-Console-Antivirus-7.0.1-3.linux-gcc3x.i586.run file and on the first line replace sh with bash the line should now be #!/bin/bash )

Last edited by Menestrel; 06-13-2004 at 05:02 PM.
 
Old 06-13-2004, 05:33 PM   #10
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
This is why I got Slackware, so I could learn stuff. I ran Mandrake for about 6 months, I even installed Nvidia drivers and even Wine, but didn't really learn anything other than how to use some automated gui install/configuration programs. That's not much better than using Windows really.

I didn't download gcc3x because I checked and it's already on the system. That one I knew to look for ahead of time.

I'll try one of the methods explained above and see where that gets me.

Thanks for the help people.
 
Old 06-13-2004, 05:52 PM   #11
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Ok, I converted it and it installed properly, but it won't run. I go right into the directory and type "bdc" and get "-bash: bdc: command not found" as an error. I rebooted and that didn't solve it. It won't work as root either.

addendum: The README says I need cxxlibs installed for it to work with Slackware, but I checked and it's installed. So I'm at a loss as to what to do next. Anyone got any ideas?

Last edited by OC_eobard; 06-13-2004 at 06:17 PM.
 
Old 06-13-2004, 09:39 PM   #12
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
When you are in the directory trying to run "bdc", it thinks that's a command, and checks your PATH for the program.

Since it's obviously not in your PATH, you need to do "./bdc", which checks the current directory for the binary file "bdc".
 
Old 06-13-2004, 09:48 PM   #13
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Is that a specific thing with Slackware? Because I can type "bdc" from any directory in Mandrake and it runs without problem.
 
Old 06-13-2004, 11:24 PM   #14
Aeiri
Member
 
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Quote:
Originally posted by OC_eobard
Is that a specific thing with Slackware? Because I can type "bdc" from any directory in Mandrake and it runs without problem.
No, it isn't.

That just means bdc is in the PATH for your Mandrake install, but not for your Slackware install.
 
Old 06-14-2004, 10:48 AM   #15
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
I added the program's location to my path statement, all is good now. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 05:50 AM
How use Bit Defender anti virus izquierdista Linux - Security 1 06-02-2005 02:09 AM
Setting up Bit Defender jatcan Debian 3 09-09-2004 02:50 AM
how to install bit torrent? or bit tornado 0o0 Linux - Newbie 6 04-21-2004 11:52 PM
Bit Defender raysr Linux - Software 0 12-31-2003 05:16 PM


All times are GMT -5. The time now is 03:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration