I have compiled from cvs and HG the xine-ui and xine-lib-1.2 , I didn't correct the config files. But in
last year i installed the xine and gxine and others... May be in last year I corrected some config files.

But I can't run the xine

goga@goga:/usr/local/bin$ ./xine
./xine: error while loading shared libraries: libxine.so.2: cannot open shared object file: No such file
or directory

/usr/local/lib$ ls
codecs libavdevice.a libavformat.so.52 libpostproc.a
libxine.so.2 vhook firmware libavdevice.so libavformat.so.52.13.0
libpostproc.so libxine.so.2.0.0 xine libavcodec.a libavdevice.so.52
libavutil.a libpostproc.so.51 pkgconfig libavcodec.so libavdevice.so.52.0.0
libavutil.so libpostproc.so.51.1.0 python2.3 libavcodec.so.51 libavformat.a
libavutil.so.49 libxine.la python2.4 libavcodec.so.51.56.0 libavformat.so
libavutil.so.49.6.0 libxine.so python2.5

If I copy libxine.so.2.0.0 to /usr/lib then

goga:/usr/local/bin# ./xine --verbose=6
xine ( X11) - v0.99.6cvs.
(c) 2000-2007 The xine Team.
xine 1.1.90 (1.1.90hg)
xine : 1.1.90 (1.1.90hg).

My question

- why does xine look in /usr/lib, not in /usr/local/lib ? How can I correct this xine-behaviour ?