如何停止错误 "The ordinal 3252 could not be located in the dynamic link library mongod.exe"?

How do I stop the error "The ordinal 3252 could not be located in the dynamic link library mongod.exe"?

这是我的开发计算机的规格:

Windows 8.1 单一语言 处理器:英特尔酷睿 i3-4005U CPU @ 1.70GHz 1.70GHz 安装内存 (RAM):4.00 GB 系统类型:64 位操作系统,基于 x64 的处理器

我安装了 Mongo DB Win32 x86_64-2008 和 SSL 3.0.7 pre

但是,当我从 DOS 命令 运行 "mongod.exe --dbpath db" 时,我得到以下错误:

"The ordinal 3252 could not be located in the dynamic link library mongod.exe"

为什么会出现错误,我该如何停止错误?

@ulysses-alves

我之前下载的是压缩包MongoDB,使用压缩包MongoDB会出现上述错误。

我决定使用 MongoDB 网站上的标准 MSI 可执行文件安装,它工作正常,但我不太喜欢 MSI 可执行文件,因为它强制安装 MongoDB,我会更喜欢控制 MongoDB 的放置位置。

如果您下载了压缩版,则存在此问题。尝试将 libeay32.dllssleay32.dll 放在 bin 目录中。

如果您下载的 openssl 库版本太旧,可能会发生此错误。 这是二进制文件的 link:https://indy.fulgan.com/SSL/.

官方 openSSL 网站上的更多信息:https://wiki.openssl.org/index.php/Binaries

目前最新版本为1.0.2e。 请务必为您的体系结构(32 位或 64 位)获取正确的 dll。