Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lew Pitcher Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Thu, 22 Aug 2024 13:58:54 -0000 (UTC) Organization: A noiseless patient Spider Lines: 37 Message-ID: References: <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <87il0lldf8.fsf@tudado.org> <20240815182717.189@kylheku.com> <21c056b1-240c-a682-7a43-4fd36b158e5a@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 22 Aug 2024 15:58:55 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fd7dd1979d17c3d58736f14b1e644da1"; logging-data="475664"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18c0YYp0of84h2gV+xzcIhUTP7NnLBi9qs=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:xRIIsETz8acXBFWNdnqGPS1IGOE= Bytes: 3286 Please forgive my interruption, but something in Muttley's comment needs some clarification.... On Thu, 22 Aug 2024 15:11:33 +0200, D wrote: > On Thu, 22 Aug 2024, Muttley@dastardlyhq.com wrote: [snip] >> For a properly designed language a container shouldn't be required. Using >> a container to prevent library hell is like seeing a mess on your floor but >> instead of clearing the mess you sweep it into seperate piles depending on >> the type of rubbish. With C/C++ you can set LD_LIBRARY_PATH 1) The ability to alter the loader's library search path isn't a C/C++ feature, but, instead, is a feature of the loader, and is applicable to /any/ binary that uses "shared objects" ("DLL"s to those who came from a Windows environment). 2) LD_LIBRARY_PATH is not "the" Unix environment variable that alters the loader's library search path. Rather, it is /one flavour/ of such an environment variable. Depending on the Unix system, the environment variable can be called: LD_LIBRARY_PATH, or LIBPATH, or SHLIB_PATH, and there may be other names that I don't know of. >> to use particular shared object files >> but doing something similar with Python AFAIK is a hell of >> a task. >> > > Thank you! You make me feel less of an outsider and old timer! ;) -- Lew Pitcher "In Skills We Trust"