LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't install Bit Defender in Slackware (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-bit-defender-in-slackware-193014/)

OC_eobard 06-13-2004 12:20 PM

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?

320mb 06-13-2004 01:00 PM

/bin/sh should be a symlink to......./bin/bash

OC_eobard 06-13-2004 01:10 PM

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?

Menestrel 06-13-2004 02:43 PM

your command to make the symlink was ln -s /bin/bash /bin/sh ?

OC_eobard 06-13-2004 03:08 PM

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?

Menestrel 06-13-2004 03:56 PM

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 ?

OC_eobard 06-13-2004 04:32 PM

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.

Aeiri 06-13-2004 04:55 PM

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.

Menestrel 06-13-2004 05:00 PM

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 )

OC_eobard 06-13-2004 05:33 PM

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.

OC_eobard 06-13-2004 05:52 PM

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?

Aeiri 06-13-2004 09:39 PM

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".

OC_eobard 06-13-2004 09:48 PM

Is that a specific thing with Slackware? Because I can type "bdc" from any directory in Mandrake and it runs without problem.

Aeiri 06-13-2004 11:24 PM

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.

OC_eobard 06-14-2004 10:48 AM

I added the program's location to my path statement, all is good now. Thanks. :)


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