Code Sample |
export LD_LIBRARY_PATH=/opt/compile-3.3.5/lib my_program |
Code Sample |
LD_LIBRARY_PATH=/opt/compile-3.3.5/lib my_program |
Code Sample |
my_program LD_LIBRARY_PATH=/opt/compile-3.3.5/lib |
Code Sample |
# Edit /etc/ld.so.conf: editor /etc/ld.so.conf # Run 'ldconfig' to rebuild '/etc/ld.so.cache' using the directories specified in '/etc/ld.so.conf': ldconfig # Run application: my_program |
Code Sample |
export LD_LIBRARY_PATH=/opt/compile-3.3.5/lib ldconfig # Then unset LD_LIBRARY_PATH: unset LD_LIBRARY_PATH # Then run the application: my_program (You will get an error.) |
Code Sample |
export LD_LIBRARY_PATH=/opt/compile-3.3.5/lib ./configure make |
Code Sample |
LDFLAGS=-L/opt/compile-3.3.5/lib ./configure |