View previous topic :: View next topic |
Author |
Message |
snorkel Apprentice
Joined: 14 May 2002 Posts: 206 Location: Milwaukee, WI
|
Posted: Thu May 16, 2002 6:18 pm Post subject: shell script problme |
|
|
Hi,
I have a setup.sh that came with a app, it is all setup properly.
The script launches a external program to check the glibc version and it fails because the external program can't find a .so
The .so is in the same folder as the executable.
This all works perfectly on Suse, Red Hat etc
I am just doing a ./setup.sh (it's on a cdrom and cd has exec in fstab)
It's like the Gentoo paths are messed up.
Any Idea's
Tony |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu May 16, 2002 8:10 pm Post subject: Re: shell script problme |
|
|
snorkel wrote: | It's like the Gentoo paths are messed up. |
By default (at least on my gentoo system), Gentoo doesn't include ./ in the $PATH. Try:
to see if it's in yours. If it's not, adding that should solve your problem. Alternately, you can always put a symlink in /usr/bin or some other place already in your path, but that's kind of a hack.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
snorkel Apprentice
Joined: 14 May 2002 Posts: 206 Location: Milwaukee, WI
|
Posted: Thu May 16, 2002 8:18 pm Post subject: ./ in path |
|
|
Kurt,
I just did a echo $PATH on my suse box at work and it does not have ./ in it. It must be something else?
I check the PATH on my GENTOO box and it does not have it.
I should be able to install something from a CDROM
Tony |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu May 16, 2002 8:21 pm Post subject: |
|
|
Folks, as a general rule, PLEASE do not cross post or double post the same issue across multiple forums. We really have plenty of traffic as it is -- we don't need to add more.
Locking this thread in favor of this one.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
|