RetroFed Forum
Your home away from modern life.
I'm gaslighting them for the greater good
Post Reply
AuthorMessage
tomatoely sh.itjust.works tomatoely@sh.itjust.works
Joined: 2024-07-28
Quote

How I feel when symlinking a library to act as the "correct" version so my executables stop nagging. Spongebob angrily shouting "You are going to load my shared libraries, and you are going to like it!"
620   Original
Skullgrid lemmy.world Skullgrid@lemmy.world
Joined: 2023-06-29
#2 · Quote Reply

What about setting up a new environment correctly instead?

Says the man that just copied and pasted, then checked in 800mb of shitty angular dependencies just to get Jenkins to be able to build his inherited project.

It's ok, they don't pay me enough to support a family and don't give a shit about this project, and it's for internal use.

76
[object Object] lemmy.ca panda_abyss@lemmy.ca
Joined: 2025-07-20
#3 · Quote Reply

What about setting up a new environment correctly instead? Says the man that just copied and pasted, then checked in 800mb of shitty angular dependencies just to get Jenkins to be able to build his inherited project. It's ok, they don't pay me enough to support a family and don't give a shit about this project, and it's for internal use.

That’s so stupid.

downloads and runs entire Linux distro just to run a python script without managing dependencies

77
Skullgrid lemmy.world Skullgrid@lemmy.world
Joined: 2023-06-29
#4 · Quote Reply

That’s so stupid. downloads and runs entire Linux distro just to run a python script without managing dependencies

.... virtual environments?

8
[object Object] lemmy.ca panda_abyss@lemmy.ca
Joined: 2025-07-20
#5 · Quote Reply

.... virtual environments?

Docker

31
Skullgrid lemmy.world Skullgrid@lemmy.world
Joined: 2023-06-29
#6 · Quote Reply

Docker

ok sure. but FYI, venv is basically the same thing if it's python based.

8
[object Object] lemmy.ca panda_abyss@lemmy.ca
Joined: 2025-07-20
#7 · Quote Reply

ok sure. but FYI, venv is basically the same thing if it's python based.

Yeah, venvs are the answer to “why is that folder 8gb?”

Containers are the answer to “why is my hard drive completely full”

34
IrateAnteater sh.itjust.works IrateAnteater@sh.itjust.works
Joined: 2023-09-07
#8 · Quote Reply

Yeah, venvs are the answer to “why is that folder 8gb?” Containers are the answer to “why is my hard drive completely full”

Containers are the answer to “why is my hard drive completely full”

Hold up, are people just out there not using Alpine for a container base image?

8
[object Object] lemmy.ca panda_abyss@lemmy.ca
Joined: 2025-07-20
#9 · Quote Reply

Containers are the answer to “why is my hard drive completely full” Hold up, are people just out there not using Alpine for a container base image?

Yes

1
neketos851 sopuli.xyz neketos851@sopuli.xyz
Joined: 2023-06-05
#10 · Quote Reply

Containers are the answer to “why is my hard drive completely full” Hold up, are people just out there not using Alpine for a container base image?

meh, someone probably forgot to nuke old images

6
juipeltje lemmy.world juipeltje@lemmy.world
Joined: 2023-07-02
#11 · Quote Reply

Meanwhile as a guix+nix user i can just build it against that old library version because nothing can conflict with each other anyway

35
afk_strats lemmy.world afk_strats@lemmy.world
Joined: 2023-09-06
#12 · Quote Reply

meh, someone probably forgot to nuke old images

Thank you for mentioning this! In thought I was the worlds only moron who filled 1tb with stale docker images.

And that kids, is when I learned about prune - a

6
palordrolap fedia.io palordrolap@fedia.io
Joined: 2024-08-13
#13 · Quote Reply

In my experience, this works about 25% of the time and is cause for extreme nervousness about what will happen if it tries to call a function that isn't actually present in the version it has been fooled into accepting.

It's never actually formatted my entire system even when it's gotten me a little further, perhaps to a different sort of crash, but that fear is always there.

