Bug#795167: libgl1-mesa-glx: libGL.so.1 cannot be found

2015-08-11 Thread Axel VITTECOQ
Package: libgl1-mesa-glx
Version: 10.6.3-1
Severity: important

Hello,

I did an aptitude upgrade yetserday
and got:

Will install 527 packages, and remove 10 packages.
257 MB of disk space will be used

ok, so did it. seems it had some major changes like:
[INSTALL, DEPENDENCIES] linux-image-4.0.0-2-amd64:amd64
and also
[UPGRADE] libgl1-mesa-dri:amd64 10.5.8-1 - 10.6.3-1
[UPGRADE] libgl1-mesa-dri:i386 10.5.8-1 - 10.6.3-1
[UPGRADE] libgl1-mesa-glx:amd64 10.5.8-1 - 10.6.3-1
[UPGRADE] libgl1-mesa-glx:i386 10.5.8-1 - 10.6.3-1

Today, gdm3 was broken, no X
looking in Xserver logs, I found:
/var/log/Xorg.5.log.old:[  1148.396] (EE) Failed to load 
/usr/lib/xorg/modules/extensions/libglx.so: libGL.so.1: cannot open shared 
object file: No such file or directory
/var/log/Xorg.5.log.old:[  1148.396] (EE) Failed to load module glx (loader 
failed, 7)

tried reinstalling the package.
the file was here:

$ sudo find /usr -name libGL.so.1
/usr/lib/xorg/modules/extensions/libGL.so.1
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
/usr/lib/i386-linux-gnu/libGL.so.1
/usr/lib/i386-linux-gnu/fglrx/libGL.so.1


I ended by doing
ln -s /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 /usr/lib/libGL.so.1

that solved the problem.
it seems a bit dirty

what is the real problem and how can it be fixed cleanly ?

thanks !


-- Package-specific info:
glxinfo:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile, 
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, 
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile, 
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile, 
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, 
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.3
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth, 
GL_AMD_draw_buffers_blend, GL_AMD_seamless_cubemap_per_texture, 
GL_AMD_shader_trinary_minmax, GL_AMD_vertex_shader_layer, 
GL_AMD_vertex_shader_viewport_index, GL_ANGLE_texture_compression_dxt3, 
GL_ANGLE_texture_compression_dxt5, GL_APPLE_object_purgeable, 
GL_ARB_ES2_compatibility, GL_ARB_ES3_compatibility, GL_ARB_base_instance, 
GL_ARB_blend_func_extended, GL_ARB_buffer_storage, 
GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, 
GL_ARB_compressed_texture_pixel_storage, 
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_debug_output, 
GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_derivative_control, 
GL_ARB_direct_state_access, GL_ARB_draw_buffers, 

Bug#795167: libgl1-mesa-glx: libGL.so.1 cannot be found

2015-08-11 Thread Axel Vittecoq
Hello,

Dunno why I have such package (AMD related) installed because my graphics
are Intel based.

(strange because only i386 versions were installed)

according to your hints,

I did

Aptitude 0.6.11: log report
 Tue, Aug 11 2015 18:15:00 +0200
 IMPORTANT: this log only lists intended actions; actions which fail due to
 dpkg problems may not be completed.
 Will install 0 packages, and remove 3 packages.
 66.2 MB of disk space will be freed

 ===
 [REMOVE, DEPENDENCIES] libfglrx-amdxvba1:i386
 [REMOVE, DEPENDENCIES] libgl1-fglrx-glx:i386
 [REMOVE] libfglrx:i386

 ===
 Log complete.
 Aptitude 0.6.11: log report
 Tue, Aug 11 2015 18:16:14 +0200
 IMPORTANT: this log only lists intended actions; actions which fail due to
 dpkg problems may not be completed.
 Will install 0 packages, and remove 3 packages.
 32.8 kB of disk space will be freed

 ===
 [REMOVE, DEPENDENCIES] glx-alternative-fglrx:i386
 [REMOVE, DEPENDENCIES] glx-alternative-mesa:i386
 [REMOVE] glx-diversions:i386

 ===
 Log complete.
 Aptitude 0.6.11: log report
 Tue, Aug 11 2015 18:17:13 +0200
 IMPORTANT: this log only lists intended actions; actions which fail due to
 dpkg problems may not be completed.
 Will install 2 packages, and remove 0 packages.

 ===
 [REINSTALL] libgl1-mesa-glx:amd64
 [REINSTALL] libgl1-mesa-glx:i386

 ===
 Log complete.



