1 Reply Latest reply on Oct 26, 2015 4:47 PM by Intel_Peter

    Problems about loading .so on edison

    cer1991

      Hi,everyone.

      I am going to use .so file to my project but I meet problems on it(yocto).

      The problems are that:


      1.

      root@myedison2:~/test# echo "/home/root/test" >> /etc/ld.so.conf

      sh: write error: No space left on device

       

      2.

      root@myedison2:~/test# ldconfig

      ldconfig: Writing of cache data failed: No space left on device

       

      Because of them, I can not load my own .so to my bin file.


      At now,the only way to use my .so is that :export LD_LIBRARY_PATH=/home/root/test:$LD_LIBRARY_PATH 

      But I need to do it every time when I power on edison,if I use this way.


      Can anyone tell me how to fix it?


      Thanks,

        • 1. Re: Problems about loading .so on edison
          Intel_Peter

          Hello cer1991,

           

          It looks like this issue is not related to the ‘.so’ file but to the Edison's storage being full. Which image are you using? You can find out which image you are using the command:

           

          configure_edison --version

           

          If you are on anything below 159, I suggest you to upgrade it. You will find the latest official image in IoT - Intel® Edison Board Download | Intel® Developer Zone. The reason why I'm suggesting you this is because older versions of the Edison's image had a different partition size. The latest version increases the storage available to use, therefore this might help you get rid of this issue.

           

          If you are already on this version, then, your memory is full and you will have to remove some files to create some extra space.

           

          Peter.