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

linuxmemes

21263 readers
928 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
    [–] dipshit@lemmy.world 106 points 11 months ago (2 children)

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

    [–] GBU_28@lemm.ee 23 points 11 months ago (2 children)
    [–] 0x0@lemmy.dbzer0.com 17 points 11 months ago

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

    [–] dipshit@lemmy.world 7 points 11 months ago (3 children)

    with great power comes great responsibility!

    [–] GBU_28@lemm.ee 8 points 11 months ago (1 children)
    [–] dipshit@lemmy.world 8 points 11 months ago (3 children)

    This incident will be reported.

    load more comments (3 replies)
    load more comments (2 replies)
    [–] winterayars@sh.itjust.works 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.

    [–] dipshit@lemmy.world 4 points 11 months ago

    Someone needs to watch some Snowden.

    [–] 0x4E4F@infosec.pub 75 points 11 months ago (1 children)

    lib*

    There ma, I did it ☺️.

    [–] possiblylinux127@lemmy.zip 25 points 11 months ago (1 children)
    [–] remotelove@lemmy.ca 21 points 11 months ago* (last edited 11 months ago) (2 children)
    [–] pomodoro_longbreak@sh.itjust.works 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

    [–] DaPorkchop_@lemmy.ml 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@lemmy.zip 4 points 11 months ago

    And liboutofhere

    [–] midnight@kbin.social 44 points 11 months ago

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

    [–] BarbecueCowboy@kbin.social 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.

    [–] jodanlime@midwest.social 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)
    [–] dirtydan@iusearchlinux.fyi 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 \;

    [–] BeigeAgenda@lemmy.ca 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

    [–] jet@hackertalks.com 30 points 11 months ago (4 children)

    https://github.com/oasislinux/oasis

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

    [–] ultra@feddit.ro 11 points 11 months ago* (last edited 11 months ago) (2 children)

    This seems really cool!

    But dynamic linking saves space AFAIK

    [–] Takios@feddit.de 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.

    [–] ultra@feddit.ro 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.

    [–] woelkchen@lemmy.world 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)
    [–] woelkchen@lemmy.world 8 points 11 months ago

    Why would you want dynamic linking?

    Because static linking everything sucks.

    load more comments (2 replies)
    [–] kSPvhmTOlwvMd7Y7E@lemmy.world 26 points 11 months ago (2 children)

    pkg-config --list-all

    The bar is too low

    [–] QuazarOmega@lemy.lol 4 points 11 months ago

    Praise be pkg-config

    [–] cypherpunks@lemmy.ml 26 points 11 months ago (1 children)
    [–] einfach_orangensaft@feddit.de 5 points 11 months ago

    thats the spirit

    [–] lolcatnip@reddthat.com 22 points 11 months ago

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

    [–] Steamymoomilk@sh.itjust.works 19 points 11 months ago

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

    [–] RTRedreovic@feddit.ch 19 points 11 months ago (2 children)

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

    [–] 0x4E4F@infosec.pub 6 points 11 months ago

    Hello fellow Void user ☺️.

    load more comments (1 replies)
    [–] pomodoro_longbreak@sh.itjust.works 13 points 11 months ago

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

    [–] avidamoeba@lemmy.ca 13 points 11 months ago (1 children)
    [–] ultra@feddit.ro 11 points 11 months ago (1 children)
    [–] AVincentInSpace@pawb.social 7 points 11 months ago* (last edited 11 months ago) (1 children)
    [–] avidamoeba@lemmy.ca 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
    
    [–] saltesc@lemmy.world 11 points 11 months ago (1 children)
    load more comments (1 replies)
    [–] riodoro1@lemmy.world 11 points 11 months ago

    That would be just me.

    [–] erzatz_cadillac@lemmy.world 9 points 11 months ago* (last edited 11 months ago)
    [–] threegnomes@lemmy.blahaj.zone 8 points 11 months ago (2 children)
    load more comments (2 replies)
    [–] azerial@lemmy.dbzer0.com 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)
    [–] bhamlin@lemmy.world 6 points 11 months ago (1 children)

    None. I use Gentoo and everything is compiled statically.

    load more comments (1 replies)
    [–] AceSLS@ani.social 5 points 11 months ago

    ls -R /usr/lib/

    Easy

    [–] A_Porcupine@lemmy.world 5 points 11 months ago

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

    [–] MajorHavoc@lemmy.world 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.

    [–] palordrolap@kbin.social 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 ›