LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2009, 05:25 AM   #1
anoosh3000
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 0
RPM dependency failure: /usr/bin/env instead of /bin/env


Dears,

i'm installing scisoft (a scientific software package) on openSUSE 11.0.
when i try to install with
Code:
rpm -iv sth.rpm
it reports that sth.rpm requiers /bin/env. i have env program installed at /usr/bin/env.

how do I change this ? i have this idea:

to create a RPM package that does nothing, only tell the system that an "env" program is installed there and pass the dependency check. then i will create a symbolic link from /usr/bin/env to /bin/env.

i must note that i cannot change the RPM packages for scisoft.

any ideas are appreciated!
 
Old 04-10-2009, 05:34 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
The symbolic link solution should work. The installer should not distinguish between symbolic links and actual executables. To skip eventual package dependencies problems, you can use zypper:
Code:
zypper in name_of_scisoft_rpm
it will take care of dependencies for you (while the rpm command won't).
 
  


Reply



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
/usr/bin/env: bad interpreter: Permission denied Master Fox Linux - Software 8 02-09-2012 08:25 AM
/tools/bin/env ...does not exist! mediolanum Linux From Scratch 12 11-05-2006 01:44 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
/tools/bin/env: /tools/bin/bash: No such file or directory DaZjorz Linux From Scratch 21 07-27-2005 07:11 AM
Cannot Enter chroot /usr/bin/env directory not found Zero-0-Effect Linux From Scratch 2 03-13-2004 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration