/bin/ld: cannot find -lGL[SOLVED]

Не собирается libdrm-2.4.17, а также gnome-keyring-2.28.2, и др. пакеты.

Лог сборки libdrm

Making all in tests
make[2]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/tests'
Making all in modeprint
make[3]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/tests/modeprint'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..    -I../../include/drm -I../../intel/ -I../.. -O2 -march=athlon-xp -pipe -MT modeprint.o -MD -MP -MF .deps/modeprint.Tpo -c -o modeprint.o modeprint.c
modeprint.c: п’ я„яѓпЅпєя†пёпё БЂ˜printConnectorБЂ™:
modeprint.c:172: п№яЂпµпЄяѓп№яЂпµп¶пЄпµпЅпёпµ: пЅпµяЃпѕпІпјпµяЃя‚пёпјя‹п№ я‚пёп№ яѓпєпњпЇпњя‚пµп»яЏ пІ п№яЂпёяЃпІпњпёпІпњпЅпёпё
mv -f .deps/modeprint.Tpo .deps/modeprint.Po
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -I../../include/drm -I../../intel/ -I../.. -O2 -march=athlon-xp -pipe  -Wl,-O1 -o modeprint modeprint.o ../../libdrm.la ../../intel/libdrm_intel.la 
libtool: link: i686-pc-linux-gnu-gcc -I../../include/drm -I../../intel/ -I../.. -O2 -march=athlon-xp -pipe -Wl,-O1 -o .libs/modeprint modeprint.o  ../../.libs/libdrm.so ../../intel/.libs/libdrm_intel.so /var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/.libs/libdrm.so -lrt
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/tests/modeprint'
Making all in modetest
make[3]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/tests/modetest'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..    -I../../include/drm -I../../intel/ -I../.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -O2 -march=athlon-xp -pipe -MT modetest.o -MD -MP -MF .deps/modetest.Tpo -c -o modetest.o modetest.c
modetest.c: п’ я„яѓпЅпєя†пёпё БЂ˜dump_framebuffersБЂ™:
modetest.c:260: п№яЂпµпЄяѓп№яЂпµп¶пЄпµпЅпёпµ: пЅпµпЄпѕяЃя‚пњя‚пѕя‡пЅпѕ пњяЂпЁяѓпјпµпЅя‚пѕпІ пЄп»яЏ яѓпєпњпЇпњпЅпЅпѕпЁпѕ я„пѕяЂпјпњя‚пњ
modetest.c: п’ я„яѓпЅпєя†пёпё БЂ˜page_flipping_supportedБЂ™:
modetest.c:679: п№яЂпµпЄяѓп№яЂпµп¶пЄпµпЅпёпµ: п№яЂпё пІпѕпЇпІяЂпњя‚пµ яЂпµпЇяѓп»яЊя‚пњя‚пњ яѓпєпњпЇпњя‚пµп»яЊ п№яЂпµпѕп±яЂпњпЇяѓпµя‚яЃяЏ пІ я†пµп»пѕпµ п±пµпЇ п№яЂпёпІпµпЄпµпЅпёяЏ я‚пёп№пњ
modetest.c: п’ я„яѓпЅпєя†пёпё БЂ˜mainБЂ™:
modetest.c:718: п№яЂпµпЄяѓп№яЂпµп¶пЄпµпЅпёпµ: я„пѕяЂпјпњя‚ БЂ˜%64sБЂ™ п№яЂпµпЄп№пѕп»пњпЁпњпµя‚ я‚пёп№ БЂ˜char *БЂ™, пЅпѕ пњяЂпЁяѓпјпµпЅя‚ 4 пёпјпµпµя‚ я‚пёп№ БЂ˜char (*)[64]БЂ™
modetest.c:722: п№яЂпµпЄяѓп№яЂпµп¶пЄпµпЅпёпµ: я„пѕяЂпјпњя‚ БЂ˜%64sБЂ™ п№яЂпµпЄп№пѕп»пњпЁпњпµя‚ я‚пёп№ БЂ˜char *БЂ™, пЅпѕ пњяЂпЁяѓпјпµпЅя‚ 5 пёпјпµпµя‚ я‚пёп№ БЂ˜char (*)[64]БЂ™
mv -f .deps/modetest.Tpo .deps/modetest.Po
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -I../../include/drm -I../../intel/ -I../.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -O2 -march=athlon-xp -pipe  -Wl,-O1 -o modetest modetest.o ../../libdrm.la ../../intel/libdrm_intel.la -lcairo   
libtool: link: i686-pc-linux-gnu-gcc -I../../include/drm -I../../intel/ -I../.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -O2 -march=athlon-xp -pipe -Wl,-O1 -o .libs/modetest modetest.o  ../../.libs/libdrm.so ../../intel/.libs/libdrm_intel.so /var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/.libs/libdrm.so -lrt /usr/lib/libcairo.so -L/usr/lib /usr/lib/libpixman-1.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so /usr/lib/libglitz-glx.so -lGL -lpthread /usr/lib/libglitz.so /usr/lib/libpng12.so /usr/lib/libxcb-render-util.so /usr/lib/libxcb-render.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl -lz -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [modetest] п·я€пёп±пєпњ 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/tests/modetest'
make[2]: *** [all-recursive] п·я€пёп±пєпњ 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17/tests'
make[1]: *** [all-recursive] п·я€пёп±пєпњ 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17'
make: *** [all] п·я€пёп±пєпњ 2
 * ERROR: x11-libs/libdrm-2.4.17 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3190:  Called x-modular_src_compile
 *   environment, line 4010:  Called x-modular_src_make
 *   environment, line 4048:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/libdrm-2.4.17',
 * the complete build log and the output of 'emerge -pqv =x11-libs/libdrm-2.4.17'.
 * The complete build log is located at '/var/tmp/portage/x11-libs/libdrm-2.4.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libdrm-2.4.17/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/libdrm-2.4.17/work/libdrm-2.4.17'

Может дело в mesa? Думал что проблемы с видеодрайвером xf86-video-ati, откатал старый но ничего не изменилось, при сборке нового, emerge начинаетс с сборки libdrm. В чем праблы?

То, что касается сборки

То, что касается сборки x11-libs/libdrm:

emerge x11-proto/glproto

Я Gentoo & Funtoo

Спасибо попробую, ато так не

Спасибо попробую, ато так не хотелось мир пересобирать.

Lupo Alberto написал(а): То,

Lupo Alberto написал(а):
То, что касается сборки x11-libs/libdrm:
emerge x11-proto/glproto

Лучше так
emerge --oneshot x11-proto/glproto

Working on Gentoo Linux for Asus P535 and Qtopia :-)

$ eselect opengl list

eselect opengl list

Закрыто

eselect opengl list

Там только xorg-x11
Решено пересборкой x11-proto/glproto

Закрыто. =)Решено

Закрыто. =)
Решено пересборкой x11-proto/glproto

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".