In order to install Löve 0.9.1 I ran :
# make install
The result in /usr/bin/ is:
........
-rwxr-xr-x 1 root root 14K août 20 09:39 love
-rwxr-xr-x 1 root root 1,5M janv. 27 2013 love-0.8
........
But when I launch
$ love
love: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory
So I have a look at /usr/local/lib :
lrwxrwxrwx 1 root staff 22 août 19 16:12 libluajit-5.1.so.2 -> libluajit-5.1.so.2.0.3
I add /usr/local/lib in my path (echo $PATH is OK)
But it stays not possible to launch love (same message).
Maybe love doesn't look for libluajit at this place (/usr/local/lib) ?
Resolved : new complete installalation of wheezy from scratch
[resolved] Can't find out libluajit-5.1.so.2
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 13
- Joined: Sat Aug 16, 2014 8:33 am
- Location: France (Bressuire)
[resolved] Can't find out libluajit-5.1.so.2
Last edited by gargamel79 on Mon Sep 08, 2014 10:19 am, edited 1 time in total.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Can't find out libluajit-5.1.so.2
It's not love's job to look for it, it's the dynamic linker's. So this means you compiled it wrong and/or have configuration issues on your system. The temporary way to solve it is adding /usr/local/lib to your LD_LIBRARY_PATH, the good way of solving this is adding it to your /etc/ld.so.conf (see the manpage for ldconfig).
Additionally, are you sure the symlink for libluajit-5.1.so.2 actually points to an existing file?
Additionally, are you sure the symlink for libluajit-5.1.so.2 actually points to an existing file?
-
- Prole
- Posts: 13
- Joined: Sat Aug 16, 2014 8:33 am
- Location: France (Bressuire)
Re: Can't find out libluajit-5.1.so.2
I ran
# /sbin/ldconfig -v
Now when I launch love, I get the out:
Error: No available video device
stack traceback:
[C]: at 0xb75dace0
[C]: in function 'require'
[string "boot.lua"]24: in function <[string "boot.lua"]:241>
[C]: in function 'xpcall'
I am perplexed...
# /sbin/ldconfig -v
Now when I launch love, I get the out:
Error: No available video device
stack traceback:
[C]: at 0xb75dace0
[C]: in function 'require'
[string "boot.lua"]24: in function <[string "boot.lua"]:241>
[C]: in function 'xpcall'
I am perplexed...
- slime
- Solid Snayke
- Posts: 3159
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Can't find out libluajit-5.1.so.2
SDL generates that error message when it's unable to initialize any video/windowing backend (e.g. X11, Wayland, etc.)
-
- Prole
- Posts: 13
- Joined: Sat Aug 16, 2014 8:33 am
- Location: France (Bressuire)
Re: Can't find out libluajit-5.1.so.2
I guess it's helpless ...
Anyway thank you for your help.
Anyway thank you for your help.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Can't find out libluajit-5.1.so.2
Are you trying to run love on an exotic platform?
-
- Prole
- Posts: 13
- Joined: Sat Aug 16, 2014 8:33 am
- Location: France (Bressuire)
Re: Can't find out libluajit-5.1.so.2
I don't think so, it's a wheezy debian with xfce..
-
- Prole
- Posts: 13
- Joined: Sat Aug 16, 2014 8:33 am
- Location: France (Bressuire)
Re: Can't find out libluajit-5.1.so.2
When I run: ldconfig -v > result , I obtain, with a filter
/usr/local/lib:
libluajit-5.1.so.2 -> libluajit-5.1.so.2.0.3
libSDL2-2.0.so.0 -> libSDL2.so
but also
/usr/lib/i386-linux-gnu:
libSDL-1.2.so.0 -> libSDL.so
I am afraid it's this last one that is taking into account.
Because it's the native version used by my wheezy debian...
I have in
/etc/ld.so.conf.d/i486-linux-gnu.conf
# Multiarch support
/lib/i386-linux-gnu
/usr/lib/i386-linux-gnu
/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu
And in
/etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib
How to get rid of this doubt
/usr/local/lib:
libluajit-5.1.so.2 -> libluajit-5.1.so.2.0.3
libSDL2-2.0.so.0 -> libSDL2.so
but also
/usr/lib/i386-linux-gnu:
libSDL-1.2.so.0 -> libSDL.so
I am afraid it's this last one that is taking into account.
Because it's the native version used by my wheezy debian...
I have in
/etc/ld.so.conf.d/i486-linux-gnu.conf
# Multiarch support
/lib/i386-linux-gnu
/usr/lib/i386-linux-gnu
/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu
And in
/etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib
How to get rid of this doubt
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Can't find out libluajit-5.1.so.2
They have different names, that won't happen. In any case, using 'ldd' on the executable should give you the list of libraries actually being used. Are you sure you have drivers installed that support OpenGL?
-
- Prole
- Posts: 13
- Joined: Sat Aug 16, 2014 8:33 am
- Location: France (Bressuire)
Re: Can't find out libluajit-5.1.so.2
I have just installed the package : libhugs-opengl-bundled
but without a good result.
Have you got a package to recommend. It exists a lot a ...opengl.. packages
The following command gives
ldd /usr/bin/love
................
libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0 (0xb6efd000)
.............
It seems OK for that point.
but without a good result.
Have you got a package to recommend. It exists a lot a ...opengl.. packages
The following command gives
ldd /usr/bin/love
................
libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0 (0xb6efd000)
.............
It seems OK for that point.
Who is online
Users browsing this forum: Bing [Bot] and 4 guests