Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help,
read this .
freegamer
Prole
Posts: 3 Joined: Sun Aug 17, 2008 11:05 pm
Post
by freegamer » Sun Aug 17, 2008 11:08 pm
I can't compile Love on Fedora.
Code: Select all
/usr/bin/ld: cannot find -llua5.1
collect2: ld returned 1 exit status
I do have the lua 5.1 devel package installed. The header files seem to reside in /usr/include (confirmed by trying a find /usr -name lua* which only returns these).
Code: Select all
ls /usr/include/lua*
/usr/include/lualib.h
/usr/include/luaconf.h
/usr/include/lua.h
/usr/include/lua.hpp[
I modifed the Makefile to read:
But no dice (same error as before).
rude
Administrator
Posts: 1052 Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway
Post
by rude » Sun Aug 17, 2008 11:14 pm
Hello.
I've heard that many distros use just -llua instead of -llua5.1. Have you tried changing LD_LUA to -llua?
On a related note, the autotools files have been done for some time (thanks tido). They'll be released with the next version.
freegamer
Prole
Posts: 3 Joined: Sun Aug 17, 2008 11:05 pm
Post
by freegamer » Sun Aug 17, 2008 11:16 pm
Yay! That (-llua) worked! Cheers.
rude
Administrator
Posts: 1052 Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway
Post
by rude » Sun Aug 17, 2008 11:18 pm
I solved a Linux-related problem? Un possible!
Users browsing this forum: Ahrefs [Bot] and 5 guests