14
DanWolfstone leminal.space DanWolfstone@leminal.space
Joined: 2025-02-19
#14 · Quote Reply

Containers are the answer to “why is my hard drive completely full” Hold up, are people just out there not using Alpine for a container base image?

What's the alpine advantage here?

5
tomatoely sh.itjust.works tomatoely@sh.itjust.works
Joined: 2024-07-28
#15 · Quote Reply

Meanwhile as a guix+nix user i can just build it against that old library version because nothing can conflict with each other anyway

Yea but wheres the fun in that

20
Skullgrid lemmy.world Skullgrid@lemmy.world
Joined: 2023-06-29
#16 · Quote Reply

Yeah, venvs are the answer to “why is that folder 8gb?” Containers are the answer to “why is my hard drive completely full”

Containers are the answer to “why is my hard drive completely full”

What morons!

*Hides 100gb of VM images in /var/lib/libvirt/images/ on his 230gb SSD*

6
IrateAnteater sh.itjust.works IrateAnteater@sh.itjust.works
Joined: 2023-09-07
#17 · Quote Reply

What's the alpine advantage here?

It's pruned down to a very small size. Occupies only a couple mb on disk. By default leaves out a bunch of features that are unnecessary for a container base image.

12
SigHunter discuss.tchncs.de SigHunter@discuss.tchncs.de
Joined: 2024-04-07
#18 · Quote Reply

Meanwhile as a guix+nix user i can just build it against that old library version because nothing can conflict with each other anyway

As a Gentoo user, I can relate ;-)

8
DanWolfstone leminal.space DanWolfstone@leminal.space
Joined: 2025-02-19
#19 · Quote Reply

It's pruned down to a very small size. Occupies only a couple mb on disk. By default leaves out a bunch of features that are unnecessary for a container base image.

Huh! Good to know, ty

4
BCsven lemmy.ca BCsven@lemmy.ca
Joined: 2023-06-17
#20 · Quote Reply

Its like the Gnome extension not available for your version, so you just edit the file to have your version in its list. Usually works

6
corsicanguppy lemmy.ca corsicanguppy@lemmy.ca
Joined: 2023-06-12
#21 · Quote Reply

What about setting up a new environment correctly instead? Says the man that just copied and pasted, then checked in 800mb of shitty angular dependencies just to get Jenkins to be able to build his inherited project. It's ok, they don't pay me enough to support a family and don't give a shit about this project, and it's for internal use.

Jenkins

This is where I spat my tea: not because jenkins is super old but because I still have residual PTSD from using it.

My sympathies.

9
esc piefed.social esc@piefed.social
Joined: 2026-03-24
#22 · Quote Reply

What's the alpine advantage here?

You can get weird problems due to musl when trying to use alpine with software that wasn't expecting it, what else would you want?

4
Skullgrid lemmy.world Skullgrid@lemmy.world
Joined: 2023-06-29
#23 · Quote Reply

Jenkins This is where I spat my tea: not because jenkins is super old but because I still have residual PTSD from using it. My sympathies.

not because jenkins is super old

I mean, I just updated the wallpaper on that machine to be Ask Jeeves for maximum millennial retro points for when I use it and can tell at a glance which stupid VM I am looking at.

4
mlg lemmy.world mlg@lemmy.world
Joined: 2023-07-29
#24 · Quote Reply

The most junk hack I ever did (that somehow worked) was replacing a Tensorflow 1.x library set with the Tensorflow 2.x library set and keeping the original 1.x symlink so that the software using it would think it's still the 1.x. .so file lol.

I presume the API had some deprecated fallback for poorly migrated software, which is why it worked without complaints.

Also bazel is by far the worst build system I have ever used.

8
morto piefed.social morto@piefed.social
Joined: 2025-07-03
#25 · Quote Reply

I remember when games would't work with wine, complaining about some dll, I would get it from some random shady site and drop into the wine system dir. Some of the times, it worked, to even my own surprise

