Explore the field guideDocumentationField guidesCommunitySearchStoreJournal

1.14.x documentation

Common Build Issues

For cmake type builds, -lxxx fails but both ldconfig and pkg-config can query the library information.

  1. For cmake type builds, -lxxx fails but both ldconfig and pkg-config can query the library information.

    The link library path is not in the conventional path, the new path is /runtime/lib.

    Add environment variable LIBRARY_PATH=<libpath>, the build environment currently includes this environment variable by default.

  2. Static library linking fails during build, requiring rebuild with fPIC.

    Use the -fPIC parameter when building static libraries.

  3. Failed to start box during build, as shown below:

    ll-box startup failure

    The kernel does not support unprivilege namespace, enable unprivilege namespace to resolve.

    sudo sysctl -w kernel.unprivileged_userns_clone=1
    
  4. qtbase builds successfully, but cannot build qt applications, showing module,mkspec related errors.

    Low version fuse-overlay mount has issues, causing file content corruption during qtbase commit, making it unusable. Use fuse-overlayfs >= 1.7 version.

Source ↗

Documentation adapted from the versioned OpenAtom-Linyaps source. Examples describe the documented workflow; they are not a claim of a local Linux test.

© UnionTech Software Technology Co., Ltd. · LGPL-3.0-or-later