Greengrass IDT failing [Error: 126] Failed to find libc on your device

0

I have an Linux (armv7l) device which I am running GGC service on and am running into an error when executing the IDT:

Reason: Error: 126 DependenciesNotPresentError: The following dependencies do not exist: Failed to find libc on your device.

The running of this test also deletes the users and groups (ggc_user and ggc_group) upon failure.

I am running the test as root user. The Greengrass Dependency Checker reports that all of the required dependencies are met.
Here is the config file:
[
{
"id": "TP",
"sku": "sku1234",
"features": [
{
"name": "os",
"value": "linux"
},
{
"name": "arch",
"value": "armv7l"
}
],
"kernelConfigLocation": "",
"greengrassLocation": "",
"devices": [
{
"id": "TP_DEV_Group_core",
"connectivity": {
"protocol": "ssh",
"ip": "10.6.10.145",
"auth": {
"method": "password",
"credentials": {
"user": "root",
"password": "<password>"
}
}
}
}
]
}
]

========== Test Summary ==========
Execution Time: 31s
Tests Completed: 6
Tests Passed: 5
Tests Failed: 1
Tests Skipped: 0

Test Groups:
ggcdependencies: FAILED
version: PASSED

Failed Tests:
Group Name: ggcdependencies
Test Name: Test System Configs Dependencies system_configs_check
Reason: [Error: 126] DependenciesNotPresentError: The following dependencies do not exist: Failed to find libc on your device. Please refer to https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-gs.html for more information regarding required dependencies for Greengrass.. Refer to the logs and troubleshooting section of IDT User Guide https://docs.aws.amazon.com/greengrass/latest/developerguide/device-tester-for-greengrass-ug.html for more information.

Path to AWS IoT Device Tester Report: /Users/jessecox/Dropbox/Greengrass_Development/idt/devicetester_greengrass_mac/results/f35e71a2-1c78-11ea-9e9c-a860b6004763/awsiotdevicetester_report.xml
Path to Test Execution Logs: /Users/jessecox/Dropbox/Greengrass_Development/idt/devicetester_greengrass_mac/results/f35e71a2-1c78-11ea-9e9c-a860b6004763/logs
Path to Aggregated JUnit Report: /Users/jessecox/Dropbox/Greengrass_Development/idt/devicetester_greengrass_mac/results/f35e71a2-1c78-11ea-9e9c-a860b6004763/GGQ_Report.xml

Any advice on this would be appreciated.

Edited by: JesseCoxPDX on Dec 11, 2019 4:57 PM

질문됨 4년 전216회 조회
2개 답변
0
수락된 답변

Hi,

IDT looks for the libc file under the '/lib' directory. We run this command to confirm this: find /lib** -name 'libc.so**'
Can you please run this command on your device and confirm that your libc file exists under this directory?

Thanks

답변함 4년 전
0

Thank you for this answer. The device I am developing on has some creative linking going on and i was unable to access this library with the command you provided. I created another symlink and it fixed the problem. Thanks very much.

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인