On Sun, Nov 13, 2011 at 06:14:57PM +0200, Daniel Shahaf wrote: > Philip Martin wrote on Thu, Nov 03, 2011 at 10:55:49 +0000: > > Yes. The kwallet and gnome keyring providers are loaded dynamically and > > the loader will not look for providers in the right place. > > Why won't the loader look for them in the right place?
dlopen() accepts either an absolute pathname or the basename of a shared library. In the latter case, the library is searched in the standard library search path, and in dirs in LD_LIBRARY_PATH. If we specified an absolute path we'd have to compile the abspath of the working copy containing the shared libs into the binaries to run tests. And re-compile with a different abspath during 'make install'. It would also prevent moving an existing SVN installation to a different prefix without recompilation. This could cause problems for packagers.