Click here to Skip to main content
13,151,141 members (45,488 online)
Rate this:
Please Sign up or sign in to vote.
I am compiling some code through cmd.exe on VS2008 compiler. I am getting this error.
"error while loading shared libraries: MSV CR90.dll: cannot open shared object file: No such file or directory"
I am searching through google.
Looking for your response.....
Posted 24-Apr-12 19:45pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

MSVCR90.dll is one of the DLLs of the Microsoft C runtime.

Wile you are compiling (and linking) that file should not be involved, but the corresponding .lib file instead. So I assume you get this error when running your program.

Either the file wasn't placed on your system during install or the path environment variable is set incorrectly.
riaz100 25-Apr-12 5:17am
File is there in the system and i am running command prompt of VS2008 which first set the environment variables ,so no issue of it.Can please tell me another reason?
nv3 25-Apr-12 5:44am
Let us first clarify: In which phase do you get this error: During compilation, during linking, or during execution of your program?
riaz100 25-Apr-12 8:48am
Actually, i am compiling ICU library through cmd of VS2008 compiler.I am using "make" command.It's not at compilation time, it's at linking time. Here is the error
/cygdrive/d/icu/source/bin/icupkg.exe: error while loading shared libraries: MSV
CR90.dll: cannot open shared object file: No such file or directory
Makefile:458: recipe for target `out/tmp/icudata.lst' failed
make[1]: *** [out/tmp/icudata.lst] Error 127
make[1]: Leaving directory `/cygdrive/d/icu/source/data'
Makefile:130: recipe for target `all-recursive' failed
make: *** [all-recursive] Error 2
nv3 25-Apr-12 9:13am
So, what's happening is: The program icupkg.exe is run and at its startup it doesn't find the MSVCR90.dll runtime library. So that has nothing to do with your own program directly.

Take a look, where your MSVCR90.dll is installed (you said it is available on your system). I guess that directory is not on the PATH environment variable. So, add it on there and try again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170924.2 | Last Updated 25 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100