[SOLVED] libGL.so.1's debug package?

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] libGL.so.1's debug package?

Postby jtmh » Jul 31st, '11, 23:02

Hello, All,

I'm running Mageia 1 (i586) installed using the Live CD. I encountered KWin crashes lately and reported the bug to the KDE upstream. To provide a good backtrace, I need to install some debug packages. The problem is that I can't find the debug package for libGL.so.1. If I am not wrong, the debug package should be libmesagl1-debug. However, I can't find that. Any ideas?

Regards,
jtmh
Last edited by jtmh on Mar 25th, '12, 11:26, edited 1 time in total.
jtmh
 
Posts: 29
Joined: Jul 27th, '11, 22:23
Location: Taiwan

Re: libGL.so.1's debug package?

Postby mikala » Aug 1st, '11, 04:55

You can follow this to know which -debug files to install:
1) first search for the package name
Code: Select all
mikala@hatmehyt [~] % urpmf --files libGL.so.1                                                                         
libmesagl1:/usr/lib/libGL.so.1                                                                                                                                                         
libmesagl1:/usr/lib/libGL.so.1.2                                                                                                                                                       
libmesagl1:/usr/lib/mesa/libGL.so.1                                                                                                                                                     
libmesagl1:/usr/lib/mesa/libGL.so.1.2                                                                                                                                                   
x11-driver-video-fglrx:/usr/lib/fglrx/libGL.so.1                                                                                                                                       
x11-driver-video-fglrx:/usr/lib/fglrx/libGL.so.1.2                                                                                                                                     
x11-driver-video-nvidia96xx:/usr/lib/nvidia96xx/libGL.so.1                                                                                                                             
x11-driver-video-nvidia173:/usr/lib/nvidia173/libGL.so.1                                                                                                                               
x11-driver-video-nvidia173:/usr/lib/nvidia173/libGL.so.173.14.30                                                                                                                       
x11-driver-video-nvidia-current:/usr/lib/nvidia-current/libGL.so.1                                                                                                                     
x11-driver-video-nvidia-current:/usr/lib/nvidia-current/libGL.so.1                                                                                                                     

Now let's imagine the libGL.so.1 in cause is the one provided by libmesagl1 (that's mean you're not using fglrx or nvidia drivers)
you can get the name of the src.rpm using this
Code: Select all
mikala@hatmehyt  [~] % urpmq -i libmesagl1                                                                             
Name        : libmesagl1                                                                                                                                                               
Version     : 7.10.2                                                                                                                                                                   
Release     : 4.mga1                                                                                                                                                                   
Group       : System/Libraries                                                                                                                                                         
Size        : 843629                       Architecture: i586                                                                                                                           
Source RPM  : mesa-7.10.2-4.mga1.src.rpm     Build Host: jonund                                                                                                                         
Packager    : Mageia Team <http://www.mageia.org>                                                                                                                                       
URL         : http://www.mesa3d.org                                                                                                                                                     
Summary     : Files for Mesa (GL and GLX libs)                                                                                                                                         
Description :                                                                                                                                                                           
Mesa is an OpenGL 2.1 compatible 3D graphics library.                                                                                                                                   
GL and GLX parts.                           


You can now find the debug package name by adding -debug to the source rpm name here mesa-7.10.2-4.mga1.src.rpm
so the debug package is
Code: Select all
urpmq -i mesa-debug  --media  "Core Release Debug"                                               
Name        : mesa-debug                                                                                                                                                               
Version     : 7.10.2                                                                                                                                                                   
Release     : 4.mga1                                                                                                                                                                   
Group       : Development/Debug                                                                                                                                                         
Size        : 272324397                    Architecture: i586                                                                                                                           
Source RPM  : mesa-7.10.2-4.mga1.src.rpm     Build Host: jonund                                                                                                                         
Packager    : Mageia Team <http://www.mageia.org>                                                                                                                                       
URL         : http://www.mesa3d.org                                                                                                                                                     
Summary     : Debug information for package mesa                                                                                                                                       
Description :                                                                                                                                                                           
This package provides debug information for package mesa.                                                                                                                               
Debug information is useful when developing applications that use this                                                                                                                 
package or when debugging this package.                         

Please note that you need to enable debug package in order to install them
you can do this using
Code: Select all
urpmi.update --no-ignore "Core Release Debug"

to enable for example -debug package for Core Release
mikala
 
Posts: 114
Joined: Mar 16th, '11, 20:42
Location: French Guiana

Re: libGL.so.1's debug package?

Postby jtmh » Aug 1st, '11, 17:07

Thanks a lot for your detailed reply, mikala. That's really of great help to me. Thank you again. :-)
jtmh
 
Posts: 29
Joined: Jul 27th, '11, 22:23
Location: Taiwan


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest