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

gefragt vor 4 Jahren215 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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

beantwortet vor 4 Jahren
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.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen