Thanks for this.
I updated to 0.3.4 and adapted your flow to be able to test the extension I am trying to use by substituting the path to mod_spatialite in the extension property.
This is what I see in debug after manually injecting each inject node in order from top to bottom:
This is the flow:
[{"id":"ab61e92.3c14c18","type":"inject","z":"fbf9f6cb.4d2968","name":"","topic":"","payload":"/usr/lib/arm-linux-gnueabihf/mod_spatialite","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":180,"wires":[["3c0eacc1.331fc4"]]},{"id":"3c0eacc1.331fc4","type":"change","z":"fbf9f6cb.4d2968","name":"","rules":[{"t":"move","p":"payload","pt":"msg","to":"extension","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":180,"wires":[["5017d7c4.8bf7d8","8f635cf8.daa2f"]]},{"id":"5017d7c4.8bf7d8","type":"sqlite","z":"fbf9f6cb.4d2968","mydb":"e800f188.d763b","sqlquery":"msg.topic","sql":"","name":"","x":470,"y":220,"wires":[["ddb66aae.85fc38"]]},{"id":"8f635cf8.daa2f","type":"debug","z":"fbf9f6cb.4d2968","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":490,"y":160,"wires":},{"id":"f33b584d.fdf588","type":"inject","z":"fbf9f6cb.4d2968","name":"","topic":"select LongLatToDMS(-70,43);","payload":"/usr/lib/arm-linux-gnueabihf/mod_spatialite","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":80,"y":220,"wires":[["3c0eacc1.331fc4"]]},{"id":"3a4c4624.59875a","type":"inject","z":"fbf9f6cb.4d2968","name":"","topic":"select LongLatToDMS(-75,28);","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":260,"wires":[["5017d7c4.8bf7d8"]]},{"id":"ddb66aae.85fc38","type":"debug","z":"fbf9f6cb.4d2968","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":670,"y":220,"wires":},{"id":"e800f188.d763b","type":"sqlitedb","z":"","db":"/tmp/testdb","mode":"RWC"}]
If I replicate the process at the command line this is what it looks like:
pi@rpiNCTest:~ mv .sqliterc sqlite_ignore
pi@rpiNCTest:~ sqlite3 /tmp/testdb
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
sqlite> select LongLatToDMS(-75,28);
Error: no such function: LongLatToDMS
sqlite> .quit
pi@rpiNCTest:~ mv sqlite_ignore .sqliterc
pi@rpiNCTest:~ sqlite3 /tmp/testdb
-- Loading resources from /home/pi/.sqliterc
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
sqlite> select LongLatToDMS(-75,28);
28°00′00″N 075°00′00″W
sqlite> .quit
pi@rpiNCTest:~ $ more .sqliterc
.load /usr/lib/arm-linux-gnueabihf/mod_spatialite
pi@rpiNCTest:~ $
So it seems that the extension is compatible with sqlite (compiled from same version).
Ill try to compile the same extension that you did to see if that provides any more clues.