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: Sun, 08 Mar 2015 21:13:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0

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

make -j 3 FLTK_LDFLAGS="-lfltk_gl -lGL -lfltk"
does not change anything, neither do
FLTK_LDFLAGS="-lfltk_gl -lGL -lfltk" make -j 3
but weirdly 
make -j 3
does not relink (it finishes really fast)
so I'm not sure the FLTK_LDFLAGS are overridden.
or maybe the evil is already done.
Unfortunately the real commands are abbreviated as CC, CXX, CXXLD...


Even added in the configure step, it does not fix the issue.
./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

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


But then it can be seen that FLTK_LDFLAGS are not overridden:
find . -name Makefile -exec grep FLTK_LDFLAGS {} ;
There are plenty of

FLTK_LDFLAGS = -L/usr/lib64 -lfltk_gl -lGL -lfltk

config_opts = 
'--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' 'JAVA_HOME=/usr/lib64/jvm/jre'

Thanks again.

    _______________________________________________________

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]