Στις 19/9/2017 19:09, ο Rich έγραψε:
> Georgios Petasis <
peta...@yahoo.gr> wrote:
>> ???? 19/9/2017 18:27, ? Rich ??????:
>>> Georgios Petasis <
peta...@yahoo.gr> wrote:
>>>> ???? 19/9/2017 16:47, ? Gerald Lester ??????:
>>>>> As to how to get them defined for a service -- what OS are you running?
>>>>
>>>> Fedora 25.
>>>
>>> Does Fedora 25 not ship with an already installed Tcl?
>>>
>> Yes, 8.6.4, but not with the packages I need.
>
> Can you not just compile (assuming they need to be compiled) the
> packages you need against the system installed Tcl?
No, as this will write things in places that are managed with operating
system packages.
>
>> I always prefer to install a newer, batteries included version in
>> /opt.
>
> Well, if by "batteries included" you also mean "pre-compiled binaries"
> then there lies part of the trouble. The ELF so format stores paths to
> where the so files are supposed to be stored, and putting them
> somewhere else creates no amount of trouble in working around those
> hard coded paths.
This is not the case with tcl (and not the problem I am facing).
Setting LD_LIBRARY_PATH can solve there rpath issues.
The problem is finding the tcl library, as in tcl init.tcl.
Not finding
libtcl8.7.so.
>
> If you want a new Tcl, plus packages, have you tried beginning by
> simply compiling Tcl by telling configure it is in opt/???? and then
> installing it into /opt/????. That should set all the ld paths so Tcl
> and Tk know that their .so's are in /opt/????.
>
The discussion is about the tcl scripts of the tcl library. Where
packages are loaded. Which is stored in static C variables inside
libtcl8.7.so.
Compiling for /opt will work, but I don't want to do this. I want to
build in another location, test, and then move to /opt.
George