|
From: | Paul Kienzle |
Subject: | Re: problems on suse 9.0 |
Date: | Fri, 12 Mar 2004 08:06:57 -0500 |
On Mar 12, 2004, at 7:39 AM, emilio wrote:
hi againyes, when i execute sbin/ldconfig i do it as root, and the message is "command not found". i've made a search for this command by using both, kfind and "find". on the other hand i've made a search in suse of a newer version of octave but i wasnt successfull. and as you mention, i tried to recompile octave but when i read the "readme file" i understood it is too hard to me inthis moment.i've tried again to execute ldconfig, but this is what i got (i copypaste thescript) orion:/ # .. orion:/ # cd usr/sbin/ orion:/usr/sbin # ldconfig bash: ldconfig: command not found orion:/usr/sbin # .. orion:/usr # .. orion:/ # cd sbin/ orion:/sbin # lconfig bash: lconfig: command not found anyway, i will try again to find a newer version of octave for suse.
Unfortunately, this test is inconclusive. If you do not include part of the path in the executable name, then the shell will only look for that name on the path (this is a security feature --- if as root you are executing what you think is a system command in a user directory, and that user has a command of the same name which does something different, then you have a problem). So, try # /sbin/ldconfig and # /usr/sbin/ldconfig Have you confirmed that the files exist: $ ls -l /usr/lib/octave-2.1.49 This should list libcruft.so, etc. as links to other files in the same directory. Make sure they all exist and are readable by you. Did you try: $ LD_LIBRARY_PATH=/usr/lib/octave-2.1.49 octave or maybe: $ OP=/usr/lib/octave-2.1.49$ LD_PRELOAD=$OP/libcruft.so:$OP/liboctave.so:$OP/liboctinterp.so octave
This is bash syntax, so if you are using a different shell it may. Paul Kienzle address@hidden
thanks again for your help emilioEmilio,OK, before we get any deeper, have you checked to see if Suse has a newer package for Octave? This may fix everything, as Dmitri elluded to,and would definitely be easier. I would suggest recompile, but as aLinux beginner, that may be a little more than you want to swallow rightnow, not to mention you would probably have the same problem that your having now. (Don't worry about that last line.) When you tried to run /sbin/ldconfig, did it specifically say "command not found"? Or did it not work? The reason I ask is that probably every Linux distribution has that command.OK, I know you said your new at Linux, so first, do you understand whatI mean when I say you need to be the "root" user to execute that command? (If not, at the command line type 'su', and then your administrator password. This should get you to the prompt which ends with a pound sign, '#') So if you got that far, ldconfig should be in one of these places: /sbin/ldconfig or /usr/sbin/ldconfig After that, you should be OK, get back to me if you're still having problems. JD emilio wrote:hi JDfirst of all thanks for your help. i read your message and i have to say i didnt get to solve the problem. after this atempt and with the information of your coment i made a search in the internet and found the next text:"Problem: Trying to run octave gives: appc63:/etc # octaveoctave: error while loading shared libraries: liboctinterp.so: cannot openshared object file: No such file or directory Solution: add /usr/lib/octave-2.1.49 to your /etc/ld.so.conf file then do: /sbin/ldconfig"and of course i tried it , but at the end i got an error when i tried todo ldconfig. it seems this comand does not exist on my computer (?) emilio------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |