Sujet : Re: Where to put dll's in starkits
De : heller (at) *nospam* deepsoft.com (Robert Heller)
Groupes : comp.lang.tclDate : 19. Jun 2025, 19:46:54
Autres entêtes
Organisation : Deepwoods Software
Message-ID : <1031luu$2cum$1@dont-email.me>
References : 1 2 3
User-Agent : TkNews 3.0 (1.2.20)
At Thu, 19 Jun 2025 14:29:28 -0400 saito <
saitology9@gmail.com> wrote:
On 6/19/2025 1:53 PM, Robert Heller wrote:
Needing to put dlls in "bin" under MS-Windows is specific to MS-Windows, when
the dlls are searched for and loaded my MS-Windows itself and I think only
applied to Tcl itself being in a dll (shared library). A starkit includes a
staticly build Tcl interpreter. Tk is still a shared library (dll), but this
is loaded by Tcl using the load command.
There should not be any reason to to have a "bin" folder. I think all dlls
should go somewhere under lib.
I wasn't suggesting that it should. The "bin" refers to "bin" under the
main, full Tcl/Tk installation. There I see a bunch of dll's some of
whose names suggest they may be related to image processing.
Do you have a specific package or set of dlls that are handled differently?
I was trying to create a starkit with image related packages. I can't
get svg support for example. I have included all packages related to img
including tksvg. They are present in the vfs lib folder. jpeg is also
problematic. It seems like they need some dll's beyond what is included
in their "package" folders.
OK, this is related to the Img package. It expcts some "system libraries" to
be installed. I guess someplace like C:\System32 (or whatever MS-Windows uses
for what Linux would call /usr/lib. I am not sure what the MS-Windows
libraries it needs are, but the Linux dependencies under Linux (Debian, arm64)
for libtk-img 1.4.14 include: libjpeg62-turbo, libpng16-16, and libtiff6. I
believe these DLLs are readily available.
I don't really know what the proper way to deal with this under MS-Windows.
My only real thought would be to re-build tk-img staticly linked to these
graphics libraries. (Under Linux these sorts of libraries are often pulled in
by various other graphics programs.)
-- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364Deepwoods Software -- Custom Software Serviceshttp://www.deepsoft.com/ -- Linux Administration Servicesheller@deepsoft.com -- Webhosting Services