removed /usr/lib/libGL.so.1  that i manually symlinked.
rebooted.

everything is fine now !

thanks ;)



(in attachment: logs you asked. just in case.)


2015-08-11 12:03 GMT+02:00 Julien Cristau jcris...@debian.org:

 On Tue, Aug 11, 2015 at 12:02:09 +0200, Julien Cristau wrote:

  Control: tag -1 moreinfo
 
  On Tue, Aug 11, 2015 at 11:55:11 +0200, Axel VITTECOQ wrote:
 
   Package: libgl1-mesa-glx
   Version: 10.6.3-1
   Severity: important
  
   Hello,
  
   I did an aptitude upgrade yetserday
   and got:
  
   Will install 527 packages, and remove 10 packages.
   257 MB of disk space will be used
  
   ok, so did it. seems it had some major changes like:
   [INSTALL, DEPENDENCIES] linux-image-4.0.0-2-amd64:amd64
   and also
   [UPGRADE] libgl1-mesa-dri:amd64 10.5.8-1 - 10.6.3-1
   [UPGRADE] libgl1-mesa-dri:i386 10.5.8-1 - 10.6.3-1
   [UPGRADE] libgl1-mesa-glx:amd64 10.5.8-1 - 10.6.3-1
   [UPGRADE] libgl1-mesa-glx:i386 10.5.8-1 - 10.6.3-1
  
   Today, gdm3 was broken, no X
   looking in Xserver logs, I found:
   /var/log/Xorg.5.log.old:[  1148.396] (EE) Failed to load
 /usr/lib/xorg/modules/extensions/libglx.so: libGL.so.1: cannot open shared
 object file: No such file or directory
   /var/log/Xorg.5.log.old:[  1148.396] (EE) Failed to load module glx
 (loader failed, 7)
  
   tried reinstalling the package.
   the file was here:
  
   $ sudo find /usr -name libGL.so.1
   /usr/lib/xorg/modules/extensions/libGL.so.1
   /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
   /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
   /usr/lib/i386-linux-gnu/libGL.so.1
   /usr/lib/i386-linux-gnu/fglrx/libGL.so.1
  

 Also, we don't support fglrx, once you install that all bets are off.

 Cheers,
 Julien




-- 
 Axel VITTECOQ
 06 86 34 82 20


aptitude
Description: Binary data
[  1560.962] 
X.Org X Server 1.17.2
Release Date: 2015-06-16
[  1560.962] X Protocol Version 11, Revision 0
[  1560.962] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[  1560.962] Current Operating System: Linux axel 4.1.0-1-amd64 #1 SMP Debian 4.1.3-1 (2015-08-03) x86_64
[  1560.962] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.1.0-1-amd64 root=/dev/mapper/vg-root ro quiet
[  1560.962] Build Date: 01 July 2015  05:17:14PM
[  1560.962] xorg-server 2:1.17.2-1 (http://www.debian.org/support) 
[  1560.962] Current version of pixman: 0.32.6
[  1560.962] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1560.962] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1560.962] (==) Log file: /var/log/Xorg.1.log, Time: Tue Aug 11 11:13:10 2015
[  1560.962] (==) Using system config directory /usr/share/X11/xorg.conf.d
[  1560.962] (==) No Layout section.  Using the first Screen section.
[  1560.962] (==) No screen section available. Using defaults.
[  1560.962] (**) |--Screen Default Screen Section (0)
[  1560.962] (**) |   |--Monitor default monitor
[  1560.962] (==) No monitor specified for screen Default Screen Section.
	Using a default monitor configuration.
[  1560.962] (==) Automatically