lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Henk Boom <henk@henk.ca> writes:
>> 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}...
>
> 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

Ok, so _something_ has put "/usr/lib/nvidia-current-updates" into the
system's dynamic library search path; maybe some nvidia package?

So either take that out, or somehow tell luajit to search the same
directory I guess.  [Should luajit be somehow using the system's
default library search path?]

I dunno if the nvidia libraries are actually important or not, so I
dunno which is the best solution...

-miles

-- 
Virtues, n. pl. Certain abstentions.