[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: |
Tue, 10 Mar 2015 20:45:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
Follow-up Comment #17, bug #44467 (project octave):
Thanks for the links.
Indeed on opensuse 13.2 smbclient is incorrect:
>grep Libs /usr/lib64/pkgconfig/smbclient.pc
Libs: -Wl,-rpath,/usr/lib64 -L${libdir} -lsmbclient
> pkg-config --libs smbclient
-Wl,-rpath,/usr/lib64 -lsmbclient
Manually removing the rpath
>grep Libs /usr/lib64/pkgconfig/smbclient.pc
Libs: -L${libdir} -lsmbclient
> pkg-config --libs smbclient
-lsmbclient
does not resolve the problem.
./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 FLTK_LDFLAGS="-lfltk_gl -lGL -lfltk"
make clean
make -j 3 V=1 FLTK_LDFLAGS="-lfltk_gl -lGL -lfltk"
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/lib64:/usr/local/openblas-mt-gcc4.8.3/lib64/octave/4.0.0-rc1:/usr/local/openblas-mt-gcc4.8.3/lib64
and actually, having increased the logging size of my konsole to 1e5 lines, I
found the offending line
libtool: link: g++ -fPIC -DPIC -shared -nostdlib
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crti.o
/usr/lib64/gcc/x86_64-suse-linux/4.8/crtbeginS.o -Wl,--whole-archive
qterminal/.libs/libqterminal.a src/.libs/libgui-src.a
graphics/.libs/libgui-graphics.a -Wl,--no-whole-archive -Wl,-rpath
-Wl,/usr/local/build/octave-4.0.0-rc1/libinterp/.libs -Wl,-rpath
-Wl,/usr/local/build/octave-4.0.0-rc1/liboctave/.libs -Wl,-rpath
-Wl,/usr/lib64 -Wl,-rpath
-Wl,/usr/local/openblas-mt-gcc4.8.3/lib64/octave/4.0.0-rc1 -Wl,-rpath
-Wl,/usr/lib64 -L/usr/local/openblas-mt-gcc4.8.3/lib64
../libinterp/.libs/liboctinterp.so ../liboctave/.libs/liboctave.so
/usr/lib64/libQtNetwork.so /usr/lib64/libQtOpenGL.so /usr/lib64/libQtGui.so
/usr/lib64/libQtCore.so -lqscintilla2 -lfontconfig -lfreetype -lGL -lGLU
-lutil -L/usr/lib64/gcc/x86_64-suse-linux/4.8
-L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.8/../../.. -lstdc++ -lm -lgomp -lpthread
-lc -lgcc_s /usr/lib64/gcc/x86_64-suse-linux/4.8/crtendS.o
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crtn.o -pthread
-fopenmp -march=native -Wl,-rpath -Wl,/usr/local/openblas-mt-gcc4.8.3/lib64
-pthread -fopenmp -Wl,-soname -Wl,liboctgui.so.0 -o .libs/liboctgui.so.0.0.0
Of course there can be another package with the same kind of flaw
(according to ldd, smbclient is not linked by octave)
I intend to follow this path further tomorrow.
And probably file a bug report to OpenSUSE also.
Another path would be to investigate the other files where /usr/lib64 was
found in comment #16.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44467>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, (continued)
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, ederag, 2015/03/08
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, ederag, 2015/03/08
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, Mike Miller, 2015/03/08
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, ederag, 2015/03/08
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, Mike Miller, 2015/03/08
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, ederag, 2015/03/08
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, Rik, 2015/03/09
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, ederag, 2015/03/09
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, Mike Miller, 2015/03/09
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, ederag, 2015/03/10
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast,
ederag <=
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, Mike Miller, 2015/03/10
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, ederag, 2015/03/11
- [Octave-bug-tracker] [bug #44467] libGL error: failed to load driver: swrast, Mike Miller, 2015/03/11