[squeak-dev] Re: Still a bug with OpenGL ? Was {Re: Re: OpenGL in
4.1 or later?]
Bert Freudenberg
bert at freudenbergs.de
Mon Dec 19 15:14:14 UTC 2011
On 19.12.2011, at 16:05, Alexander Lazarević wrote:
> 2011/12/19 Bert Freudenberg <bert at freudenbergs.de>:
>> That file should be in /usr/lib - did you try?
>
> Sure (not only once). There is no such file. And other GL applications
> don't depend on it and do work.
>
>> It cannot work just with saying 'GL' because that requires a libGL.so symlink, which typically is only installed by the dev package.
>
> This won't work even if there is a file 'libGL.so.1' in /usr/lib,
> because the VM will not look in that directory (see previous mail)
> unless you explicitly ask for '/usr/lib/libGL.so.1'
>
> Alex
Okay, so the bug is that the VM tries to find "libGL.so.1" on its own, rather than simply calling dlopen() directly. I'm sure there was a reason for stat()ing first, but I thought that after trying the places, it would at least fall back to the obvious dlopen() call?
- Bert -
More information about the Squeak-dev
mailing list
|