← Back to team overview

mudlet-makers team mailing list archive

[Bug 303575] Re: Some distributions require -llua instead of -llua5.1

 

Wrote up a patch based on Heiko's most recent git source. Save into
mudlet/src/ and apply with 'patch < src.pro.patch'.  My system links
correctly with the -llua5.1 flag, but I tested the patch by moving
/usr/lib/liblua5.1.a to /usr/lib/liblua.a and it correctly changed my
configuraton to the -llua flag (and compiled/ran properly).

** Attachment added: "Candidate patch"
   http://launchpadlibrarian.net/23390445/src.pro.patch

-- 
Some distributions require -llua instead of -llua5.1
https://bugs.launchpad.net/bugs/303575
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.

Status in Mudlet the MUD client: Confirmed

Bug description:
Some distributions require -llua instead of -llua5.1 in the src.pro. Mudlet should have automatic detection for this.

Meanwhile, if you receive this error:

/usr/bin/ld: cannot find -llua5.1
collect2: ld returned 1 exit status

Then edit the src.pro file to say:

unix : LIBS += -lqscintilla2 \
        -llua

Instead of:

unix : LIBS += -lqscintilla2 \
        -llua5.1



Follow ups