The old shared library error

OpenSuse 11.2 64bit Bricsysv10 Cad Software

Hi, a short while back I loaded bricscad on this system and posted about its success. This time however - not so lucky. I have struck problem with their latest release candidate.

/opt/bricsys/bricscad/v10/bricscad: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory.

A search for this library shows

:~> locate libGLU.so.1
/usr/lib64/libGLU.so.1
/usr/lib64/libGLU.so.1.3.070600

But creating a symlink to /usr/lib is not working : (

:~> bricscadv10
/opt/bricsys/bricscad/v10/bricscad: error while loading shared libraries: libGLU.so.1: wrong ELF class: ELFCLASS64

The reason for the earlier version working and this one not working may be due to the Nvidia driver which I updated recently… not sure. My nvidia repo lists
http://download.nvidia.com/opensuse/11.2/download.nvidia.com. for the driver.

Any ideas ?

cabernet wrote:

>
> /opt/bricsys/bricscad/v10/bricscad: error while loading shared
> libraries: libGLU.so.1: wrong ELF class: ELFCLASS64
>
This error means that the program needs a 32 bit libGLU. If you have the
nvidia driver installed you should have a folder /usr/X11R6/lib and a folder
/usr/X11R6/lib64

Make your sym link to the libGL.so.1 in the lib folder not the lib64 folder.


openSUSE 11.2 64 bit | Intel Core2 Quad Q8300@2.50GHz | Gnome 2.28 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | Gnome 2.30 | Quadro
FX 3600M | 4GB Ram

Cheers, your suggestion worked well.

xxxx-utjn:/usr/lib> ls -la | grep libGLU
lrwxrwxrwx 1 root root 25 2010-09-07 07:41 libGLU.so.1 -> /usr/X11R6/lib/libGL.so.1
xxxx-utjn:/usr/lib>