octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: sw


From: ederag
Subject: [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast
Date: Wed, 11 Mar 2015 21:10:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

Follow-up Comment #19, bug #44467 (project octave):

Good catch, congratulations !

There are 17 libQt*.la in /usr/lib64

They should not be packaged, according to OpenSUSE recommendations
https://en.opensuse.org/Shared_Library_Packaging_Policy

>Avoid packaging libtool config files (.la files). If you do not package a
static library, and if you are also placing the shared library in a standard
search directory (i.e. %_lib, /usr/%_lib), they will not be needed.

And they all have multiple -L/usr/lib64 occurrences,
as you suspected.

Then

sudo mkdir /usr/lib64/old.la
sudo mv /usr/lib64/libQt*.la /usr/lib64/old.la/

./configure --with-blas="/usr/local/openblas-mt-gcc4.8.3/lib64/libopenblas.so"
CFLAGS="-march=native -L/usr/local/openblas-mt-gcc4.8.3/lib64
-I/usr/local/openblas-mt-gcc4.8.3/include" CXXFLAGS="-march=native
-L/usr/local/openblas-mt-gcc4.8.3/lib64
-I/usr/local/openblas-mt-gcc4.8.3/include" FFLAGS="-march=native
-L/usr/local/openblas-mt-gcc4.8.3/lib64
-I/usr/local/openblas-mt-gcc4.8.3/include"
LDFLAGS=-Wl,-rpath,/usr/local/openblas-mt-gcc4.8.3/lib64
--prefix=/usr/local/openblas-mt-gcc4.8.3

make clean
make -j 3

chrpath -l libgui/.libs/liboctgui.so
libgui/.libs/liboctgui.so:
RUNPATH=/usr/local/build/octave-4.0.0-rc1/libinterp/.libs:/usr/local/build/octave-4.0.0-rc1/liboctave/.libs:/usr/local/openblas-mt-gcc4.8.3/lib64/octave/4.0.0-rc1:/usr/local/openblas-mt-gcc4.8.3/lib64

and the plot works fine now.

Bug report filed to OpenSUSE:
https://bugzilla.opensuse.org/show_bug.cgi?id=921875


Thanks a lot for your help !


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44467>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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