From: Martin E. <m.a...@nc...> - 2005-05-04 13:38:17
|
On Wednesday 04 May 2005 13:21, Pascal Haakmat wrote: > I've compiled and installed mdbtools-0.6pre1, but have run into a > little snag (garnome-env, attached, is a small shell script which > modifies a few environment variables, since my glib/gtk+ 2 install is > at a non-standard place): > > $ garnome-env mdb-schema > mdb-schema: error while loading shared libraries: libmdb.0: cannot > open shared object file: No such file or directory > > ldconfig doesn't seem to "pick up" libmdb in /usr/local/lib, even > though it is clearly there and other libraries in that directory work > fine: Why not add /usr/local/lib to this line? LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH so.... LD_LIBRARY_PATH=$GARNOME/lib:/usr/local/lib:$LD_LIBRARY_PATH You could alternatively play with ld.so.config or whatever, but you'd have to look at the man pages.... Martin |