[Modules] Modules & CPAN
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Harlan S. <ha...@pf...> - 2024-02-21 02:55:04
|
I haven't had to deal with this in a long time, and I'm hoping somebody here can save me a lot of time to get a working answer. There are some CPAN modules that work with, for example, OpenSSL. These CPAN modules need the right/appropriate OpenSSL libraries at runtime. CPAN modules apparently Do Not Want to be statically linked. I think the best solution is to find a way to install CPAN modules that have been statically linked to there appropriate (at build time) libraries. I really don't want to use LD_LIBRARY_PATH to solve this problem, because in an environment where modules is in use, one might be using several different sets of tools, and the openssl being used by perl and the perl modules might be different from the version of openssl that is used by some other set of utilities that are needed for the current overall operating environment. I am trying Really Hard to not have to build a separate version of perl (and the CPAN modules) for each version of OpenSSL. I figure there are more "flavors" involved than just OpenSSL, so the problem above will only get worse if I have to build an entire toolchain suite for each "flavor". I'd bet that some folks here have had to deal with this situation and might have answers for me. Thanks... H |