ubuntuでcodeblocksをValgrindでデバッグ中に発生した問題
デバッグ中に似たようなものが現れました
error while loading shared libraries:*.so.0:cannot open shared object file:No such file or directoryのエラー
GOOLE後に次のソリューションが見つかりました
テストを経て0 K!
When running Code::Blocks after the installation it might happen, that the system complains:
In that case make sure the library path where the Code::Blocks libraries where installed into is "known"to the system. For example: On Ubuntu using a default build process on a clean system will install the Code::Blocks executables to/use/local/bin and the libraries to/usr/local/lib. The latter is usually not known to a "clean"Ubuntu system. To add it to the search path for libraries do the following (as root/using sudo respectively): Add the following line to the file/etc/ld.so.conf:
...and run:
That's it - Code::Blocks should now work just fine as all libraries are being found.
Retrieved from "http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux"
error while loading shared libraries:*.so.0:cannot open shared object file:No such file or directoryのエラー
GOOLE後に次のソリューションが見つかりました
テストを経て0 K!
When running Code::Blocks after the installation it might happen, that the system complains:
codeblocks: error while loading shared libraries: libcodeblocks.so.0: cannot open shared object file: No such file or directory
In that case make sure the library path where the Code::Blocks libraries where installed into is "known"to the system. For example: On Ubuntu using a default build process on a clean system will install the Code::Blocks executables to/use/local/bin and the libraries to/usr/local/lib. The latter is usually not known to a "clean"Ubuntu system. To add it to the search path for libraries do the following (as root/using sudo respectively): Add the following line to the file/etc/ld.so.conf:
/usr/local/lib
...and run:
ldconfig
That's it - Code::Blocks should now work just fine as all libraries are being found.
Retrieved from "http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux"