[Date Prev][Date Next] [Chronological] [Thread] [Top]

compiling and berkeley db (solution)



hi.

i recieved several emails reporting various was to do this, mostly stating
that i was correct and adding the "-R"  option to the LDFLAGS varialbe was
the cleanest solution.

the best solution i could find was to build with this procedure:

# export LDFLAGS="-L/usr/local/BerkeleyDB.3.0/lib -R/usr/local/BerkeleyDB.3.0/lib"
# export CPPFLAGS="-I/usr/local/BerkeleyDB.3.0/include"
# ./configure --prefix=/usr/local

and from there as normal.  adding the "-R/path/to/berkeleydb" does indeed
seem to work very well.

thanks all.

adam.