LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-29-2006, 08:52 AM   #1
Mistreated
Member
 
Registered: Aug 2004
Location: Latvia, Riga
Distribution: Gentoo
Posts: 109

Rep: Reputation: 15
libGL.so not found when compiling amarok [SOLVED]


Hi!
I'm using Gentoo and when i was trying to update amarok to version media-sound/amarok-1.4.4-r3 the compilation failed with the following error:
Code:
#emerge amarok
*****************
some output
*****************
i686-pc-linux-gnu-g++: /usr/lib/libGL.so: No such file or directory
make[4]: *** [libamarok.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.4-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  amarok-1.4.4-r3.ebuild, line 72:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
I searched for the libGL.so and created a symbolic link to what i found:
Code:
#slocate libGL.so
/usr/lib/opengl/nvidia/lib/libGL.so.1.0.8776
/usr/lib/opengl/nvidia/lib/libGL.so
/usr/lib/opengl/nvidia/lib/libGL.so.1
/usr/lib/libGL.so.1.0.8762
/usr/lib/libGL.so.1
#ln -s /usr/lib/opengl/nvidia/lib/libGL.so /usr/lib/libGL.so
Then i tried to emerge amarok again and got another error:
Code:
#emerge amarok
*****************
some output
*****************
/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o amarokapp -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib main.o ../../amarok/src/amarokcore/libamarokcore.la libamarok.la ../../amarok/src/analyzers/libanalyzers.la ../../amarok/src/plugin/libplugin.la ../../amarok/src/statusbar/libstatusbar.la ../../amarok/src/metadata/libmetadata.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -L/usr/lib -ltag -lGL  ../../amarok/src/sqlite/libsqlite.la
/usr/lib/libGL.so: undefined reference to `_nv001215gl'
/usr/lib/libGL.so: undefined reference to `_nv001213gl'
/usr/lib/libGL.so: undefined reference to `_nv001214gl'
/usr/lib/libGL.so: undefined reference to `_nv001212gl'
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r3/work/amarok-1.4.4'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.4-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  amarok-1.4.4-r3.ebuild, line 72:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
That's strange, because i had no problems with libGL.so before, and previous version of amarok emerged without any problems. Also tried to update nvidia-drivers, but i'm already using the latest stable version.

Did someone experienced common problem?

Last edited by Mistreated; 12-31-2006 at 06:09 AM.
 
Old 12-29-2006, 01:43 PM   #2
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
its a pretty big mess to try to compile against nvidia libs
try making that link to a X11 openGL library or GLU or something.
then after the compile take the link away.
nvidia libs are compatable.
 
Old 12-31-2006, 06:04 AM   #3
Mistreated
Member
 
Registered: Aug 2004
Location: Latvia, Riga
Distribution: Gentoo
Posts: 109

Original Poster
Rep: Reputation: 15
The problem was that i had no other libGL to choose. I have updated the mesa package, it provide the new libGL and linked /usr/lib/libGL to /usr/lib/opengl/xorg-x11/lib/libGL.so.
That solved the problem amarok merged without any errors!
Many thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Amarok-1.4.2 on FC4 gnjunior Fedora 4 08-27-2006 08:02 PM
problems compiling amarok chrisyc Suse/Novell 10 12-21-2005 01:01 PM
Problems compiling amarok ernesto_cgf Mandriva 6 12-04-2004 07:52 PM
libgl.la not found rdoucet Mandriva 10 03-25-2004 07:39 PM
installing libquicktime: libGL.la not found Y0jiMb0 Linux - Software 4 11-13-2003 09:06 AM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration