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 should be a symlink to......./bin/bash
|
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:
|
your command to make the symlink was ln -s /bin/bash /bin/sh ?
|
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? |
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 ? |
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. |
Hehe....
In Slackware, you can't install RPMs per se. You have to convert them first. Do the following: Quote:
Slackware doesn't have the RPM database that 'rpm' is looking for, so it doesn't think /bin/bash or /bin/sh is installed. |
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 ) |
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. |
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? |
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". |
Is that a specific thing with Slackware? Because I can type "bdc" from any directory in Mandrake and it runs without problem.
|
Quote:
That just means bdc is in the PATH for your Mandrake install, but not for your Slackware install. |
I added the program's location to my path statement, all is good now. Thanks. :)
|
All times are GMT -5. The time now is 11:57 PM. |