Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/bin/perl is needed by application RPM 1

Status
Not open for further replies.

RouterGod

MIS
Jul 17, 2001
51
CA
Seems like a simple task, when verifying a package dependency in RPM manager I get the following:

"Found 0 source and 1 binary packages
Dependency Problem:
/bin/perl is needed by (application package)"

How dow I remedy this?

I am doing this as root on RH 7.1

I am not Linux saavy so please be gentle.

Regards,

Don
 
Hi,

Bit confused on this. On Redhat perl (which is a script langauge) would be /usr/bin/perl not /bin/perl. I am not aware of any Redhat package that would 'require' /bin/perl. However if that was a typo and its a dependency issue where somethoing just requires perl then you would just install that first if its not currently installed (rpm -q perl) . If you don't have the perl rpm get it from --> ftp://rpmfind.net/linux/redhat/7.1/en/os/i386/RedHat/RPMS/perl-5.6.0-12.i386.rpm .

Just download somewhere, 'cd' to that directory, and then do as root :

rpm -Uvh perl-5.6.0-12.i386.rpm

Then re-try your original rpm.

If the original really was /bin/perl and the above doesn't work then I can only assume that the problem rpm is a non-Redhat one. The issue is that rpm checks for dependencies in its own database and not on the system itself. For example, if you only had a single missing dependency and you did have perl in /usr/bin/perl then, in practice, you could satisfy the requirement by making a symbolic link (shortcut) to the actual binary, i.e. :

cd /bin
ln -s /usr/bin/perl perl

However, rpm would not recognise that you had done that and would still report dependency errors even if it actual perl bits worked.

What rpm is that and where is it from ?

Hope this helps

 
Wow, great answer. You should be writing books dude!!! (hey, maybe you are?)

I know it was probably a simple question, however, I have only been using Linux for a couple weeks. You're answer shed a lot of light and re-enforces the Linux community looks after its own as well as newcommers.

In regards to the specific details of the installation, I was trying to install an (unnamed) security tool for intrusion detection. Not all of us are Saints if you know what I mean. I used Package Manager/Kpackage 2.1.1 in RH 7.1 and used the test feature to check things out. It simply replied:

Dependency Problem: /bin/perl is need by (application v3.3.9-1)

I'll try what you suggest(as it's excellent technical feedback).

Am I installing this RPM the wrong way/wrong tool?

Thanks for the feedback to date.
Don Regards,

Don
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top