this post was submitted on 08 Dec 2023
440 points (92.8% liked)

linuxmemes

21160 readers
1596 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 106 points 11 months ago (2 children)

    is this what it means to “own the libs”?

    [–] [email protected] 23 points 11 months ago (2 children)
    [–] [email protected] 17 points 11 months ago

    sudo chown -R $USER:$USER /usr/lib

    [–] [email protected] 7 points 11 months ago (3 children)

    with great power comes great responsibility!

    [–] [email protected] 8 points 11 months ago (1 children)
    [–] [email protected] 8 points 11 months ago (3 children)

    This incident will be reported.

    load more comments (3 replies)
    load more comments (2 replies)
    [–] [email protected] 11 points 11 months ago (1 children)

    I was gonna come in here and say "Joe Biden" but i couldn't figure out how to turn it into a reference to the government spying on people.

    [–] [email protected] 4 points 11 months ago

    Someone needs to watch some Snowden.

    [–] [email protected] 75 points 11 months ago (1 children)

    lib*

    There ma, I did it ☺️.

    [–] possiblylinux127 25 points 11 months ago (1 children)
    [–] [email protected] 21 points 11 months ago* (last edited 11 months ago) (2 children)
    [–] [email protected] 8 points 11 months ago* (last edited 11 months ago) (3 children)

    I don't know when I'll next get the opportunity to ask this, so

    How do people pronounce this: "gee lib cee" or "glib cee"?

    I have the same question about clang

    [–] [email protected] 5 points 11 months ago (2 children)

    idk what the official pronunciation is, but i say "gee lib cee" and "clang" (like the onomatopoeia)

    load more comments (2 replies)
    load more comments (2 replies)
    [–] possiblylinux127 4 points 11 months ago

    And liboutofhere

    [–] [email protected] 44 points 11 months ago

    No libs on my system, only leftists allowed 😤😤😤

    [–] [email protected] 44 points 11 months ago (2 children)

    Having maintained Linux systems for over a decade, I instantly distrust anyone who claims they understand Linux regardless of what they say next.

    [–] [email protected] 21 points 11 months ago

    I have 20 years of Linux experience. I tell people 'I know a few things.'

    Would never say I know everything or understand everything though.

    Just like an xkcd comic I expect to see someone reply that has 30 years experience or something.

    load more comments (1 replies)
    [–] [email protected] 35 points 11 months ago* (last edited 11 months ago) (1 children)

    Name em?

    find / -type f -perm -a=x -exec ldd {} 2>/dev/null \;

    [–] [email protected] 13 points 11 months ago

    It solves the problem but you get several megabytes of output, better pipe that into a file and do some filtering and finish with sort -u

    [–] [email protected] 30 points 11 months ago (4 children)

    https://github.com/oasislinux/oasis

    Why would you want dynamic linking? Afraid you will change your mind?

    [–] [email protected] 11 points 11 months ago* (last edited 11 months ago) (2 children)

    This seems really cool!

    But dynamic linking saves space AFAIK

    [–] [email protected] 15 points 11 months ago (1 children)

    It also makes updating easier. When a lib has a bug it can be fixed by updating one package. If every application on your system was statically linked, each one of these would have to be updated individually.

    [–] [email protected] 5 points 11 months ago (1 children)

    But then you definitely wouldn't have errors with different apps requiring different versions of the same library.

    [–] [email protected] 14 points 11 months ago

    But then you definitely wouldn’t have errors with different apps requiring different versions of the same library.

    That's why libfoo.so.1.2.3, libfoo.so.1.2.4, libfoo.so.1.3.9, etc. exist. Flatpak also exists. Just link to a specific version of a freedesktop.org Runtime.

    load more comments (1 replies)
    [–] [email protected] 8 points 11 months ago

    Why would you want dynamic linking?

    Because static linking everything sucks.

    load more comments (2 replies)
    [–] [email protected] 26 points 11 months ago (2 children)

    pkg-config --list-all

    The bar is too low

    [–] [email protected] 4 points 11 months ago

    Praise be pkg-config

    [–] [email protected] 26 points 11 months ago (1 children)
    [–] [email protected] 5 points 11 months ago

    thats the spirit

    [–] [email protected] 22 points 11 months ago

    Why is Lib capitalized when Linux is case sensitive and Lib files aren't a thing?

    [–] [email protected] 19 points 11 months ago (2 children)

    xbps-query -l | grep -i 'lib'

    [–] [email protected] 6 points 11 months ago

    Hello fellow Void user ☺️.

    load more comments (1 replies)
    [–] [email protected] 19 points 11 months ago

    Ha jokes on you! I just accidently deleted my bootloader!

    [–] [email protected] 13 points 11 months ago

    Pfff easy lib@, lib32@, lib64@, libx32@

    [–] [email protected] 13 points 11 months ago (1 children)
    [–] [email protected] 11 points 11 months ago (1 children)
    [–] [email protected] 7 points 11 months ago* (last edited 11 months ago) (1 children)
    [–] [email protected] 11 points 11 months ago* (last edited 11 months ago)

    I doubted. I checked. Check passed.

    $ sudo apt search liboobs 
    Sorting... Done
    Full Text Search... Done
    liboobs-1-5/jammy 3.0.0-4 amd64
      GObject based interface to system-tools-backends - shared library
    
    liboobs-1-5-dbg/jammy 3.0.0-4 amd64
      GObject based interface to system-tools-backends - debug symbols
    
    liboobs-1-dev/jammy 3.0.0-4 amd64
      GObject based interface to system-tools-backends - dev files
    
    [–] [email protected] 11 points 11 months ago (1 children)
    load more comments (1 replies)
    [–] [email protected] 11 points 11 months ago

    That would be just me.

    [–] [email protected] 9 points 11 months ago* (last edited 11 months ago)
    [–] [email protected] 8 points 11 months ago (2 children)
    load more comments (2 replies)
    [–] [email protected] 7 points 11 months ago (2 children)

    Reminds me of an interview i was in. I was like, this isn't even in my job description... 7 interviews later. Come to find out, they were HAND DEPLOYING Linux servers to try to scale for double of their user base. I feel like I dodged a bullet.

    load more comments (2 replies)
    [–] [email protected] 6 points 10 months ago (1 children)

    None. I use Gentoo and everything is compiled statically.

    load more comments (1 replies)
    [–] [email protected] 5 points 11 months ago

    ls -R /usr/lib/

    Easy

    [–] [email protected] 5 points 10 months ago

    We clearly need a "Periodic Table Song", but for libs. 😅

    [–] [email protected] 4 points 11 months ago

    I named most of them Marlin Jr, and Coral Jr, but I guess we can name one of them Nemo.

    [–] [email protected] 4 points 11 months ago* (last edited 11 months ago)
    $ locate -r '\.so$' | wc -l
    4468
    $ locate -r '/lib[^/]*\.so$' | wc -l
    2488
    
    

    We're going to be here a while.

    load more comments
    view more: next ›