24
terranoid lemmy.cafe terranoid@lemmy.cafe
Joined: 2026-05-08
#26 · Quote Reply

I remember when games would't work with wine, complaining about some dll, I would get it from some random shady site and drop into the wine system dir. Some of the times, it worked, to even my own surprise

"DLL finder", holy shit I remember tools like that... God, now that I know how shared libraries work, that's kinda terrifying people just saw that error message and downloaded whatever the fuck they found whereever they found it...

Must be how some malware spread.

37
dan upvote.au dan@upvote.au
Joined: 2023-06-14
#27 · (edited) Quote Reply

The most junk hack I ever did (that somehow worked) was replacing a Tensorflow 1.x library set with the Tensorflow 2.x library set and keeping the original 1.x symlink so that the software using it would think it's still the 1.x. .so file lol. I presume the API had some deprecated fallback for poorly migrated software, which is why it worked without complaints. Also bazel is by far the worst bu...

COM solved all this stuff over 30 years ago. When you're making breaking changes to an interface, you create a new one while still keeping the old one around (at least for a while). Both interfaces are shipped with the same DLL. Software written for the old interface continues to work, while newer software can take advantage of the extra features in the new interface.

You can do something kinda similar in Linux with sonames, like libfoo.so.1, libfoo.so.2, etc. but there's still a bunch of use cases where you need to use LD_LIBRARY_PATH, and they're entirely separate libraries vs the COM approach where both interfaces are in a single library.

Modern software keeps poorly reinventing the same concept. Software like Home Assistant has breaking changes between releases because they don't have a consistent interface.

9
AliasVortex lemmy.world AliasVortex@lemmy.world
Joined: 2023-06-18
#28 · Quote Reply

Me injecting the makemkv libraries into handbrake/ vlc

5
Skullgrid lemmy.world Skullgrid@lemmy.world
Joined: 2023-06-29
#29 · (edited) Quote Reply

Meanwhile as a guix+nix user i can just build it against that old library version because nothing can conflict with each other anyway

can you teach me how to make a config file that only has lxqt? I tried the thing below replacing XFCE with LXQT and failed loads, I'm tired of wasting gigs and hours trying to make it work when I'm sleepy.

spoiler
;; This is an operating system configuration generated
;; by the graphical installer.
;;
;; Once installation is complete, you can learn and modify
;; this file to tweak the system configuration, and pass it
;; to the 'guix system reconfigure' command to effect your
;; changes.


;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu))
(use-service-modules cups desktop networking ssh xorg wm)

