This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Library files .la and .so are missing in the SDK linux-devkit

Other Parts Discussed in Thread: AM3517

Dear all

I am trying to build an application for dm8148 using the ezSDK (ezsdk_5_02_01_58_dm814x-c6a814x-am387x_Release_Notes.pdf). The application needs to be linked with the glib-2.0 library. However, i could not find libglib-2.0.la and libglib-2.0.la.so files in the linux-devkit (linux-devkit/arm-none-linux-gnueabi/usr/lib/). Header files are present. So i tried to use .so files in the extracted file system from filesystem/ezsdk-dm814x-evm-rootfs.tar.gz. Even then build failed (libtool: link: cannot find the library `usr/lib/libglib-2.0.la' or unhandled argument) since  .la files are missing.

Did i miss something while installing the SDK?

How do i get .la files and build using glib in the SDK?

Thanks in advance.

Regards

Sinoj

  • Hi Sinoj,

    Can you please check with the latest release of the EZSDK - 5.03.01.15? I don't think we are clobbering .la or .so files either way but the latest one may not have this issue. 

  • Hi Siddharth,

    Thanks for the response.

    Let me check with the latest release.

    Thanks & Regards,

    Sinoj

     

  • sinoj issac said:

    Dear all

    I am trying to build an application for dm8148 using the ezSDK (ezsdk_5_02_01_58_dm814x-c6a814x-am387x_Release_Notes.pdf). The application needs to be linked with the glib-2.0 library. However, i could not find libglib-2.0.la and libglib-2.0.la.so files in the linux-devkit (linux-devkit/arm-none-linux-gnueabi/usr/lib/). Header files are present. So i tried to use .so files in the extracted file system from filesystem/ezsdk-dm814x-evm-rootfs.tar.gz. Even then build failed (libtool: link: cannot find the library `usr/lib/libglib-2.0.la' or unhandled argument) since  .la files are missing.

    Did i miss something while installing the SDK?

    How do i get .la files and build using glib in the SDK?

    Thanks in advance.

    Regards

    Sinoj

    You need to use pkg-config.  Using 5.02 and am3517 as an example (but this applies anywhere for 5.02/5.03 and probably a few older versions too):

    trini@bill-the-cat:~/work/ezsdk/v5.02/ti-sdk-am3517-evm-05.02.00.00/linux-devkit$ source environment-setup

    [linux-devkit]:~/work/ezsdk/v5.02/ti-sdk-am3517-evm-05.02.00.00/linux-devkit> pkg-config glib-2.0 --libs

    -L/home/trini/work/ezsdk/v5.02/ti-sdk-am3517-evm-05.02.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib -lglib-2.0 
    [linux-devkit]:~/work/ezsdk/v5.02/ti-sdk-am3517-evm-05.02.00.00/linux-devkit> pkg-config glib-2.0 --cflags
    -I/home/trini/work/ezsdk/v5.02/ti-sdk-am3517-evm-05.02.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/include/glib-2.0 -I/home/trini/work/ezsdk/v5.02/ti-sdk-am3517-evm-05.02.00.00/linux-devkit/arm-arago-linux-gnueabi/usr/lib/glib-2.0/include