[Slackbuilds-users] pkg-config reports incorrect lib for Lus 5.2/5.3

Nate Bargmann n0nb at n0nb.us
Sat Apr 7 01:44:19 UTC 2018

Looking at the output of pkg-config for Lua 5.2 and 5.3 I see this:

        $ pkg-config --libs lua52
        -llua -lm

I'm thinking that it should output '-llua5.2' and '-llua5.3'
respectively.  The change should take place on this line of each

Libs: -L${libdir} -llua -lm

in each lua5?.SlackBuild that edits lua.pc.in, as I understand it.

Given the symlinks when the 'lua' package is installed, liblua.so points
to liblua.so.5.1.5, liblua5.2.so points to liblua5.2.so.5.2.4, and
liblua5.3.so points to liblua5.3.so.5.3.4 at present.


- Nate


"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: http://www.n0nb.us  GPG key: D55A8819  GitHub: N0NB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180406/23e70956/attachment.asc>

More information about the SlackBuilds-users mailing list