Page 1 of 7 123 ... LastLast
Results 1 to 10 of 64

Thread: Octave and OpenSUSE 11.2

  1. #1

    Default Octave and OpenSUSE 11.2

    Hi guys,

    I installed octave in my OpenSUSE 11.2 KDE system from Yast. When I launch it with the command "octave" on my shell, this is the message I receive: "octave: error while loading shared libraries: liboctave.so: cannot open shared object file: No such file or directory".
    What's the problem? Is it a known problem to be solved in the 11.2 RC2 or I have to do something else?

    Thank you in advance!!!

  2. #2
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,442

    Default Re: Octave and OpenSUSE 11.2

    You have to bear in mind that 11.2 has not been released and it can sometimes take some time to update all the packages in the repos for a new release. Try uninstalling it today and reinstalling it next week and, if there is a problem then, report it as a bug.

  3. #3

    Default Re: Octave and OpenSUSE 11.2

    I installed the "octave-3.0.2-2.pm.8.2" today from "http://packman.links2linux.de" and noticed the same issue.

    To solve this I did "sudo /sbin/ldconfig /usr/lib/octave-3.0.2" and everything worked, hope this helps.

  4. #4

    Default Re: Octave and OpenSUSE 11.2

    Very useful:

    [packman] [PM] octave 3.0.2-1.1 (openSUSE 11.1/i586)

    /cite

    (I have
    64bit system). As root I used
    echo "/usr/lib64/octave-3.0.2" > /etc/ld.so.conf.d/octave.conf && ldconfig
    and it works.
    /etc/ld.so.conf.d/octave.conf has to be there with one line in it to get it
    working:
    $ cat /etc/ld.so.conf.d/octave.conf
    /usr/lib64/octave-3.0.2
    After the change it works fine...
    Best regards,
    Vojtěch Zeisek

    /cite

  5. #5
    Join Date
    Dec 2009
    Location
    USA
    Posts
    39

    Default Re: Octave and OpenSUSE 11.2

    I grabbed Octave (v. 3.2.3) from the Build Service and didn't have this problem.

  6. #6

    Question Re: Octave and OpenSUSE 11.2

    Hello, first post here for me.

    OpenSuse11.2 Linux 2.6.31.12-0.1-desktop x86_64


    I have a fresh install of OpenSuse11.2 (64bit), fresh network install from novel on to a 64 bit machine.

    OS: Linux 2.6.31.12-0.1-desktop x86_64
    System: openSUSE 11.2 (x86_64)
    KDE: 4.3.1 (KDE 4.3.1) "release 6"

    I have then added the following repository,

    /repositories/openSUSE:/11.2:/Contrib/standard/

    and installed octave through the Software Management application.

    Restart the computer and then tried to run,

    :~>octave

    only to get,

    :~>octave: error while loading shared libraries: liboctinterp.so: cannot open shared object file: No such file or directory


    I have also created soft links <library name>.so -> <library name>.so.3.2.2 withing the /usr/lib64/octave-3.2.2 directory
    and softlinks from /usr/lib64 pointing to the .so files in the octave directory.

    After a restart still, get the same error as above.

    I usually compile octave myself, making sure it has the suitsparse, but that now for some reason is also giving me
    a lot of errors I did not get before. I may need to ask those questions in another thread though.

    Anyone had any luck?

    Edit: "/sbin/ldconfig /usr/lib64/octave-3.2.2/" worked. I tried this before, why did it just suddenly decide to work?

    Can I ask questions about my compile errors here?
    Last edited by creditcrunch; 12-Feb-2010 at 07:31. Reason: I am an idiot - I must read the full threads x 100

  7. #7

    Default Re: Octave and OpenSUSE 11.2

    I have found I do have to run

    /sbin/ldconfig /usr/lib64/octave-3.2.2/
    each time
    I log in. Apart from adding it to a startup script is there a way
    to make the action above more permanent?

  8. #8
    palladium NNTP User

    Default Re: Octave and OpenSUSE 11.2

    creditcrunch wrote:
    > I have then added the following repository,
    >
    > /repositories/openSUSE:/11.2:/Contrib/standard/
    >
    > and installed octave through the Software Management application.


    by Software Management application do you mean YaST? or Zypper, or a
    "1-Click Install" or what?


    > Restart the computer and then tried to run,


    why did you restart the computer? that should not be necessary..


    > :~>octave
    >
    > only to get,
    >
    > :~>octave: error while loading shared libraries: liboctinterp.so:
    > cannot open shared object file: No such file or directory


    tell me again how you installed....i ask because YaST/Zypper normally
    solves all of those kinds of dependencies....OR tells you it can't so
    that you can decide to proceed or not......or proceed and solve them
    yourself later..



    > I have also created soft links <library name>.so -> <library
    > name>.so.3.2.2 withing the /usr/lib64/octave-3.2.2 directory
    > and softlinks from /usr/lib64 pointing to the .so files in the octave
    > directory.


    why? did YaST fail to do that also?


    > After a restart still, get the same error as above.


    > I usually compile octave myself, making sure it has the suitsparse, but
    > that now for some reason is also giving me
    > a lot of errors I did not get before. I may need to ask those
    > questions in another thread though.
    >
    > Anyone had any luck?
    >
    > Edit: "/sbin/ldconfig /usr/lib64/octave-3.2.2/" worked. I tried this
    > before, why did it just suddenly decide to work?
    >
    > Can I ask questions about my compile errors here?


    sure..

    i take it you didn't use YaST/Zypper or an RPM, but rather a tarball,
    correct?

    you might benefit from this page: http://en.opensuse.org/Concepts
    especially the parts about software handling, in section 2..

    --
    palladium

  9. #9
    palladium NNTP User

    Default Re: Octave and OpenSUSE 11.2

    creditcrunch wrote:
    > I have found I do have to run
    >
    >> /sbin/ldconfig /usr/lib64/octave-3.2.2/ each time

    > I log in. Apart from adding it to a startup script is there a way
    > to make the action above more permanent?


    now that i've tried to answer two other posts of yours i guess i now
    have to assume that you did compile but had errors, right?

    let me ask did you run configure as a regular user, then run make as a
    regular user, and then run make install as root?

    i think failing to do it that way would result in your libs not being
    found....maybe..

    or perhaps there was a readme in the tarball giving another
    (non-normal) compile/install procedure that you followed?? tell us
    about it..

    --
    palladium

  10. #10

    Default Re: Octave and OpenSUSE 11.2

    Palladium,

    Thank you for your quick reply.

    I tried 2 approaches.

    1) Fresh Install from YAST, this gave the missing library error I mentioned above. Using "/sbin/ldconfig /usr/lib64/octave-3.2.2/" works but I have to do that before each time I start Octave. So yes - YAST failed
    to do this for octave. This is a fresh install of SUSE11.2.

    2) Compilation from tar.gz - this I did as root, I ran the config as root also. Would you like me to go in to more detail here about my experience with the tar.gz compile rout? I gave up on this method and not using my
    own compiled version. I will put together my compile errors and post them up in a bit. Thanks.



    Restart - I know, there is no need for this. Last
    resort, hangover from my windows user days...
    Last edited by creditcrunch; 15-Feb-2010 at 01:44. Reason: Add to point (2) above.

Page 1 of 7 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •