Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
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

1 solution

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.
 
Share this answer
 
Comments
ahsanriaz1K 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?
ahsanriaz1K 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900