Why do you need sudo to run your project? Are you developing kernel drivers?
pelya
- 0 Posts
- 11 Comments
pelya@lemmy.worldto
science@lemmy.world•Pruney fingers in water aren't caused by skin absorbing water—it's an active nervous system reflexEnglish
13·24 days agoFuture genetically enhanced super-soldiers: bulging bicepses lined with testosterone ampules, merciless eyes with sclera flooded red, and permanently wrinkled butt cheeks, for better grip of course.
For ages it was safe to download and open random files on Linux, because they simply would not run. Now Linux is a very desirable target for criminals, so they learned to write multiplatform viruses.
The best option would be an automatic sandbox for running random crap downloaded who knows where, and Android does that automatically, but on desktop Linux you need to either create a new user (and remove world-readable permissions from your main account files), or create a custom Docker container, or create a chroot, or launch a VM, all of which require half a day of learning new tools, and then debugging why graphics would not work.
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 toconfigure, but it converts that into an absolute path, snd libtool and linker fail when encountering relative paths inside shared library dependencies.
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.
Use Krita instead. It has a big tiddy anime waifu right on the splash screen.
pelya@lemmy.worldto
Android@lemmy.world•Storage upgrades cost too much, and we need microSD cards backEnglish
01·4 months ago256 GB SD card already costs like a new phone.



I don’t play Freedoom regularly, I just like the sprite. I ported it to KaiOS though.