Your error message shows that:
1) BDB code was compiled succesfully, the error is reported during the link phase. This means that at least the BDB header files are installed.
2) The error message reports an undefined function. If the BDB library was not installed, the linker would've complained about libdb.so missing. As such, libdb.so was found, but did not contain the db_create function.
Therefore, the only two possibilities are:
A) Your libdb.so is corrupted.
B) You have multiple versions of the Berkeley DB library sprayed all over your filesystem, and the linker probably picks up some old libdb.so, probably version 1 or version 2, which uses a completely different API.
You are totally rigth, Mr. Sam.
I have found and then removed some old Denian DB package, and developer files (libdb2-util, libdb3 stb.).
Now swebmail is successfully compliled and run.
But I still have a problem/question.
I would like to move the whole mail system to another host, including sqwebmail and of course: maildirs.
I copied some maildir.
But then I login, I can't see the any messages in the folders, Correctly I can't open the mail folders, an empty screen is shown.
I think, the problem is coherent to the new db library.
On the old system, all the maildir folders have a sqwebmail-curcache.db2 file.
So my question is: How can I move the maildirs to another host?
Thank you again
Nandor Szabo
