ykcosmo Posted June 9, 2008 Share Posted June 9, 2008 I tried to compile the ocean toolkit under Linux, it said: /opt/hfs9.1.260/bin/sesitag-bin: error while loading shared libraries: libHoudiniAPPS3.so: cannot open shared object file: No such file or directory Quote Link to comment Share on other sites More sharing options...
edward Posted June 9, 2008 Share Posted June 9, 2008 Have you source'd houdini_setup? Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 10, 2008 Author Share Posted June 10, 2008 yes, sourced , I can run houdini in any shell, and I added the /bin to the environment variable. Quote Link to comment Share on other sites More sharing options...
edward Posted June 10, 2008 Share Posted June 10, 2008 Make sure that you ran houdini.install when you installed your build of Houdini. Other than that, you must have messed up the env variables that houdini_setup set up. Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 11, 2008 Author Share Posted June 11, 2008 I have to source houdini_setup_bash every time when I open a shell....!!!! here is the end of my /etc/profile export HFS=/opt/hfs9.1.260 PATH=$PATH:$HFS/bin export PATH Quote Link to comment Share on other sites More sharing options...
edward Posted June 11, 2008 Share Posted June 11, 2008 But houdini_setup_bash also modifies your PATH variable. You should NOT have those lines adding $HFS to your path. Try this: - backup your /etc/profile - remove those lines from your /etc/profile, and any other lines houdini-related - logout and log back in - start your shell, cd to /opt/hfs9.1.260 - source houdini_setup_bash - try running hcustom again. If that doesn't work. Add the following steps to your shell in progress to give us more info: - the exact hcustom command you're running - echo $PATH - echo $LD_LIBRARY_PATH Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 21, 2008 Author Share Posted June 21, 2008 So, can I source the houdini_setup_Bash at the startup? I don't want to source it everytime with every time I opne a shell...... Quote Link to comment Share on other sites More sharing options...
edward Posted June 21, 2008 Share Posted June 21, 2008 It's fine to source houdini_setup_bash in your startup files. What I meant was that you probably shouldn't manually modify the houdini variables. Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 22, 2008 Author Share Posted June 22, 2008 I removed the lines from /etc/profile as you said and edit the startup file as: cd /opt/hfs9.1.260 source houdini_setup_bash and it doesn't work every time I open a shell must source it again.... Quote Link to comment Share on other sites More sharing options...
edward Posted June 22, 2008 Share Posted June 22, 2008 Then you're not putting the lines in the right place? Or more probably, that when you're starting the shell, it's not running your startup script. Add an "echo Setting up Houdini" in there and see if it's working. Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 22, 2008 Author Share Posted June 22, 2008 which startup file do you write the "source houdini_setup_bash" in? thanks for your answers! Quote Link to comment Share on other sites More sharing options...
edward Posted June 22, 2008 Share Posted June 22, 2008 <shrugs> take a look at the bash man page? Quote Link to comment Share on other sites More sharing options...
Jason Posted June 22, 2008 Share Posted June 22, 2008 perhaps ~/.login? Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 23, 2008 Author Share Posted June 23, 2008 thanks for your anwsers. I modified the .login or rc.d file like: cd /opt/hfs9.1.260 source houdini_setup_bash but it doesn't work, that's why I post this topic here. I use houdini 9.1.260 for opensuse 10.3 64bit. and I have cleaned the /etc/profile houdini related lines. Quote Link to comment Share on other sites More sharing options...
edward Posted June 23, 2008 Share Posted June 23, 2008 Well, if you were doing things in /etc/profile before and that worked, did you try the source houdini_setup in there? Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 25, 2008 Author Share Posted June 25, 2008 I used to modified /etc/profile, and never used source houdini_setup_bash in shell, I could click the houdini icon and start it. after I set the HFS var in /etc/profile, the houdini can't be open with click. so, I removed the lines in /etc/profile as you said, cd /opt/hfs9.1.260, then source houdini_setup_bash, it works, but the click couldn't work still. thanks for your anwsers edward, I will retry more times. Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted June 29, 2008 Author Share Posted June 29, 2008 it works now, thanks for everyone. Quote Link to comment Share on other sites More sharing options...
Leefmc Posted July 15, 2008 Share Posted July 15, 2008 (edited) How did you get it working? This is driving me nuts. I've tried putting the source code in /etc/profile, and it did not seem to have any affect (If i "echo $PATH" no houdini paths are shown). However if i call it from bash directly (cd into HFS, then source houdini_setup_bash) it works great.. for that terminal session. This doesn't however, work at all for my WingIDE session. Any thoughts onto how to make this a global thing? *edit* Well i think i sussed it for now. I looked into houdini setup and it seems all it is is env paths being added.. despite what i was originally told heh. So i hand added each one to WingIDE and it runs fine! Note that i will be posting a detailed method for this, or atleast what i did, once i solve this last little problem. It seems to be some conflict between wingide's debugger and the houdini sdk. (Once i get an email back i'll know more) Edited July 16, 2008 by Leefmc Quote Link to comment Share on other sites More sharing options...
ykcosmo Posted July 21, 2008 Author Share Posted July 21, 2008 WingIDE? sorry, I don't know what's this, I use the default setup of OpenSuse 10.3 64bit. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.