Forums - Memory isssue for Shared lib

2 posts / 0 new
Last post
Memory isssue for Shared lib
j.allen
Join Date: 2 Feb 21
Posts: 3
Posted: Mon, 2021-03-15 23:11

When I tried pushing my binary onto the device along with a shared library file the device says it is out of memory. Is there a way to resolve this?

  • Up0
  • Down0
g.ramsingh
Join Date: 17 Sep 20
Posts: 7
Posted: Tue, 2021-03-16 05:10

Hi Allen, you can check the 'df' command for seeing the disk usage, if the memory in root directory is filled completely, then you can add the shared library in the data folder. below running the executable command, you can use the below script for linking the library.

          export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/shared_lib/

else you can create a soft link of shared library in usr/lib/ path.

 

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.