简体   繁体   English

在Windows XP 64位中安装MongoDB

[英]Installing MongoDB in Windows xp 64-bit

我正在尝试在Windows XP 64位环境中安装mongoDB,而在终端中执行mongod.exe时会引发“过程入口点InitailizeSRWLock不能位于动态链接库KERNEL32.dll中”错误,如何解决此错误?

You'll need either the 32bit or 64bit "legacy" build of MongoDb for older operating systems. 对于较旧的操作系统,您将需要32位或64位“传统” MongoDb构建。 The error you're seeing indicates you've tried to execute a build for newer versions of Windows. 您看到的错误表明您已尝试为Windows的较新版本执行构建。 The function InitializeSRWLock ( reference ) is only available on Windows 7/2008+. 函数InitializeSRWLock参考 )仅在Windows 7/2008 +上可用。

At first ,make sure the mongodb you downloaded is just the suitable one for you system. 首先,请确保您下载的mongodb只是适合您的系统的一个。

Secondly ,it seems that you system needs the KERNEL32.dll.You'd better download the KERNEL32.dll manually and put it into your c:\\Windows\\System\\ directory. 其次,您的系统似乎需要KERNEL32.dll。最好手动下载KERNEL32.dll,并将其放入c:\\ Windows \\ System \\目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM