CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

need help to install Netgen-4.9.12

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 7, 2010, 19:21
Default need help to install Netgen-4.9.12
  #1
New Member
 
Join Date: Mar 2010
Posts: 14
Rep Power: 7
fiona is on a distinguished road
I'm trying to install Netgen verson 4.9.12 on Ubuntu 9.10. It seems tcl, tk and Togl have been installed all right, but when trying to start Netgen at command line (default location is /opt/Netgen), I got an error message saying "/opt/netgen/bin/netgen: error while loading shared libraries: libTogl1.7.so: cannot open shared object file: No such file or directory".

The asked library is located at /usr/local/lib. Why Netgen can't find it? Looked into configure and Makefile files, and specified the location, but just could not make it work.

Please help.
fiona is offline   Reply With Quote

Old   March 7, 2010, 20:12
Default
  #2
Member
 
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 72
Rep Power: 7
Ohbuchi is on a distinguished road
Did you add "/usr/local/lib" into LD_LIBRARY_PATH?
Ohbuchi is offline   Reply With Quote

Old   March 8, 2010, 02:09
Default
  #3
New Member
 
Join Date: Mar 2010
Posts: 14
Rep Power: 7
fiona is on a distinguished road
Hi Ohbuchi,

Thanks for pointing it out. I made a link to the library file from /usr/lib where it should be. It seems to be working now. The only complaint is "optfile ./ng.opt does not exist-using default values". I assume it is not critical.

Fiona
fiona is offline   Reply With Quote

Old   March 9, 2010, 12:42
Default
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello Fiona,

A Good Evening to you!

Did you finally solve the problem with loading geometry into Netgen on your installation?

Did you by any chance have an older version of Netgen installed in another folder? Could the environment variables (NETGENDIR for example) still be pointing to the older TCL files?

If you have further issues, please post a message in the Netgen mesher project page in Sourceforge.... we do not want to mix up netgen issues with OpenFOAM.... it might confuse OpenFOAM users....


Have a nice day ahead!

Philippose
philippose is offline   Reply With Quote

Old   August 3, 2010, 22:38
Default
  #5
New Member
 
Lee
Join Date: Jul 2010
Posts: 7
Rep Power: 7
lcnmy is on a distinguished road
I face the same problem,

/opt/netgen/bin/netgen: error while loading shared libraries: libTogl1.7.so: cannot open shared object file: No such file or directory

but before that I already move the file by LD_LIBRARY PATH by typing"

export LD_LIBRARY_PATH=/usr/lib/Togl-1.7:/opt/netgen/lib

May I know what go wrong during the installation? BTW, I am the newbie in UBUNTU.

Regards
Lee
lcnmy is offline   Reply With Quote

Old   September 3, 2010, 08:11
Default
  #6
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 6
Leech is on a distinguished road
Hey Guys,

got the same problem over here like Lee. Is there any suggestion?

Thanks
leech
Leech is offline   Reply With Quote

Old   September 3, 2010, 19:50
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,318
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Lee and Leech,

It only took me a little research to find this post: http://www.cfd-online.com/Forums/ope...tml#post258322 (post #48)
The relevant solution for both of you is this:
Quote:
Originally Posted by vaina74 View Post

There was a stupid error: the right path is /usr/lib/Togl1.7 and not
/usr/lib/Togl-1.7
So Lee, you were almost there. Leech, you can use Lee's solution, but take into account the quoted solution!

Oh and you both might want to read what is next on that post!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 4, 2010, 07:31
Default
  #8
Member
 
Pierre
Join Date: Sep 2010
Posts: 57
Rep Power: 6
Leech is on a distinguished road
Hi Bruno,

thank's a lot for your help. This gave me a perfect start into the weekend
Seems so to be working now.

Thanks
Leech
Leech is offline   Reply With Quote

Reply

Tags
netgen installation, togl library link

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
install openfoam in fedora Ahmed Khattab OpenFOAM Installation 32 September 23, 2011 11:11
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
Geometry > Netgen > OpenFOAM ericnutsch Open Source Meshers: Gmsh, Netgen, CGNS, ... 9 February 22, 2010 08:39
Netgen v45 Release Candidate 2 philippose Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 April 29, 2008 16:58


All times are GMT -4. The time now is 03:10.