bugGNU Octave - Bugs: bug #56741, [Android] Octave says "error...

 
 

bug #56741: [Android] Octave says "error while loading shared libraries: libopenblas.so.0:"

Submitted by:  None
Submitted on:  Sat 10 Aug 2019 09:29:31 AM UTC  
 
Category:  Libraries Severity:  2 - Minor
Priority:  3 - Low Item Group:  Installation Failure
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.2
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Aug 2019 05:06:44 PM UTC, comment #4: 

Great you found a solution.  Unfortunately Savannah does not allow users to close bug reports...

Kai Torben Ohlhus <siko1056>
Project Member
Sun 11 Aug 2019 04:58:56 PM UTC, comment #3: 

Please mark this bug as resolved. (I could not find how to close this bug).

Archisman Panigrahi <apandada1>
Sun 11 Aug 2019 04:56:53 PM UTC, comment #2: 

There is some sort of bug in the libblas.so and liblapack.so provided by the libopenblas-dev package (https://packages.ubuntu.com/bionic/armhf/libopenblas-dev/filelist). I tried to run a c program that uses blas, and got the same error.

I configured update-alternatives to use blas instead of openblas for libblas.so and liblapack.so

(sudo update-alternatives --config libblas.so.3-arm-linux-gnuabihf && sudo update-alternatives --config liblapack.so.3-arm-linux-gnuabihf).

Now octave works and so does my c program.

Archisman Panigrahi <apandada1>
Sat 10 Aug 2019 03:38:12 PM UTC, comment #1: 

Octave on Android, very nice.  The website says, it is under the hood some Debian.  Thus if "libopenblas-dev" is installed, the dependency providing "libopenblas.so.0" should also be installed:

https://packages.debian.org/jessie/amd64/libopenblas-base/filelist

Can you check if there is "libopenblas.so.0" and what are the current permissions?

+verbose+
ls -al /usr/lib/libopenblas.so.0
-verbose-

Maybe compare this with your other working device.

In general for the future, consider to get help at the termux issue tracker.  I think they are much more familiar with their software distribution:

https://github.com/termux/termux-packages/issues?utf8=%E2%9C%93&q=octave

Kai Torben Ohlhus <siko1056>
Project Member
Sat 10 Aug 2019 09:29:31 AM UTC, original submission:  

I am running a Ubuntu inside Termux in an armhf Android phone.
I installed octave with 'sudo apt install octave'.

I got the following error.

"""
Setting up octave (4.2.2-1ubuntu1) ...   
/usr/bin/octave-cli: error while loading shared libraries: libopenblas.so.0: cannot enable executable stack as shared object requires: Permission denied
dpkg: error processing package octave (--configure):
 installed octave package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
  octave                                  
E: Sub-process /usr/bin/dpkg returned an error code (1)
"""

When I run "octave --configure", it says
"""
/usr/bin/octave-cli: error while loading shared libraries: libopenblas.so.0: cannot enable executable stack as shared object requires: Permission denied
"""
Note: I have already installed the "libopenblas-dev" package.

However, in another arm64 phone, octave installs and runs normally.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apandada1 (Posted a comment)
  • -email is unavailable- added by siko1056 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-11 siko1056 Priority5 - Normal => 3 - Low
        StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
        SummaryOctave says "error while loading shared libraries: libopenblas.so.0:" => [Android] Octave says "error while loading shared libraries: libopenblas.so.0:"
    2019-08-10 siko1056 Severity3 - Normal => 2 - Minor
        StatusNone => Need Info

    Back to the top


    Powered by Savane 3.5