Hello, I have a mangoH yellow device. I was able to successfully build and install sample gpsApp from legato-af. But now I have another problem which gives me this as an output. I am guessing something to do with versions. Urgent help needed. Thanks in advance.
root@swi-mdm9x28-wp:~# logread -f | grep gpsApp
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c app_Start() 3471 | Starting app 'gpsApp'
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libComponent_gpsComponent.so' to '/legato/systems/current/appsWriteable/gpsApp/lib
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libComponent_ctrlComponent.so' to '/legato/systems/current/appsWriteable/gpsApp/li
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libcrypto.so.1.1' to '/legato/systems/current/appsWriteable/gpsApp/lib/libcrypto.s
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libcurl.so.4' to '/legato/systems/current/appsWriteable/gpsApp/lib/libcurl.so.4':
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libssl.so.1.1' to '/legato/systems/current/appsWriteable/gpsApp/lib/libssl.so.1.1'
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libz.so.1' to '/legato/systems/current/appsWriteable/gpsApp/lib/libz.so.1': Alread
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/bin/map' to '/legato/systems/current/appsWriteable/gpsApp/bin/map': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/bin/gpsApp' to '/legato/systems/current/appsWriteable/gpsApp/bin/gpsApp': Already exis
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libcurl.so.4' to '/legato/systems/current/appsWriteable/gpsApp/lib/libcurl.so.4':
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libz.so.1' to '/legato/systems/current/appsWriteable/gpsApp/lib/libz.so.1': Alread
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libcrypto.so.1.1' to '/legato/systems/current/appsWriteable/gpsApp/lib/libcrypto.s
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libssl.so.1.1' to '/legato/systems/current/appsWriteable/gpsApp/lib/libssl.so.1.1'
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/bin/date' to '/legato/systems/current/appsWriteable/gpsApp/bin/date': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/bin/sh' to '/legato/systems/current/appsWriteable/gpsApp/bin/sh': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/etc/hosts' to '/legato/systems/current/appsWriteable/gpsApp/etc/hosts': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/etc/nsswitch.conf' to '/legato/systems/current/appsWriteable/gpsApp/etc/nsswitch.conf': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/etc/resolv.conf' to '/legato/systems/current/appsWriteable/gpsApp/etc/resolv.conf': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/etc/ssl/certs/ca-certificates.crt' to '/legato/systems/current/appsWriteable/gpsApp/etc/ssl/certs/ca-certificates.crt': Already exi
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/lib/libnss_compat.so.2' to '/legato/systems/current/appsWriteable/gpsApp/lib/libnss_compat.so.2': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/lib/libnss_dns.so.2' to '/legato/systems/current/appsWriteable/gpsApp/lib/libnss_dns.so.2': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/lib/libnss_files.so.2' to '/legato/systems/current/appsWriteable/gpsApp/lib/libnss_files.so.2': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/lib/libresolv.so.2' to '/legato/systems/current/appsWriteable/gpsApp/lib/libresolv.so.2': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/usr/bin/curl' to '/legato/systems/current/appsWriteable/gpsApp/usr/bin/curl': Already exists
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2154 | Created file link '/dev/null' to '/legato/systems/current/appsWriteable/gpsApp/dev/null'.
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2154 | Created file link '/dev/random' to '/legato/systems/current/appsWriteable/gpsApp/dev/random'.
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2154 | Created file link '/dev/urandom' to '/legato/systems/current/appsWriteable/gpsApp/dev/urandom'.
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | proc.c proc_Start() 1403 | Starting process 'gpsApp' with pid 14285
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[14285]/supervisor T=main | proc.c proc_Start() 1363 | Execing 'gpsApp'
May 12 17:19:19 swi-mdm9x28-wp user.err Legato: =ERR= | gpsApp[14285] | gpsApp: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | proc.c proc_SigChildHandler() 2079 | Process 'gpsApp' (PID: 14285) has exited with exit code 127.
May 12 17:19:19 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[1063]/supervisor T=main | app.c app_SigChildHandler() 4066 | Process 'gpsApp' in app 'gpsApp' faulted: Ignored.
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c app_StopComplete() 4753 | app 'gpsApp' has stopped.
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application 'gpsApp' has stopped.
May 12 17:19:19 swi-mdm9x28-wp user.err Legato: =ERR= | gpsApp[14285] | gpsApp: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Do you have this ssl lib in module?
How did you configure this ssl lib in adef/cdef file?
But I can see :
May 12 17:19:19 swi-mdm9x28-wp user.info Legato: INFO | supervisor[1063]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/gpsApp/read-only/lib/libssl.so.1.1' to '/legato/systems/current/appsWriteable/gpsApp/lib/libssl.so.1.1'
I have’nt changed anything on gpsApp.c . I just changed somethings on geocoding.c and Component.cdef on gpsComponent file. Also I am new to legato platform so keep in mind that you can ask me to check any insignificant detail.
Sorry unfortunately I can’t because I am a new user. The system prompts me with “Sorry, new users can not upload attachments.” message. I compiled it on vmware with the mkapp -t wp77xx gpsApp command.
No they are not as I said I used vmware so these are Ubuntu files. I uploaded them and checked if they work. They work on Ubuntu but unfortunately as you said windows can’t recognize them. Thank you for your files. By the way I want to say thank you for the ridicilously fast response time appreciated Also what kind of openssl version are you using mine is 1.1 on my computer and 1.0.2 on my target device does this have anything to do with my situation what do you think?
What FW version are you using for your WP77 module?
what legato version are you using in VSCode?
Probably this is not matching between the toolchain and your module.
I don’t know how can I check it? I used every command I know. It is using this legato verison 19.11.6_11907fe16f1fa0cf0c1fca81e555ade1_modified. I know that much.