LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2004, 01:11 PM   #1
nileshbirari
Newbie
 
Registered: Feb 2004
Location: india mumbai
Distribution: FC-2
Posts: 6

Rep: Reputation: 0
environment setting problem


when i tried to run command
\ansys_inc\v70\ansys\bin\tansys70
it propmpted with Executing /ansys_inc/v70/commonfiles/launcher/lib/launcher/tansys

/ansys_inc/v70/commonfiles/Tcl/bin/linuxia32/wish: /ansys_inc/v70/ansys/syslib/linuxia32/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.5)

The ANSYS Launcher could not be started.

The most likely reason is that your DISPLAY environment
variable is either not set (i.e. issue setenv DISPLAY
dev:0.0 where dev is your device name) or is set to a
device that is not accepting the connection.


how i should try to fix it
i gave command setend ip no DISPLAY:0.0 but it says no setenv command found. but when i gave" man setenv" it is there
my linux version is fedora

please help me
 
Old 02-27-2004, 01:26 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try running:
export DISPLAY="127.0.0.1:0"

Then your program.
 
Old 02-29-2004, 09:34 PM   #3
nileshbirari
Newbie
 
Registered: Feb 2004
Location: india mumbai
Distribution: FC-2
Posts: 6

Original Poster
Rep: Reputation: 0
hi i tried running export DISPLAY="127.0.0.1:0" and then my program still same error is there
please help me.

with regards
NIlesh
 
Old 02-29-2004, 11:40 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,137

Rep: Reputation: 65
Quote:
hi i tried running export DISPLAY="127.0.0.1:0" and then my program still same error is there
The first thing I'd try is

DISPLAY=127.0.01:0 ; export DISPLAY

or

export DISPLAY=127.0.01:0

(no quotes around the IP address).

It sounded like you were running the application on the local system. If that's not the case, try issuing the command "xhost" from an xterm window. If it comes back with something like:

access control enabled, only authorized clients can connect

but doesn't include any lines like:

INET:www.somewhere.com

you'll need to allow that host running the application to connect ot your X server. Use the command "xhost +ACs- www.somewhere.com" to allow access through connections from that host. (I've never had to do this for the local host but you did mention Fedora and Red Hat has a reputation for "tweaking" things. :-D )

If the host that cannot connect to the X server is your host, then I'd look into what's causing that message about "'GCC_3.3' not found (required by /usr/lib/libstdc.so.5)".

Good luck,

Rick
 
Old 03-04-2004, 11:23 AM   #5
p5i
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
I have exactly the same problem. If you try "export DISPLAY=:0" it will works, you can do this: "xhost +localhost".

Unfortunetly not that problem is the key. I spent a lot of time to solve this stupid exercise, but I can't. I tried everything, but I always get the same answer:

"~:/usr/ansys_inc/v70/ansys/bin$ tansys70
Executing /ansys_inc/v70/commonfiles/launcher/lib/launcher/tansys

/ansys_inc/v70/commonfiles/Tcl/bin/linuxia32/wish: /ansys_inc/v70/ansys/syslib/linuxia32/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.5)

The ANSYS Launcher could not be started.

The most likely reason is that your DISPLAY environment
variable is either not set (i.e. issue setenv DISPLAY
dev:0.0 where dev is your device name) or is set to a
device that is not accepting the connection."

I fed up with this. Once (on an earlier version of this dist.) I could install Ansys without any problem, but this is to much for me.

Please if anybody know the solution write it here.

Thanks,
Peter
 
Old 03-04-2004, 02:34 PM   #6
p5i
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
I found the solution:

cd /ansys_inc/v70/ansys/syslib/linuxia32/
mv libgcc_s.so.1 libgcc_s.so.1.old
ln -s /usr/lib/libgcc_s.so.1 .
 
Old 03-04-2004, 06:44 PM   #7
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,137

Rep: Reputation: 65
Quote:
cd /ansys+AF8-inc/v70/ansys/syslib/linuxia32/
mv libgcc+AF8-s.so.1 libgcc+AF8-s.so.1.old
ln -s /usr/lib/libgcc+AF8-s.so.1 .
Nice find. I'd probably still be looking (heh, heh) because of that error message. The simple fix usually is the right one. (To borrow a bit from Occam.) I don't find myself having to poke around massaging the contents of the system library directories.
 
Old 02-13-2005, 07:10 AM   #8
sachins
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
thanks

thanks for both of you. i also had the same problem with ansys, but now its solved.
 
Old 04-06-2006, 06:14 AM   #9
apzc2529
LQ Newbie
 
Registered: Feb 2006
Location: China
Distribution: Debian sid and KDE
Posts: 10

Rep: Reputation: 0
hi,I also have the same problem with starting ansys90,but I can't solve it.

The ANSYS Launcher could not be started.

The most likely reason is that your DISPLAY environment
variable is either not set (i.e. issue setenv DISPLAY
dev:0.0 where dev is your device name) or is set to a
device that is not accepting the connection.

My OS is Debian 2.6.15.

what should I do?
Hope you help me,ty very much.

Last edited by apzc2529; 04-06-2006 at 06:15 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need help setting environment variables. cottonmouth Linux - Newbie 3 12-09-2004 04:54 PM
setting environment PATH heathpitts Linux - Newbie 26 12-03-2004 10:15 AM
setting environment variables jayjoh Linux - Newbie 9 07-12-2004 12:35 PM
so confused about setting up environment ashley75 Linux - General 3 01-13-2004 11:51 AM
Setting an environment variable kharris Linux - General 3 10-02-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration