this post was submitted on 08 Dec 2023
437 points (92.9% liked)

linuxmemes

20408 readers
961 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

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] 102 points 9 months ago (2 children)

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

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

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

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

with great power comes great responsibility!

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

This incident will be reported.

load more comments (3 replies)
load more comments (2 replies)
[–] [email protected] 11 points 9 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 9 months ago

Someone needs to watch some Snowden.

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

lib*

There ma, I did it ☺️.

[–] [email protected] 25 points 9 months ago (1 children)
[–] [email protected] 21 points 9 months ago* (last edited 9 months ago) (2 children)
[–] [email protected] 8 points 9 months ago* (last edited 9 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 9 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)
[–] [email protected] 4 points 9 months ago

And liboutofhere

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

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

[–] [email protected] 42 points 9 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] 20 points 9 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 9 months ago* (last edited 9 months ago) (1 children)

Name em?

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

[–] [email protected] 13 points 9 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 9 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 9 months ago* (last edited 9 months ago) (2 children)

This seems really cool!

But dynamic linking saves space AFAIK

[–] [email protected] 15 points 9 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 9 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 9 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 9 months ago

Why would you want dynamic linking?

Because static linking everything sucks.

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

thats the spirit

[–] [email protected] 26 points 9 months ago (2 children)

pkg-config --list-all

The bar is too low

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

Praise be pkg-config

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

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

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

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

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

Hello fellow Void user ☺️.

load more comments (1 replies)
[–] [email protected] 18 points 9 months ago

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

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

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

[–] [email protected] 13 points 9 months ago (1 children)
[–] [email protected] 11 points 9 months ago (1 children)
[–] [email protected] 7 points 9 months ago* (last edited 9 months ago) (1 children)
[–] [email protected] 10 points 9 months ago* (last edited 9 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 9 months ago

That would be just me.

[–] [email protected] 11 points 9 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 9 points 9 months ago* (last edited 9 months ago)
[–] [email protected] 7 points 9 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 7 points 9 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 9 months ago (1 children)

None. I use Gentoo and everything is compiled statically.

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

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

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

ls -R /usr/lib/

Easy

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

We're going to be here a while.

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

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

load more comments
view more: next ›