From help-request at octave dot org Thu Jan 26 09:42:40 2006 Subject: RE: error while loading shared libraries From: "Andrew Funk" To: "'John'" Cc: Date: Thu, 26 Jan 2006 10:37:45 -0500 This is the email that solved my problem. We forgot to cc: the list: -----Original Message----- From: Carlo de Falco [mailto:carlo dot defalco at gmail dot com] Sent: Tuesday, January 24, 2006 11:37 AM To: Andrew Funk Subject: Re: error while loading shared libraries On 23/gen/06, at 22:00, Andrew Funk wrote: > Thanks, this sounds like the solution to my problem with escape > characters (I had been using 2.1.40) > > Now that I am trying to install 2.9.4 I am having a new problem: > > [afunk at dn01 ~]$ octave > octave: error while loading shared libraries: liboctinterp.so: cannot > open shared object file: No such file or directory > > I can see the requisite file in octave-2.9.4/src, so it seems it is > not > getting copied over to the install directory. I tried using the > --enable_shared flag to configure, but that didn't fix the problem and > anyway based on the description that doesn't seem like it should be > necessary. > > Any suggestions? > > Thanks, > Andy > Andy, I had the same problem, there was an error in the install-oct part of the file src/Makefile, the following row had a missing ";" in the end $(srcdir)/mk-pkg-add --prefix $(octfiledir) $(DLD_DEF_FILES) > $ (DESTDIR)$(octfiledir)/PKG_ADD that prevented the installation to finish correctly I changed it to $(srcdir)/mk-pkg-add --prefix $(octfiledir) $(DLD_DEF_FILES) > $ (DESTDIR)$(octfiledir)/PKG_ADD; \ don't know if it's the same for you, just give it a look Carlo > -----Original Message----- > From: John [mailto:heimdal at aracnet dot com] > Sent: Thursday, January 26, 2006 9:11 AM > To: Andrew Funk > Subject: Re: error while loading shared libraries > > > Andrew Funk wrote: > > >Thanks, this sounds like the solution to my problem with escape > >characters (I had been using 2.1.40) > > > >Now that I am trying to install 2.9.4 I am having a new problem: > > > >[afunk at dn01 ~]$ octave > >octave: error while loading shared libraries: liboctinterp.so: cannot > >open shared object file: No such file or directory > > > >I can see the requisite file in octave-2.9.4/src, so it > seems it is not > >getting copied over to the install directory. I tried using the > >--enable_shared flag to configure, but that didn't fix the > problem and > >anyway based on the description that doesn't seem like it should be > >necessary. > > > >Any suggestions? > > > >Thanks, > >Andy > > > > > > > > > >>-----Original Message----- > >>From: Bill Denney [mailto:denney at seas dot upenn dot edu] > >>Sent: Thursday, January 19, 2006 8:03 PM > >>To: Andrew Funk > >>Cc: help at octave dot org > >>Subject: Re: Escape characters and Matlab compatibility > >> > >> > >>What version of octave are you using? This behavior is > >>changed in the > >>2.9.x series I believe so that '\' works like it does in > >>matlab while "\" > >>is more powerful and allows for string escapes. > >> > >>Bill > >> > >>On Thu, 19 Jan 2006, Andrew Funk wrote: > >> > >> > >> > >>>Hi, > >>> > >>>I am trying to run MatlabMPI examples under Octave and > >>> > >>> > >>right away I ran > >> > >> > >>>into this problem: > >>> > >>>octave:1> '\' > >>>error: unterminated string constant > >>>parse error: > >>> > >>> > >>> > >>>>>>'\' > >>>>>> > >>>>>> > >>> ^ > >>> > >>> > >>>I see this was addressed some time ago (1997) but it didn't > >>> > >>> > >>seem to be > >> > >> > >>>resolved so I'm just wondering what the current status is? > >>> > >>>Thanks, > >>>Andy > >>> > >>> > >>> > >>>------------------------------------------------------------- > >>>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 > >>>------------------------------------------------------------- > >>> > >>> > >>> > >>-- > >>Jake liked his women how he liked his kiwi fruit; firm yet > >>yielding, sweet > >>yet tart, and covered with short fuzzy brown hair. > >> -- unknown > >> > >> > >> > >> > > > > > > > >------------------------------------------------------------- > >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 > >------------------------------------------------------------- > > > > > > > Hello, > > I had the same problem on Solaris 10 x86. I found the > "missing" library > in the build tree: > > bash-3.00$ ls -l *octinterp* > -rwxr-xr-x 1 john staff 91326524 Jan 19 19:27 > liboctinterp.so > lrwxrwxrwx 1 john staff 15 Jan 19 19:28 > liboctinterp.so.2.9.4 -> liboctinterp.so > bash-3.00$ pwd > bash-3.00$ /home/john/src/Octave/octave-2.9.4/src > > As root, I copied both the library and the link to this > library, to the > /usr/local/lib/octave-2.9.4 directory. This seems to have fixed the > problem, as octave now runs. However, Octave 2.9.4, cannot invoke the > plot() function. I have since removed 2.9.4 and installed > 2.1.72. This > version seems to install and function as designed, including plot(). > This weekend I may spend more time on 2.9.4, to find a fix, > if possible? > > Hope this helps someone, > > John > > ------------------------------------------------------------- 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 -------------------------------------------------------------