Our website would like to use cookies to store information on your computer. You may delete and block all cookies from this site, but parts of the site will not work as a result. Find out more about how we use cookies.

Login or Register

Powered by
Powered by Novacaster
 
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 >>
View Comments (Flat Mode) Printer Version
Netatalk 2 and Berkeley DB Simon - 7/11
    Re: Netatalk 2 and Berkeley DB Simon - 10/11
       Re: Netatalk 2 and Berkeley DB Simon - 26/04