mainpostsannouncesoft/projmiscstorage

...aaaaaaand yet another freaking API break

2019/10/01 11:32 PM (UTC -5) | tildearrow

as you can see in the title! I upgraded KDevelop, and suddenly I couldn't launch it anymore.

and why is that? because the Curse of Linux is back:

~/projects/qmltest/build$ kdevelop
kdevelop: error while loading shared libraries: libevent-2.1.so.7: cannot open shared object file: No such file or directory

they... broke... API... again!!!!!
and it's not like the system pops out an error dialog or something, it just, simply, refuses to launch when trying to do so from the desktop, with absolutely no explanation at all. you HAVE to use the terminal to see what is going on, and that is something Average Joe will never do.

these guys simply don't know how to get compatibility right!
they do this:

/lib/libevent-2.1.so.6
/lib/libevent-2.1.so.6.0.4
/lib/libevent_core-2.1.so.6
/lib/libevent_core-2.1.so.6.0.4
/lib/libevent_core.so
/lib/libevent_extra-2.1.so.6
/lib/libevent_extra-2.1.so.6.0.4
/lib/libevent_extra.so
/lib/libevent_openssl-2.1.so.6
/lib/libevent_openssl-2.1.so.6.0.4
/lib/libevent_openssl.so
/lib/libevent_pthreads-2.1.so.6
/lib/libevent_pthreads-2.1.so.6.0.4
/lib/libevent_pthreads.so
/lib/libevent.so

and while this will work, it will fail on the next version of libevent! forcing you to upgrade the whole system (but I really don't want to do this since Mesa 17.1 is a piece of crap as it hangs my card when using darmstadt). and you know what? it's annoying!

here IS how you do it right:

/lib/libevent-2.1.so.6
/lib/libevent-2.1.so.6.0.4
/lib/libevent-2.1.so.7
/lib/libevent-2.1.so.7.0.0
/lib/libevent_core-2.1.so.6
/lib/libevent_core-2.1.so.6.0.4
/lib/libevent_core-2.1.so.7
/lib/libevent_core-2.1.so.7.0.0
/lib/libevent_core.so
/lib/libevent_extra-2.1.so.6
/lib/libevent_extra-2.1.so.6.0.4
/lib/libevent_extra-2.1.so.7
/lib/libevent_extra-2.1.so.7.0.0
/lib/libevent_extra.so
/lib/libevent_openssl-2.1.so.6
/lib/libevent_openssl-2.1.so.6.0.4
/lib/libevent_openssl-2.1.so.7
/lib/libevent_openssl-2.1.so.7.0.0
/lib/libevent_openssl.so
/lib/libevent_pthreads-2.1.so.6
/lib/libevent_pthreads-2.1.so.6.0.4
/lib/libevent_pthreads-2.1.so.7
/lib/libevent_pthreads-2.1.so.7.0.0
/lib/libevent_pthreads.so
/lib/libevent.so

yeah! what is SO wrong with having multiple versions of the same library?!
it's not going to cause any problems, so what's wrong with that approach?

JUST MAKE IT POSSIBLE FOR ME TO RUN MY 10+ YEAR OLD APPLICATION FLAWLESSLY ALREADY!