Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
shell script problme
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
snorkel
Apprentice
Apprentice


Joined: 14 May 2002
Posts: 206
Location: Milwaukee, WI

PostPosted: Thu May 16, 2002 6:18 pm    Post subject: shell script problme Reply with quote

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
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu May 16, 2002 8:10 pm    Post subject: Re: shell script problme Reply with quote

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:

Code:
echo $PATH


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
View user's profile Send private message
snorkel
Apprentice
Apprentice


Joined: 14 May 2002
Posts: 206
Location: Milwaukee, WI

PostPosted: Thu May 16, 2002 8:18 pm    Post subject: ./ in path Reply with quote

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
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu May 16, 2002 8:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum