Page 1 of 1

LÖVE not compiling on FreeBSD

Posted: Tue Jul 14, 2015 8:19 pm
by SADMEMES
When I run the configure file it keeps persisting that I do not have PhysicsFS installed even though I have the latest version from the ports folder(2.0.3).
I also tried installing the -devel version as well with no luck. How would I go about compiling the latest version for FreeBSD?
Thank you for your time fellow lovers~!~ :awesome:

Re: LÖVE not compiling on FreeBSD

Posted: Tue Jul 14, 2015 8:37 pm
by bartbes
The configure script just looks for a library named libphysfs.so that contains the function PHYSFS_init, but if yours is in a non-standard path, you may have to tell it where to find it. The easiest way to do this is by running configure something like this:

Code: Select all

./configure LDFLAGS=-L/directory/containing/libphysfs.so
Note that you should list the directory, not the file itself.

Re: LÖVE not compiling on FreeBSD

Posted: Tue Jul 14, 2015 8:49 pm
by SADMEMES
bartbes wrote:The configure script just looks for a library named libphysfs.so that contains the function PHYSFS_init, but if yours is in a non-standard path, you may have to tell it where to find it. The easiest way to do this is by running configure something like this:

Code: Select all

./configure LDFLAGS=-L/directory/containing/libphysfs.so
Note that you should list the directory, not the file itself.
That fixed it! Thank you loving friend! For future searchers on FreeBSD libphysfs.so is located in

Code: Select all

/usr/local/lib