Michael R. Head (suppressingfire) wrote,

Trouble running maemo's scratchbox under Ubuntu Hardy?

I’ve been having trouble running scratchbox after upgrading to hardy. I’ve finally found some workarounds for the issues that creep up.

  • For the Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion ‘(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso’ failed! problem, it’s necessary to disable “vdso”:
    echo 0 | sudo tee /proc/sys/vm/vdso_enabled

  • For problems when building packages (mmap: permission denied when building), it’s necessary to reduce the mmap minimum address:
    echo 4096 | sudo tee /proc/sys/vm/mmap_min_addr



Update: (Thanks to colinleroy):

...to make these changes permanent across reboots, one can add these settings to /etc/sysctl.conf:

vm.vdso_enabled = 0
vm.mmap_min_addr = 4096


Then run
sudo sysctl -p
Tags: linux, maemo, ubuntu
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded  

  • 9 comments