The executable will search for .so files not inside predefined paths like /usr/lib but inside it’s current directory. You may theoretically put . as an argument to configure, but it converts that into an absolute path, snd libtool and linker fail when encountering relative paths inside shared library dependencies.
pelya
- 3 Posts
- 474 Comments
I am using this myself in Android app, where you can write files only inside
/data/data/your.app.id/So naturally, if you want to publish a different app,
your.app.idwill be different, so you need to recompile all your Linux tools that you bundle inside your app.If you are not running your Linux tools on Android, you’d probably be better off using Docker or a chroot.
--prefix=$(pwd)is resolved at compile time. If you move your compiled .so files to a different directory, they stop working.
Do you know how to build portable executables?
configure --prefix=/proc/self/pwdIt even works in .so files and libtool.
pelya@lemmy.worldto
Programmer Humor@programming.dev•Who has the best name in the programming space?
13·2 days agoBrowse Linux credits for some funky names. My favorite is Jos Vos.
pelya@lemmy.worldto
Technology@lemmy.world•If the markets reject OpenAI and Anthropic, the US should nationalize themEnglish
4·2 days agoEach investor will get one CD of ChatGPT training data per share as a bankruptcy settlement. Every CD need to be inserted into a single user-provided server to train the model anew, because it’s saved as a multipart archive.
What’s big, cylindrical, and has two legs on one side? 90% of the time it’s a capacitor.
killall kdeconnectd ; kdeconnect-cli -lFixes connection problems instantly. Yeah, I’ve put that into my crontab.
pelya@lemmy.worldto
Linux@programming.dev•GNOME Receiving Additional Design Help Thanks To Sovereign Tech Agency Fellowship
43·13 days agoOooh. Gnome gets a dedicated software developer. Just imagine what he could add in two years.
DESKTOP
WITH
ICONS
Written in hand-optimized assembly with individual implementation for every CPU on the planet, with integer division function in 10000 lines of code impelented with XOR and bit-shifting which is somehow 0.3% faster than CPU built-in division operation.
I’ve recently used Codeberg. It’s online about two hours per day.
You can append
2>&1 | logger -t my-cronjobto any command, and it will write logs to system journal which you can view with
journalctl
pelya@lemmy.worldto
Linux@programming.dev•No, Linux didn't actually hit 10% market share. Blame bots
20·18 days agoThey exist. But it’s mostly viruses. Every competent script monkey runs their bots on Linux servers, unless it’s someone’s else PC.
pelya@lemmy.worldto
linuxmemes@lemmy.world•Seriously, every time I gotta be out the door. Just let me shut you down.
15·22 days agoJust
poweroffis fine. Why lose extra 2.5 seconds typing two words when one word will suffice?
pelya@lemmy.worldto
Programming@programming.dev•Why does every VPN need to rewrite their own client?
2·23 days agoMost of the proprietary VPN clients are a fork of OpenVPN or Wireguard client with rebranding and a payment button.
pelya@lemmy.worldto
Programming@programming.dev•A shell colon does nothing. Use it anyway. | Filip Roséen
6·23 days agoYou can write
trueinstead of:and it will look better,trueis an actual command.
pelya@lemmy.worldto
Technology@lemmy.world•FreeBSD Just Removed The Last Of Its GPL-Licensed CodeEnglish
39·24 days agoIn a sane and healthy software company, they would contribute their changes back to BSD just because it makes easier to apply latest BSD changes amd security fixes.
Most companies wont. They fork, modify the BSD code for their specific hardware, sell it, and never ever update thier software.
pelya@lemmy.worldto
Android@lemmy.world•Storage upgrades cost too much, and we need microSD cards backEnglish
72·24 days ago256 GB SD card already costs like a new phone.
pelya@lemmy.worldto
Programming@programming.dev•Why does every VPN need to rewrite their own client?
3·24 days agoOpen-source VPN clients do not implement the most important feature - a monthly reminder to pay your bill. Well, and dumbing down the technical UI to one big green button, so even dumbest users would not have trouble with it.





That would be true like 200 years ago, every guy would know some woodworking because you are a farmer and you are poor.