help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.1.46 problem


From: Dmitri A. Sergatskov
Subject: 2.1.46 problem
Date: Wed, 05 Mar 2003 00:22:04 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02

I have problem with shared libraries with octave 2.1.46:

<<<<

address@hidden dima]$ octave-2.1.46
octave-2.1.46: error while loading shared libraries: liboctinterp.so: cannot 
open shared object file: No such file or directory


address@hidden dima]$ ldd /usr/local/bin/octave-2.1.46
        liboctinterp.so => not found
        liboctave.so => not found
        libcruft.so => not found
        libfftw.so.2 => /usr/local/lib/libfftw.so.2 (0x40026000)

.....

address@hidden dima]$ ldd /usr/local/bin/octave-2.1.45
        liboctinterp.so => /usr/local/lib/octave-2.1.45/liboctinterp.so 
(0x40013000)
        liboctave.so => /usr/local/lib/octave-2.1.45/liboctave.so (0x402a3000)
        libcruft.so => /usr/local/lib/octave-2.1.45/libcruft.so (0x403f4000)
        libfftw.so.2 => /usr/local/lib/libfftw.so.2 (0x4054b000)

....

address@hidden dima]$ ls  /usr/local/lib/octave-2.1.46/
libcruft.a          liboctave.a          liboctinterp.a
libcruft.so         liboctave.so         liboctinterp.so
libcruft.so.2.1.46  liboctave.so.2.1.46  liboctinterp.so.2.1.46

>>>>

I guess I also do not understand how does 2.1.45 finds liboctave.so,
liboctinterp.so and libcruft.so. Neither of them in ld.so path:

address@hidden root]# ldconfig -v | grep oct
        libdmallocthcxx.so -> libdmallocthcxx.so
        libdmallocth.so -> libdmallocth.so


If I add /usr/local/lib/octave-2.1.46 explicitly into ld.so.config
 everything works, but I doubt this is a preferred solution...

Any hints would be greatly appreciated.

Sincerely,

Dmitri.

p.s. both 2.1.45 and 2.1.46 compiled with the same configure options:
--enable-shared --enable-dl --with-fastblas
RedHat 8.0/gcc3.2



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]