Re: Netatalk 2 and Berkeley DB
by Simon at 11:00 10/11/04 (Forum::Technical Advice::General)
If you install Berkeley DB into its default location (ie you don't supply a --prefix):

[sb@webdev build_unix]$ ../dist/configure --with-mutex="x86/gcc-assembly" --with-uniquename

...then it gets installed into: /usr/local/BerkeleyDB.4.x where x is the subversion number.

You therefore need to add this path to /etc/ld.so.conf and then run /sbin/ldconfig as root.

This is what my /etc/ld.so.conf file looks like now:

[sb@webdev netatalk-2.0.1]$ cat /etc/ld.so.conf

/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/BerkeleyDB.4.x/lib

... once that's done, then the options for netatalk become:

[sb@webdev netatalk-2.0.1]$ ./configure --enable-redhat --with-bdb=/usr/local/BerkeleyDB.4.x

--
simon

<< Creating favicons on non-Windo... Email blacklisting >>
Powered by
Powered by Novacaster