LD_LIBRARY_PATH under Linux
In the Solaris environment in the big firm that I worked with previously,
they have multi-version of anything, from Perl to Tcl/Tk, and even X.
We used the environment var LD_LIBRARY_PATH to give preference/order of
the libraries that we use. Does this still applied to Linux?
I tried to do it under Linux but didn't success. Here is what I tried:
$ slocate import_ac3
$ /opt/old/usr/bin/transcode -i test-src.0.vbr.avi -y ffmpeg --export_prof dvd -N 0x2000 -E 48000,16,2 -o test-src.0.vbr
transcode v0.6.14 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[import_ac3.so] v0.3.2 (2002-02-15) (audio) AC3
/opt/old/usr/bin/transcode: relocation error: /usr/lib/transcode/import_ac3.so: undefined symbol: tc_test_string
Here, the normal lib is preferred, instead of my old one. How can I fix that?
PS. I've set the following, but didn't work.
please help. thanks