If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. **

RPM dependency failure: /usr/bin/env instead of /bin/env

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 can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.

Posts

14,038

If /bin and /usr/bin are on the same device (disc+partition) then you should be able to create a hard link which will fool yast2 or anything else: ln -d /usr/bin/env /bin/env
Make sure you have first removed the soft link created previously, otherwise you will end up with a cyclic link.

Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!