Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

libraries

What is the default value of LD_LIBRARY_PATH?

August 10, 2022 by Magenaut

If a shared object dependency does not contain a slash, then it is
searched for in the following order:

Categories Q&A, Unix & Linux Tags defaults, ld, libraries, path Leave a comment

What is /lib64/ld-linux-x86-64.so.2 and why can it be used to execute file?

August 10, 2022 by Magenaut

Recently, I have learned a trick that if a file lacks executable permissions, we can run that file by using /lib64/ld-linux-x86-64.so.2.

Categories Q&A, Unix & Linux Tags files, libraries, linux Leave a comment

Loading of shared libraries and RAM usage

August 9, 2022 by Magenaut

I’m wondering about the way Linux manages shared libraries. (actually I’m talking about Maemo Fremantle, a Debian-based distro released in 2009 running on 256MB RAM).

Categories Q&A, Unix & Linux Tags executable, libraries, memory, ram Leave a comment

Why are shared libraries executable?

August 9, 2022 by Magenaut

Why have almost all the shared libraries in /usr/lib/ have the executable permission bit set? I don’t see any use case for executing them. Some do manage to hook-up some form of main function to print a short copyright and version note, but many don’t do even that and segfault upon execution.

Categories Q&A, Unix & Linux Tags conventions, libraries Leave a comment

where will the system search for dynamic libraries?

August 8, 2022 by Magenaut

The dynamic linker of the GNU C Library and its derivative Embedded
GLIBC implement a rather complicated algorithm for searching for
shared libraries. The basic search order is:

Categories Q&A, Unix & Linux Tags libraries Leave a comment

How to change the paths to shared libraries (.so files) for a single terminal instance

August 6, 2022 by Magenaut

I want to remove some of the paths the linker uses to find .so libraries for testing purposes.

Categories Q&A, Unix & Linux Tags dependencies, libraries, linker, shared-library Leave a comment

Is there a way to determine what packages or libraries should be loaded to support an executable?

August 6, 2022 by Magenaut

There is an executable I want to install on a computer that I can’t recompile that wasn’t built as a package, and I want to download the libraries it requires to run them.

Categories Q&A, Unix & Linux Tags dependencies, libraries, package-management Leave a comment

Why does LD keep outputting “no version information available”

August 6, 2022 by Magenaut

On every loading of a lib, I get the error:

Categories Q&A, Unix & Linux Tags dynamic-linking, elf, libraries Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress