Liste des Groupes | Revenir à cu shell |
Please forgive my interruption, but something in Muttley's comment needs
some clarification....>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).
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.
Les messages affichés proviennent d'usenet.