(operating-system
  (locale "en_GB.utf8")
  (timezone "America/place")
  (keyboard-layout (keyboard-layout "gb"))
  (host-name "pc")

  ;; The list of user accounts ('root' is implicit).
  (users (cons* (user-account
                  (name "name")
                  (comment "name")
                  (group "users")
                  (home-directory "/home/name")
                  (supplementary-groups '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))

  ;; Packages installed system-wide.  Users can also install packages
  ;; under their own account: use 'guix search KEYWORD' to search
  ;; for packages and 'guix install PACKAGE' to install a package.
  (packages (append (list
                          (specification->package "xterm")) %base-packages))

  ;; Below is the list of system services.  To search for available
  ;; services, run 'guix system search KEYWORD' in a terminal.
  (services
   (append (list (service xfce-desktop-service-type) ;; I replaced this with  lxqt-desktop-service-type and it didn't "start" the DE properly when I logged in, I just got a blank screen, or worse, it failed to install properly with different "rest of the file"

                 ;; To configure OpenSSH, pass an 'openssh-configuration'
                 ;; record as a second argument to 'service' below.
                 (service openssh-service-type)
                 (set-xorg-configuration
                  (xorg-configuration (keyboard-layout keyboard-layout))))

           ;; This is the default list of services we
           ;; are appending to.
           %desktop-services))
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (targets (list "/dev/vda"))
                (keyboard-layout keyboard-layout)))
  (swap-devices (list (swap-space
                        (target (uuid
                                 "666id")))))

  ;; The list of file systems that get "mounted".  The unique
  ;; file system identifiers there ("UUIDs") can be obtained
  ;; by running 'blkid' in a terminal.
  (file-systems (cons* (file-system
                         (mount-point "/")
                         (device (uuid
                                  "666id"
                                  'ext4))
                         (type "ext4")) %base-file-systems)))

This is just to run in a VM in Virtual Machine Manager

1
[object Object] lemmy.ca panda_abyss@lemmy.ca
Joined: 2025-07-20
#30 · Quote Reply

Containers are the answer to “why is my hard drive completely full” What morons! *Hides 100gb of VM images in /var/lib/libvirt/images/ on his 230gb SSD*

That’s fine because those vms are configured by and run on nix.

2
Skullgrid lemmy.world Skullgrid@lemmy.world
Joined: 2023-06-29
#31 · Quote Reply

That’s fine because those vms are configured by and run on nix.

Nope. They are configured on Debian and run on arch btw

3
Default Username lemmy.dbzer0.com defaultusername@lemmy.dbzer0.com
Joined: 2025-06-12
#32 · Quote Reply

Meanwhile as a guix+nix user i can just build it against that old library version because nothing can conflict with each other anyway

You use both Guix and Nix on the same system?

2
morto piefed.social morto@piefed.social
Joined: 2025-07-03
#33 · Quote Reply

"DLL finder", holy shit I remember tools like that... God, now that I know how shared libraries work, that's kinda terrifying people just saw that error message and downloaded whatever the fuck they found whereever they found it... Must be how some malware spread.

They still exist:

https://www.dll-files.com/

14
DonkeyStar lemmy.world DonkeyStar@lemmy.world
Joined: 2026-07-23
#34 · Quote Reply

"DLL finder", holy shit I remember tools like that... God, now that I know how shared libraries work, that's kinda terrifying people just saw that error message and downloaded whatever the fuck they found whereever they found it... Must be how some malware spread.

Look, man, I gotta play Sim Theme Park. If everything else blows up, that’s a problem for later.

10
minfapper piefed.social minfapper@piefed.social
Joined: 2026-01-28
#35 · Quote Reply

Containers are the answer to “why is my hard drive completely full” What morons! *Hides 100gb of VM images in /var/lib/libvirt/images/ on his 230gb SSD*

Aw man, I love Lemmy. There's so many dumb nerds that are the exact same as me!

5
x0x7 lemmy.world x0x7@lemmy.world
Joined: 2024-03-06
#36 · (edited) Quote Reply

Ubuntu problems. Just use Arch. Then all of your software is from the same era... aka current.

-1
juipeltje lemmy.world juipeltje@lemmy.world
Joined: 2023-07-02
#37 · Quote Reply

You use both Guix and Nix on the same system?

Well i use guix as a full OS but i still have nix installed as well for some packages that aren't in guix

5
x0x7 lemmy.world x0x7@lemmy.world
Joined: 2024-03-06
#38 · (edited) Quote Reply

Docker

Docker took off because Ubuntu can't run current software. Now you need multiple copies of an up to date Linux visualized just to keep it interacting with old software on a base system we insist we need.

If all your docker images prove that an up to date Linux can run, then why not just make the main system up to date and you won't need docker as much.

1
iocase lemmy.zip iocase@lemmy.zip
Joined: 2026-05-11
#39 · Quote Reply

Ubuntu problems. Just use Arch. Then all of your software is from the same era... aka current.

I dont have this problem on Ubuntu somehow (yet?) Why does it happen to people?

2
RustyNova lemmy.world RustyNova@lemmy.world
Joined: 2023-11-24
#40 · Quote Reply

Daily nixos behaviour

10
Pup Biru aussie.zone pupbiru@aussie.zone
Joined: 2023-12-29
#41 · (edited) Quote Reply

I dont have this problem on Ubuntu somehow (yet?) Why does it happen to people?

unlikely if you install from official repos, but it’s a more common occurrence installing random debs or curl totallylegit.ru | bash…. or… installing from rpms :p (which if something only ships via rpm is likely to be enterprise and targeting RHEL rather than fedora, so super old and a non-trivial chance of random patches to libraries)

1
iocase lemmy.zip iocase@lemmy.zip
Joined: 2026-05-11
#42 · Quote Reply

unlikely if you install from official repos, but it’s a more common occurrence installing random debs or curl totallylegit.ru | bash…. or… installing from rpms :p (which if something only ships via rpm is likely to be enterprise and targeting RHEL rather than fedora, so super old and a non-trivial chance of random patches to libraries)

Oh that makes sense. I think my instinct would be trying to get something like that running in a container personally. I dont like globally fucking with dependancies to solve one issue locally

1
juipeltje lemmy.world juipeltje@lemmy.world
Joined: 2023-07-02
#43 · Quote Reply

can you teach me how to make a config file that only has lxqt? I tried the thing below replacing XFCE with LXQT and failed loads, I'm tired of wasting gigs and hours trying to make it work when I'm sleepy. ::: spoiler spoiler ;; This is an operating system configuration generated ;; by the graphical installer. ;; ;; Once installation is complete, you can learn and modify ;; this file to tweak t...

What error are you getting? Does it reconfigure succesfully?

1
Ŝan • 𐑖ƨɤ piefed.zip Sxan@piefed.zip
Joined: 2025-06-18
#44 · Quote Reply

I dont have this problem on Ubuntu somehow (yet?) Why does it happen to people?

Lots of software isn't "officially" available for Debian derivatives so þere's more need for side-loading. You may not have encountered it because you haven't yet come across some software you'd like to use which isn't available in an official repos.

0
MonkderVierte lemmy.zip MonkderVierte@lemmy.zip
Joined: 2025-05-30
#45 · Quote Reply

Why do we even need dynamic linking if we have deduplicating file systems?

4
MonkderVierte lemmy.zip MonkderVierte@lemmy.zip
Joined: 2025-05-30
#46 · Quote Reply

Ubuntu problems. Just use Arch. Then all of your software is from the same era... aka current.

Also happens on Arch.

1
nroth lemmy.world nroth@lemmy.world
Joined: 2024-08-09
#47 · Quote Reply

Also happens on Arch.

Less often though. Way less often

2
nroth lemmy.world nroth@lemmy.world
Joined: 2024-08-09
#48 · Quote Reply

Me injecting the makemkv libraries into handbrake/ vlc

Yeah, see, on Arch that just works

1
nroth lemmy.world nroth@lemmy.world
Joined: 2024-08-09
#49 · Quote Reply

COM solved all this stuff over 30 years ago. When you're making breaking changes to an interface, you create a new one while still keeping the old one around (at least for a while). Both interfaces are shipped with the same DLL. Software written for the old interface continues to work, while newer software can take advantage of the extra features in the new interface. You can do something kinda...

COM was cool and a good idea

1
avocado programming.dev avocado@programming.dev
Joined: 2025-09-11
#50 · Quote Reply

Guys do not do this, it's gonna cause a mess further down the line.

"The problem with creating these links is that they aren't managed in any meaningful way. If that library is removed, the link becomes broken. If the library is upgraded, it may encounter an error because of the link that it doesn't expect to be there."

https://askubuntu.com/questions/461706/is-it-okay-or-not-to-symlink-libraries-to-overcome-cannot-open-shared-object

5
Kangae_Hishiryo scribe.disroot.org Kangae_Hishiryo@scribe.disroot.org
Joined: 2026-04-13
#51 · Quote Reply

Containers are the answer to “why is my hard drive completely full” Hold up, are people just out there not using Alpine for a container base image?

Most of them use bigger images as Debian or even Ubuntu. Eww

1
Post Reply Page 1 of 3   Goto page 1, 2, 3 Last »
Back to top