You are not logged in.

Version4

Beginner

  • "Version4" started this thread

Posts: 26

Location: Canada

Occupation: MASc Student

  • Send private message

1

Sunday, February 22nd 2004, 5:14pm

Arts don't compile

Hello there, I'm having some problems compiling Arts. It appears to complain about not finding libGL.so in /usr/lib/ but I know for a fact that it is there, or at least a link. When I see it in the file manager a lock icon appears with the libGL.so icon. I thought it was a permissions problem but when I try to change permissions (logged in as root) the permissions tab is grayed out and if I try to do it (as su) in the console, I get the following message:

chmod: failed to get attributes of `libGL.so': No such file or directory

even when the file is there. Here is the output of the compilation log, maybe you can shed some light into it...

/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -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 -ftemplate-depth-99 -o libqtmcop.la -rpath /home/share/kde-unstable/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 1:0 -R /home/share/kde-unstable/lib -R /home/share/src/kde/qt-copy/lib -R /usr/X11R6/lib -L/home/share/src/kde/qt-copy/lib -L/usr/X11R6/lib qiomanager.lo ../mcop/libmcop.la -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread
g++: /usr/lib/libGL.so: No such file or directory
make[2]: *** [libqtmcop.la] Error 1
make[2]: Leaving directory `/home/share/src/kde/build/arts/qtmcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/share/src/kde/build/arts'
make: *** [all] Error 2

The file appears to be totally locked out.
Any help would be appreciated. Thanx in advanced.

PS: running SuSE 9.0

LJ

2

Thursday, February 26th 2004, 4:51am

libGL.so might be a link to some other file so check if the file it links to is present.

3

Thursday, February 26th 2004, 4:27pm

Chech what libGL.so file exist.

Maybe the file is corrupt or damaged, I think the file is part of Mesa3D software. Reinstall Mesa3D and try again.

Version4

Beginner

  • "Version4" started this thread

Posts: 26

Location: Canada

Occupation: MASc Student

  • Send private message

4

Thursday, February 26th 2004, 5:54pm

The file does exist, and it is also in the directory the makefile (or configure file) is looking in, what I'm thinking is maybe it has something to do with the nVidia drivers. Even logged on as root I can't seem to be able to do anything to the file. This is the output of a chmod with root:

chmod: failed to get attributes of `libGL.so': No such file or directory

even if the file is physically there.... any other sugestions? I'm running out of ideas short of reinstalling SuSE 9.0 and compiling without the nVidia drivers installed...

5

Thursday, February 26th 2004, 11:59pm

First thing did you try chmod operation as root? If it is still giving the same error file not found it must mean that the file that libGL.so points to does not exist. check that??. If the linked file is also present check permissions for the file .If nothing works try to remove libGL.so and link the file properly again and see if that solves the problem.
Regarding the nvidia drivers, it install libGL.so but you should be able to compile with nvidia's version of the file. I have nvidia's drivers and i never get an error trying to link to libGL.so. If that is a problem you can always link libGL.so and libGL.so.1 to vendor supplied (in your case suse's version) of the file which will be present in /usr/lib

P.S. --- libGL.so is always a link to another file. Like on my redhat system libGL.so points to libGL.so.1 which in turn points to libGL.so.1.2. If you install nvidia drivers libGL.so will point to libGL.so.1 which will point to libGL.so.1.0.5328 (for the version of nvidia driver)