Ubuntu 15.04, CLion, LibCurl, curl version – 7.38.00. When i’m compiling this code: there are no errors or warnings. But, when i’m running the executable file, incomes the error: ./a.out: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/lib/x86_64-linux-gnu/lib…
Tag: linux
How to run docker image in windows [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Kernel booting error – Can I get the log?
I replaced the kernel with the new one I built. Unfortunately, the system hangs during the booting process of the kernel. The booting messages shown just in few seconds, is that possible to get these booting messages ( logs ) ? Thanks Answer They are stored in /var/log/kern.log
Wget Directory, Where? How? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Putting a Struct into Shared Memory
I have created two programs a server.c and a client.c. I have a struct that holds an age. I have got the programs working together to read the shared memory and to change the shared memory, however this only works when using one variable in the struct. As soon as i have more than one variable in the struct i
What are the recommended GNU linker options to specify $ORIGIN in RPATH?
Assume my platform is vanilla (non-embedded) x86-64 Linux using GNU build toolchain (GCC, etc.). To specify $ORIGIN in RPATH, I know about the linker option: -Wl,-rpath,’$$ORIGIN’. Today, I discovered another option: -Wl,-z,origin. Should I always include -Wl,-z,origin when using -Wl,-rpath,’…
Specific reasons to use |= instead of =
I am currently looking over some code in the Linux kernel (thermal management). In some places there is a return value used to signal errors, which is set to 0 at the beginning of the function. Then when calling a function which may fail it is set to the new value using |= instead of =. Here is an example:
Merged Socket->recv with perl on Linux
Sorry for the bad English, it is not my mother tongue. I am new to perl programming and I’m facing a tedious problem for some hours now. I have coded a simple Client-Server using IO::Socket::INET. It works flawlessly on Windows, but is broken on Linux. On Linux, the first recv get both of server’s…
Qt5 Change Softlink of Currently Running Executable
I created 2 simple Qt5.5 test apps on Linux, “red” and “green”. I setup an initial soft link in the current directory that looks like this: I want to be able to launch the gui app at any time and have it switch the softlink to the other ‘color’ app. So when I run gui and it…
passing bash array to python list
I’m trying to pass an array from bash to python using the old getenv method however I keep getting this error: could someone please explain why the $mdcNo isn’t passing from bash to python successfully? Code .sh: code .py: Answer If you want to pass a shell array to the Python script, your best be…