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 年前檢視次數 215 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南