## Problem with module

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
rude
Posts: 1051
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

### Re: Problem with module

Are you saying /usr/lib and /usr/local/lib should both be checked? You can put the modules in the same directory as the binary too, by the way.

Also: if you have the latest trunk available, check out makefile-simple, which is a version of the old makefiles which is easier to tweak (i.e. change linker flags, etc). (While we still wait for automagic completion).
farvardin
Party member
Posts: 164
Joined: Sat Jun 28, 2008 6:46 pm

### Re: Problem with module

on linux you can't put the lib together with the executable binary (I mean, most distributions won't accept this). And when you build the binary, it should be linked to folder requested by the configure (default is usually /usr/local/lib but on request, for official distribution packages, it will be /usr/lib )

I think by default it should also check for every folder that is in the PATH. I've tried to change my path, but it didn't seem to make it work.
But it can also work if you put everything in the same folder and start the executable from this folder.

I'm only using the official release at the moment, and I'm especially waiting for the autoconf version.
tido
Prole
Posts: 28
Joined: Mon Feb 04, 2008 4:08 pm
Contact:

### Re: Problem with module

Actually, if you

Code: Select all

make install
, it should install the modules and executable into their proper places. Some distros don't bother looking under /usr/local/ because everything installs to /usr/. I don't think we'll ever put them under /usr/local/ unless anybody here is passionately for it.
farvardin
Party member
Posts: 164
Joined: Sat Jun 28, 2008 6:46 pm

### Re: Problem with module

the latest release doesn't support make install yet. Maybe the svn and the future release then?
tido
Prole
Posts: 28
Joined: Mon Feb 04, 2008 4:08 pm
Contact:

### Re: Problem with module

Sorry, I was talking about the latest SVN.
rude