After making and installing a snap package of tcl/tk, tcl complains it cant find init.tcl in a series of libraries. This has been documented many times with windows, python and tkinter, and a virt environment. This is Linux though. From what I gather so far, tcl just needs me to export the tcl and tk library paths that contain this file. side note- that file is there and in most of the paths listed. It just doesn't know it.
Looking at the snap demo https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/
I think I need to create a script, set the library paths then launch either tcl or tk. Much like the glue used in the example. these are early days and documentation is lacking but I think I am close.
my question: Anyone know how to set the library paths inside a snap? I don't mean set it in the terminal because that will only set a path on my actual system and not for anyone using this snap on their computer. If anything is needed to answer this let me know. I am at work and cant access my files currently.