View Ticket
Ticket Hash: e4ff63edaece13846bd56feedc5c43484ecfcd2c
Title: Dynamic libraries not loading on RPi (Linux ARM)
Status: Open Type: Incident
Severity: Important Priority: Immediate
Subsystem: Tcl Resolution: Open
Last Modified: 2020-05-11 16:45:30
Version Found In: 0.12.0 / 8.6.10
Description:
<div>I built a kit with the online creator (Linux-ARM).<br /></div><div>Loading sqlite3 (or any other shared lib extension) gives this error:</div><div><pre>% package require sqlite3<br />couldn't load file "/tmp/tcl_CFOcQP": /tmp/tcl_CFOcQP: cannot open shared object file: No such file or directory<br />% set errorInfo<br />couldn't load file "/tmp/tcl_CFOcQP": /tmp/tcl_CFOcQP: cannot open shared object file: No such file or directo<br />&nbsp;&nbsp;&nbsp; while executing<br />"load /tmp/tclkit-8.6.10-linux-arm/lib/sqlite3.30.1.2/libsqlite3.30.1.2.so Sqlite3"<br />&nbsp;&nbsp;&nbsp; ("package ifneeded sqlite3 3.30.1.2" script&nbsp;&nbsp;&nbsp; invoked from within<br />"package require sqlite3"</pre></div><div>Static extensions load fine (e.g. udp).</div><div>Building the same kit for Linux-amd64 does not have the problem - sqlite3 loads fine.</div><div><br /></div><div>Please let me know if I can provide any more info, or do more testing!</div><div>Thanks,<br />Ian<br /></div><div><br /></div>
User Comments:
rkeene added on 2020-05-11 16:45:30: (text/x-fossil-plain)
Probably the best thing to do is compile packages statically linked to the kit.  This is the "Kit: Statically link packages in pkgs directory" option in the online builder.