LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Error while running script (https://www.linuxquestions.org/questions/linux-general-1/error-while-running-script-915284/)

mahi_nix 11-24-2011 03:43 AM

Error while running script
 
Hello Friends,

I have Debian Lenny Installed in my server and i am trying to run one script but its not running but to the below error

Quote:

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Please help me to sorted out the issue The library "libstdc++.so.6" is in /usr/lib but system not able to load it as per the error message.

Thanks in advance,

kbp 11-24-2011 04:28 AM

Maybe the utility you're running in the script is a different architecture to the shared library, this is a common problem when running 32bit apps on a 64bit host. Try using the 'file' command to determine which architecture they both are and whether they match.

mahi_nix 12-07-2011 11:58 PM

Hello KBP,

Yeah i also checked the same thing in server and i think it is not compatible with the library.

trey85stang 12-08-2011 03:17 PM

export LD_LIBRARY_PATH=/usr/lib

try that then run the "script"

mahi_nix 12-16-2011 02:40 AM

Hello Trey85stang,

Sorry for the late reply but i tried your solution but it not works for me. do you have any other way to sortout this issue.

Thank You,


All times are GMT -5. The time now is 10:36 PM.