Linux Shared Libraries: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
=Configuration=
=Configuration=


Additional directories where to load libraries from:
Additional directories to load dynamic libraries from can be specified in /etc/ld.so.conf or in individual *.conf files in /etc/ld.so.conf.d. Such a file should list the full path of the directories to load libraries from, one per line:
<syntaxhighlight lang='text'>
/conda/envs/jep/lib
/usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/amd64/server
</syntaxhighlight>


/etc/ld.so.conf
The functionality is equivalent to [[Bash_Built-In_Variables#LD_LIBRARY_PATH|LD_LIBRARY_PATH]].


=Environment Variables=
=Environment Variables=

Latest revision as of 06:02, 5 February 2021

External

Internal

Configuration

Additional directories to load dynamic libraries from can be specified in /etc/ld.so.conf or in individual *.conf files in /etc/ld.so.conf.d. Such a file should list the full path of the directories to load libraries from, one per line:

/conda/envs/jep/lib
/usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/amd64/server

The functionality is equivalent to LD_LIBRARY_PATH.

Environment Variables

Troubleshooting

ldconfig -v
ldd libjep.so