Hello,

On Tue, Nov 13, 2012 at 1:06 PM, robotspace.biz <[email protected]>wrote:

> Hi Jordi,
>
> That's great. I believe you find the issue I encountered.
> Following is my check result.
> *env | grep -in libgl*
> 14:LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
> That means no variable pointing to my libGL drivers. I checked /usr/lib
> directory and there is no libGL.so file.
>

There isn't supposed to be a variable pointing to the drivers. The
LD_PRELOAD is a non-standard hack.
The fglrx driver libraries are under /usr/lib/fglrx I think and the actual
libGL.so.x.x is probably in one of the sub-directories. Look also in
/usr/lib/X11.


> Is your OS is ubuntu too? Is ligGL.so is a link file or a real lib file?
>

There should be actually both. The versioned libGL.so.x.x and non-versioned
symlinks libGL.so pointing to the versioned one.


>
> Here is my search command: sudo apt-cache search libgl. It is hard to
> select correct library from more than twenty libraries to install.
>
> BTW, libGL is an runtime lib? Should I re-configure-compile-install osg
> after I set LD_PRELOAD?


OSG wouldn't compile correctly if you didn't have the libraries installed.
However, do make sure that you don't have a messed up installation, linking
OSG to e.g. the libGL from Mesa (software driver). That wouldn't work right.

Please make sure to follow these instructions and install the driver
properly:
https://help.ubuntu.com/community/BinaryDriverHowto/ATI

The part "2. Installation via the Ubuntu repositories" should be sufficient.

Regards,

Jan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to