Jump to content

cannot find the library `/usr/X11R6/lib/libGL.la'


spacezmonkey
 Share

Recommended Posts

i am new to linux...however, i would like to instal KlearDock. however, when i type in made after ./configure ..i receive this error message...

pls help..

thanks a lot

 

make all-recursive

make[1]: Entering directory `/home/yang/Desktop/kleardock-0.5'

Making all in src

make[2]: Entering directory `/home/yang/Desktop/kleardock-0.5/src'

/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o kleardock -R /usr/lib -R /usr/lib/qt3//lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt3//lib -L/usr/lib main.o kleardock.o item.o showdesktop.o kleardock.moc.o -lkdeui

libtool: link: cannot find the library `/usr/X11R6/lib/libGL.la'

make[2]: *** [kleardock] Error 1

make[2]: Leaving directory `/home/yang/Desktop/kleardock-0.5/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/yang/Desktop/kleardock-0.5'

make: *** [all] Error 2

Link to comment
Share on other sites

do you have nvidia? Could be a case of a symlink pointing to another gl that is not xfree's. In which case, the correct file is still there, nvidia just renamed it. So you have to redirect the symlink to the renamed file for install then rename the symlink back. The app won't know the diff once compiled and installed. The nvidia docs tell you all about the rename process.

Link to comment
Share on other sites

yeah i am using nvidia driver....i using search button and serach for the word /libGL.la

but i could not find it. so i type urpmf /usr/X11R6/lib/libGL.la in the console and searching for the file " libMesaGLU1-devel" ... is there any good rp, website where i can download it??

the rpmfind website i found does not have that file anymore :wall:

Link to comment
Share on other sites

yeah i am using nvidia driver....i using search button and serach for the word /libGL.la

but i could not find it. so i type  urpmf /usr/X11R6/lib/libGL.la in the console and searching for the file " libMesaGLU1-devel" ... is there any good rp, website where i can download it??

the rpmfind website i found does not have that file anymore  :wall:

Doesn't urpmi libMesaGLU1-devel work? If urpmf can give you the package name, that should do the job.

 

On my NV system, libGL.la is in /usr/lib, and appears to have been put there together with the NVIDIA drivers:

 

[rb@karoshi rb]$ ls -l /usr/lib/libGL*
lrwxrwxrwx  1 root root      21 Mar 31 15:42 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.5336*
-rwxr-xr-x  1 root root 4913084 Mar 31 15:42 /usr/lib/libGLcore.so.1.0.5336*
-rw-r--r--  1 root root     653 Mar 31 15:42 /usr/lib/libGL.la
lrwxrwxrwx  1 root root      10 Mar 31 15:42 /usr/lib/libGL.so -> libGL.so.1*
lrwxrwxrwx  1 root root      17 Mar 31 15:42 /usr/lib/libGL.so.1 -> libGL.so.1.0.5336*
-rwxr-xr-x  1 root root  367092 Mar 31 15:42 /usr/lib/libGL.so.1.0.5336*

(mark the date / time)

 

93,

-Sascha.rb

Link to comment
Share on other sites

this is my result when i type:

 

urpmf /usr/X11R6/lib/libGL.la

 

in my console...

...............................................

 

libMesaGLU1-devel:/usr/X11R6/lib/libGL.la

....................................................

so i just have to look for the libMesaGLU1-devel and install it is it?? and when i type

 

ls -l /usr/lib/libGL*

 

this is my result:

............................................................................

 

lrwxrwxrwx 1 root root 21 Apr 11 01:44 /usr/lib/libGLcore.so.1 -> libGLcor e.so.1.0.5336*

-rwxr-xr-x 1 root root 4913084 Apr 11 01:44 /usr/lib/libGLcore.so.1.0.5336*

-rw-r--r-- 1 root root 653 Apr 11 01:44 /usr/lib/libGL.la

lrwxrwxrwx 1 root root 10 Apr 11 01:44 /usr/lib/libGL.so -> libGL.so.1*

lrwxrwxrwx 1 root root 17 Apr 11 01:44 /usr/lib/libGL.so.1 -> libGL.so.1.0 .5336*

-rwxr-xr-x 1 root root 367092 Apr 11 01:44 /usr/lib/libGL.so.1.0.5336*

 

................................................................................

..........

Could be a case of a symlink pointing to another gl that is not xfree's. In which case, the correct file is still there, nvidia just renamed it. So you have to redirect the symlink to the renamed file for install then rename the symlink back

 

how could i do so??? sorry about it...i am very new to linux and doesnt really know wht to do about it....

:help:

Link to comment
Share on other sites

  • 4 weeks later...

hi!

i have the same problem but when i write:

[root@localhost boson-all-0.10]# urpmf /usr/X11R6/lib/libGL.la

libMesaGLU1-devel:/usr/X11R6/lib/libGL.la

[root@localhost boson-all-0.10]# urpmi libMesaGLU1-devel

viskas ir taip jau ?diegta (in english it means ??already installed??)

 

:help:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...