Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

running a gentoo prefix on galaxy note3[solved]

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

running a gentoo prefix on galaxy note3[solved]

  • Quote

Post by Adel Ahmed » Sat Jan 15, 2022 9:49 am

I am following the adnroid instsructions to isntall a gentoo prefix on my samsung galaxy note3:
https://wiki.gentoo.org/wiki/Project:Android/tarball

I have downloaded and extracted the tarball, then i try to run the start prefix script but I get:

Code: Select all

127|root@ha3g:/data/gentoo # ./startprefix
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
./startprefix: line 23: /data/gentoo/bin/grep: Permission denied
./startprefix: line 37: /data/gentoo/bin/dirname: Permission denied
./startprefix: line 38: /data/gentoo/bin/mkdir: Permission denied



I have followed the exact same steps on a sony xperia M and it worked like a charm, any idea what this might be? I'm running a rooted stock android on this phone(vs a dotos android on the xperia m, maybe it's selinux?)
Last edited by Adel Ahmed on Wed Jan 19, 2022 1:38 pm, edited 1 time in total.
Top
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

  • Quote

Post by Adel Ahmed » Tue Jan 18, 2022 5:52 am

it seems the problem lies within the bash executable, I can run the executables in the prefix normally under the android shell, once I run the bash executable in the prefix no more executables are running(I get premission denied):

Code: Select all

126|root@ha3g:/data/gentoo # bin/ls
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
bin  etc  lib  root  run  sbin  startprefix  tmp  usr  var
root@ha3g:/data/gentoo # bin/bash
ERROR: ld.so: object 'libsigchain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
localhost /data/hdd/32-root # bin/ls
bash: bin/ls: Permission denied
localhost /data/hdd/32-root #
I suspect selinux or some other security suite is preventing me from running executables within bash
Top
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

  • Quote

Post by Adel Ahmed » Wed Jan 19, 2022 1:38 pm

I think it might have been selinux, I have installed a custom rom where SELINUX is set to permissive and nwo I can run the prefix.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic