On Thu, Mar 13, 2008 at 01:03:01PM -0500, P Kishor wrote:

> why is it the I had to do the above? Why is LD_LIBRARY_PATH not set
> automatically? And, since it wasn't set, how come other programs were
> working fine (assuming that other programs in the /usr/local/bin space
> were looking for libs in /usr/local/lib as well
> 
> And, what can I do to make LD_LIBRARY_PATH permanent?

You don't have to.


If you run "./configure --help" before any compilation, it'll show you its
switches. For example:

#v+
[..]

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
[..]
  --libdir=DIR           object code libraries [EPREFIX/lib]

...and some "influential environment variables" as well:

  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
#v-

So, you can set it all *before*.
-- 
                                pozdrawiam / regards

                                                Zbigniew Baniewski
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to