vcgencmd on Gentoo
4 posts
Anyone get vcgencmd to function on Gentoo? i downloaded the binaries from github specifically the /opt directory when executed is complain of file not found which i am assuming has to do with perhaps the libraries or other dependencies being in the path. Just wanted to check if anyone else has gotten this working before i make an attempt.
- Posts: 23
- Joined: Thu Oct 18, 2012 2:28 am
I wasn't getting this before, but now I am. I just put on the 3.6.11 kernel. After seeing that vcgencmd no longer worked, I copied over what I got from the git repository. Since then, I'm getting the same error:
How come ls can find the file if it isn't there? Is the reported error a bug with bad information? If not, wouldn't that make this a filesystem bug?
Any clues? Thanks for any help!
Jeff
- Code: Select all
rpi0 ~ # /opt/vc/bin/vcgencmd
-su: /opt/vc/bin/vcgencmd: No such file or directory
rpi0 ~ # ls -l /opt/vc/bin/vcgencmd
-rwxr-xr-x 1 root root 15011 Jan 18 23:17 /opt/vc/bin/vcgencmd
How come ls can find the file if it isn't there? Is the reported error a bug with bad information? If not, wouldn't that make this a filesystem bug?
Any clues? Thanks for any help!
Jeff
- Posts: 26
- Joined: Thu Jan 10, 2013 5:25 am
The ebuild actually has git code factored into it. If you just:
You'll have a working ebuild that gets from git, ergo latest userland.
The "no such file or directory" errors are probably from dependencies, check ldd /opt/vc/bin/vcgencmd
- Code: Select all
echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf
mkdir -p /usr/local/portage/media-libs
cp -r /usr/portage/media-libs/raspberrypi-userland /usr/local/portage/media-libs
cd /usr/local/portage/media-libs/raspberrypi-userland
cp raspberrypi-userland-0_pre20121024.ebuild raspberrypi-userland-9999.ebuild
ebuild raspberrypi-userland-9999.ebuild digest
You'll have a working ebuild that gets from git, ergo latest userland.
The "no such file or directory" errors are probably from dependencies, check ldd /opt/vc/bin/vcgencmd
- Posts: 9
- Joined: Sun Jan 06, 2013 4:53 pm
Thanks! Setting up the ebuild to get the latest version fixed the issue. Before I did that, I tried ldd to see what the problem was, but it told me that /opt/vc/bin/vcgencmd didn't exist. ls could still find it. Must be an error message that isn't for the actual problem; an error message that is itself an error.
- Posts: 26
- Joined: Thu Jan 10, 2013 5:25 am