[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT + glXGetProcAddress
- From: Henk Boom <henk@...>
- Date: Fri, 16 Mar 2012 00:20:47 -0400
On 2012-03-15, Miles Bader <miles@gnu.org> wrote:
> Henk Boom <henk@henk.ca> writes:
>> henk@invincible-spell:~$ lsof | grep 'luajit.*GL'
>> luajit 2529 henk mem REG 8,5 372400
>> 266276 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2
>> luajit 2529 henk mem REG 8,5 1025968
>> 12016 /usr/lib/nvidia-current-updates/libGL.so.280.13
>>
>> Why would the luajit ffi be using a different library than the
>> linker/loader?
>
> Presumably luajit searches for libraries in "normal" locations.
>
> Did you pass in "-L" options pointing to non-standard locations when
> linking? Or maybe your system has some non-standard locations in
> /etc/ld.so.{conf,cache}...
>
> Maybe try: /sbin/ldconfig -p |grep libGL.so
This is what I get:
henk@invincible-spell:~$ /sbin/ldconfig -p | grep libGL.so
libGL.so.1 (libc6,x86-64) => /usr/lib/nvidia-current-updates/libGL.so.1
libGL.so.1 (libc6) => /usr/lib32/nvidia-current-updates/libGL.so.1
libGL.so (libc6,x86-64, OS ABI: Linux 2.4.20) =>
/usr/lib/x86_64-linux-gnu/libGL.so
libGL.so (libc6,x86-64) => /usr/lib/nvidia-current-updates/libGL.so
libGL.so (libc6) => /usr/lib32/nvidia-current-updates/libGL.so
I don't use -L, since I explicitly statically link any libraries that
are not OS-provided. (and no, I'm not trying to statically link opengl
;)
henk
- References:
- LuaJIT + glXGetProcAddress, Henk Boom
- Re: LuaJIT + glXGetProcAddress, Mike Pall
- Re: LuaJIT + glXGetProcAddress, Henk Boom
- Re: LuaJIT + glXGetProcAddress, Mike Pall
- Re: LuaJIT + glXGetProcAddress, Henk Boom
- Re: LuaJIT + glXGetProcAddress, Mike Pall
- Re: LuaJIT + glXGetProcAddress, Henk Boom
- Re: LuaJIT + glXGetProcAddress, Dimiter 'malkia' Stanev
- Re: LuaJIT + glXGetProcAddress, Henk Boom
- Re: LuaJIT + glXGetProcAddress, Miles Bader