I have problem using gcc/g++ after I changed the machine I use, I installed gcc-4.9.2 in my previous machine, when I moved to the new machine, I copied gcc folder to the new machine. When I try to use I get this error : I have already checked this question : `GLIBC_2.11′ not found If it says right, the version
Tag: glibc
Visual Studio Code Segmentation Fault on Debian
I downloaded and extracted VS Code in a Debian x64 VM and tried to run it. It complained about missing glibc libraries (I have 2.13, it needs 2.15). I followed these steps to get Ubuntu DEBs. Using those, VS Code throws a segmentation fault when I run it. gdb tells me: Why won’t Visual Studio Code run for me in
Why aren’t glibc’s function addresses randomized when ASLR is enabled?
In trying to understand ASLR, I built this simple program: ALSR seems to be enabled: and I used GCC to compile the program: Every time I run this program, it prints the same address (0x400450). I would expect this program to print a different address each time if glibc is loaded at a random address. This is surprising to me,
How to view the list of c library functions in Linux? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 6 years ago. Improve this question I’m a newbie in Linux programming. I found that the way
How to recover after deleting the symbolic link libc.so.6?
In our server the symbolic link to libc.so.6 has been deleted. Now none of the binaries in the system work. To fix this, I tried: which, as expected, gives me: I also tried: with the same result. Further unsuccessful attempts include cp, mv, cat. I’m connected via ssh and I believe I will not be able to open another session
Configuring for a compiler different than the default while running configure
I am compiling the glibc library. Before I could do that, I need to run configure. However, for compiling glibc, I need to use the gcc compiler which is not the default compiler on the machine. The manual says the following. Now my problem is that I don’t have any administrative rights on that machine. So how can I use
Linux static linking is dead?
In fact, -static gcc flag on Linux doesn’t work now. Let me cite from the GNU libc FAQ: 2.22. Even statically linked programs need some shared libraries which is not acceptable for me. What can I do? {AJ} NSS (for details just type `info libc “Name Service Switch”‘) won’t work properly without shared libraries. NSS allows using different services (e.g.