I'm having a problem loading the berkeley db extension, built on MacOSX/Intel, that I haven't had on MacOSX/PowerPC, gcc 4.01. The reason I'm inquiring here (and not with Vlad, who doesn't know either) is it seems like a general compiler/platform issue

Aolserver, on load displays this error:

> Warning: modload: could not find Ns_DbDriverInit in /usr/local/ aolserver/bin/nsdbbdb.so
> Error: dbdrv: failed to load driver 'berkeleydb'

yet Ns_DbDriverInit is defined in the .c source code
> NS_EXPORT int Ns_DbDriverInit(char *hModule, char *configPath)

This looks to me like a simple problem of the function not being exported correctly. Or is it a problem of gcc in c++ vs C mode? Or some compile time flag magic that's needed...

Any suggestions?

-john


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to