Linux error while loading shared libraries: cannot open shared object file: No such file or directory

UpdateWhile what I write below is true as a general answer about shared libraries, I think the most frequent cause of these sorts of message is because you’ve installed a package, but not installed the -dev version of that package. Well, it’s not lying – there is no libpthread_rt.so.1 in that listing. You probably need to re-configure and re-build … Read more

how to open an mp3 file with c

I think we cannot open an mp3 file this way , like any regular text file. We have to use a codec , to actually play the mp3 file , or atleast use a library which has one. Do take a look at these places. How to play MP3 files in C? SDL Sound Mix … Read more

How to exclude a directory in find . command

Use the -prune primary. For example, if you want to exclude ./misc: To exclude multiple directories, OR them between parentheses. And, to exclude directories with a specific name at any level, use the -name primary instead of -path.

gcc: error: unrecognized command line option

A more deterministic way of pointing to the exact toolchain you want to use is to provide its full prefix when setting CROSS_COMPILE. This will avoid possible path-related errors, and the information on which exact toolchain was used for building will be embedded in your build script. Full example – installing official Arm gcc toolchain and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)