Logic Machine Forum
How to get luasql.mysql package ? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: How to get luasql.mysql package ? (/showthread.php?tid=2525)



How to get luasql.mysql package ? - olivier - 18.03.2020

Hi all,

Hope you are all well & healthy

More generally, I would like to know how / where to search / get packages that are compatible with LogicMachine ? 
In this case it is for "luasql.mysql" package
(I search unsuccessfully within the forum, maybe I miss it, if so, sorry)
I suppose that such package (once downloaded) can be installed via "system config" panel / "system/package" menu ?

I have the following error:
----------------
Resident script:1: module 'luasql.mysql' not found:
no field package.preload['luasql.mysql']
no file './luasql/mysql'
no file 'Library luasql/mysql'
no file 'Library luasql/mysql'
no file 'Library luasql/mysql.so'
no file 'Library luasql.so'
stack traceback:
[C]: in function 'require'

----------------

Best regards


RE: How to get luasql.mysql package ? - Daniel - 19.03.2020

Here for imx6 cpu
https://dl.openrb.com/lm-19-imx6/pkg/


RE: How to get luasql.mysql package ? - olivier - 19.03.2020

thanks a lot for your quick response !

seems no to be the right architecture Sad
a screenshot of my system / errors

additionnel question : this package is a standalone one or I will need to install additional dependency's package ?

Best regards


RE: How to get luasql.mysql package ? - Snoolik - 19.03.2020

(19.03.2020, 13:23)olivier Wrote: thanks a lot for your quick response !

seems no to be the right architecture Sad
a screenshot of my system / errors

additionnel question : this package is a standalone one or I will need to install additional dependency's package ?

Best regards

Try for another architecture: https://dl.openrb.com/lm-19-mxs/pkg/


RE: How to get luasql.mysql package ? - admin - 19.03.2020

You need package for mxs, but install libmysqlclient first


RE: How to get luasql.mysql package ? - olivier - 19.03.2020

Perfect !! thank you !!

liblua-mysql_2.2.0-6_mxs.ipk

+ dependencies
libmysqlclient_5.1.73-1_mxs.ipk
zlib_1.2.11-1_mxs.ipk

Best regards