[sage-support] Re: External viewer

2016-01-07 Thread Volker Braun
Oh yes, this is Sage-6.10. Your system libstdc++.so is incompatible with 
the one from gcc bundled in Sage. Starting with Sage-7 we don't use 
LD_LIBRARY_PATH any more, this will solve your problem.



On Thursday, January 7, 2016 at 7:33:48 PM UTC+1, Robert Samal wrote:
>
> With pleasure!
>
> PATH's: 
>
> samal@kamkoliv:~$ sage -sh -c env | grep PATH
> SAGE_ORIG_LD_LIBRARY_PATH_SET=True
> LIBRARY_PATH=/home/samal/local/SageMath/local/lib:/usr/lib/x86_64-linux-gnu
>
> SAGE_ORIG_PATH=/home/samal/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
>
> LD_LIBRARY_PATH=/home/samal/local/SageMath/local/lib:/home/samal/local/SageMath/local/lib64:/home/samal/local/SageMath/local/lib/R/lib
>
> CPATH=/home/samal/local/SageMath/local/include:/usr/include/x86_64-linux-gnu
> DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
>
> PATH=/home/samal/local/SageMath/build/bin:/home/samal/local/SageMath/src/bin:/home/samal/local/SageMath/local/bin:/home/samal/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
> SAGE_ORIG_PATH_SET=True
>
> PYTHONPATH=/home/samal/local/SageMath/local/lib/python:/home/samal/local/SageMath/local/lib/python/site_packages
> SAGE_ORIG_LD_LIBRARY_PATH=
> WINDOWPATH=2
> SINGULARPATH=/home/samal/local/SageMath/local/share/singular
> GIT_EXEC_PATH=/home/samal/local/SageMath/local/libexec/git-core
>
> linking: 
>
> samal@kamkoliv:~$ sage -sh ldd /usr/bin/eog
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `CXXABI_1.3.9' not found (required by 
> /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `GLIBCXX_3.4.21' not found (required by 
> /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `CXXABI_1.3.9' not found (required by 
> /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `GLIBCXX_3.4.21' not found (required by 
> /usr/lib/x86_64-linux-gnu/libmircommon.so.5)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `CXXABI_1.3.9' not found (required by 
> /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `GLIBCXX_3.4.21' not found (required by 
> /usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `GLIBCXX_3.4.21' not found (required by 
> /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `GLIBCXX_3.4.21' not found (required by 
> /usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9)
> /usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
> version `GLIBCXX_3.4.21' not found (required by 
> /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0)
> linux-vdso.so.1 =>  (0x7ffe63d4)
> libeog.so => /usr/lib/eog/libeog.so (0x7f628d7f8000)
> libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 
> (0x7f628cf08000)
> libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 
> (0x7f628cb87000)
> libgirepository-1.0.so.1 => 
> /usr/lib/x86_64-linux-gnu/libgirepository-1.0.so.1 (0x7f628c953000)
> libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 
> (0x7f628c70)
> libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 
> (0x7f628c3f1000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> (0x7f628c1d3000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f628be09000)
> libgnome-desktop-3.so.10 => 
> /usr/lib/x86_64-linux-gnu/libgnome-desktop-3.so.10 (0x7f628bbce000)
> libpeas-gtk-1.0.so.0 => /usr/lib64/libpeas-gtk-1.0.so.0 
> (0x7f628b9c)
> libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 
> (0x7f628b6ec000)
> libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 
> (0x7f628b4c7000)
> libpeas-1.0.so.0 => /usr/lib64/libpeas-1.0.so.0 (0x7f628b2b2000)
> libexif.so.12 => /usr/lib/x86_64-linux-gnu/libexif.so.12 
> (0x7f628b06e000)
> liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 
> (0x7f628ae17000)
> libexempi.so.3 => /usr/lib/x86_64-linux-gnu/libexempi.so.3 
> (0x7f628aadc000)
> librsvg-2.so.2 => /usr/lib/x86_64-linux-gnu/librsvg-2.so.2 
> (0x7f628a8a6000)
> libgdk_pixbuf-2.0.so.0 => 
> /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x7f628a684000)
> libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 
> (0x7f628a371000)
> libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 
> (0x7f628a11c000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f6289e14000)
> libX11.so.6 => /usr/lib/x86

[sage-support] Re: External viewer

2016-01-07 Thread Robert Samal
With pleasure!

PATH's: 

samal@kamkoliv:~$ sage -sh -c env | grep PATH
SAGE_ORIG_LD_LIBRARY_PATH_SET=True
LIBRARY_PATH=/home/samal/local/SageMath/local/lib:/usr/lib/x86_64-linux-gnu
SAGE_ORIG_PATH=/home/samal/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
LD_LIBRARY_PATH=/home/samal/local/SageMath/local/lib:/home/samal/local/SageMath/local/lib64:/home/samal/local/SageMath/local/lib/R/lib
CPATH=/home/samal/local/SageMath/local/include:/usr/include/x86_64-linux-gnu
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
PATH=/home/samal/local/SageMath/build/bin:/home/samal/local/SageMath/src/bin:/home/samal/local/SageMath/local/bin:/home/samal/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
SAGE_ORIG_PATH_SET=True
PYTHONPATH=/home/samal/local/SageMath/local/lib/python:/home/samal/local/SageMath/local/lib/python/site_packages
SAGE_ORIG_LD_LIBRARY_PATH=
WINDOWPATH=2
SINGULARPATH=/home/samal/local/SageMath/local/share/singular
GIT_EXEC_PATH=/home/samal/local/SageMath/local/libexec/git-core

linking: 

samal@kamkoliv:~$ sage -sh ldd /usr/bin/eog
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `CXXABI_1.3.9' not found (required by 
/usr/lib/x86_64-linux-gnu/libmirclient.so.9)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `GLIBCXX_3.4.21' not found (required by 
/usr/lib/x86_64-linux-gnu/libmirclient.so.9)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `CXXABI_1.3.9' not found (required by 
/usr/lib/x86_64-linux-gnu/libmircommon.so.5)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `GLIBCXX_3.4.21' not found (required by 
/usr/lib/x86_64-linux-gnu/libmircommon.so.5)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `CXXABI_1.3.9' not found (required by 
/usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `GLIBCXX_3.4.21' not found (required by 
/usr/lib/x86_64-linux-gnu/libmirprotobuf.so.3)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `GLIBCXX_3.4.21' not found (required by 
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `GLIBCXX_3.4.21' not found (required by 
/usr/lib/x86_64-linux-gnu/libprotobuf-lite.so.9)
/usr/bin/eog: /home/samal/local/SageMath/local/lib64/libstdc++.so.6: 
version `GLIBCXX_3.4.21' not found (required by 
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0)
linux-vdso.so.1 =>  (0x7ffe63d4)
libeog.so => /usr/lib/eog/libeog.so (0x7f628d7f8000)
libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 
(0x7f628cf08000)
libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 
(0x7f628cb87000)
libgirepository-1.0.so.1 => 
/usr/lib/x86_64-linux-gnu/libgirepository-1.0.so.1 (0x7f628c953000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 
(0x7f628c70)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 
(0x7f628c3f1000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f628c1d3000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f628be09000)
libgnome-desktop-3.so.10 => 
/usr/lib/x86_64-linux-gnu/libgnome-desktop-3.so.10 (0x7f628bbce000)
libpeas-gtk-1.0.so.0 => /usr/lib64/libpeas-gtk-1.0.so.0 
(0x7f628b9c)
libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 
(0x7f628b6ec000)
libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 
(0x7f628b4c7000)
libpeas-1.0.so.0 => /usr/lib64/libpeas-1.0.so.0 (0x7f628b2b2000)
libexif.so.12 => /usr/lib/x86_64-linux-gnu/libexif.so.12 
(0x7f628b06e000)
liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 
(0x7f628ae17000)
libexempi.so.3 => /usr/lib/x86_64-linux-gnu/libexempi.so.3 
(0x7f628aadc000)
librsvg-2.so.2 => /usr/lib/x86_64-linux-gnu/librsvg-2.so.2 
(0x7f628a8a6000)
libgdk_pixbuf-2.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x7f628a684000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 
(0x7f628a371000)
libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 
(0x7f628a11c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f6289e14000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 
(0x7f6289ada000)
libz.so.1 => /home/samal/local/SageMath/local/lib/libz.so.1 
(0x7f62898c)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 
(0x7f62896bc000)
libpangocairo-1.0.so.0 => 
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x7f62894af000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x7f628929f000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfi