• 4 Posts
  • 507 Comments
Joined 3 years ago
cake
Cake day: July 3rd, 2023

help-circle




  • 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.


  • 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.id will 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.









  • You totally should power your Raspberry Pi through GPIO pins, once you grow up from blinking LEDs on your table to assembling some automation equipment that you expect to work at other people’s premises.

    MicroUSB connection is the one biggest point of failure in any kind of Raspberry Pi automation project. Type-C socket is better, but it still depends on your cable to have appropriate quality, and if your project involves vibration, the cable may and will slip out.

    If you don’t want your Pi to randomly stop working in two years, choose a good-quality power supply and solder it to 40-pin DuPont socket header. Do not use individual socket wires, they need very little effort to get loose. If you’re paranoid, you can solder it directly to Raspberry Pi pins, but obviously you won’t be using that particular Pi for any other project, also you should use heat shrink tubes.

    but the only thing that’s broken is the fuse which can easily be replaced.

    Lolno. You’re not replacing any SMD fuses without a heat gun and a workbench with a magnifying glass. Raspberry Pi 4 and 5 do not have fuses at all, overvoltage directly fries your PMIC and the replacement is impossible to find.

    Source: I own a fried RPi 4, and several RPi Zero, one of which failed to boot because MicroUSB cable wiggled in a socket.