Rate This Document
Findability
Accuracy
Completeness
Readability

Dynamic Libraries Not Found When Checking Whether Accelerators of the zlib Library Takes Effect

Symptom

After KAE is installed using the source code, run the ldd /usr/local/kaezip/lib/libz.so.1.2.11 command to check whether the zlib library links dynamic libraries. An error message is displayed, indicating that libraries such as libkaezip.so and libwd.so.2 are not found.

Key Process and Cause Analysis

None

Conclusion and Solution

  1. Modify the ld.so.conf file.
    1
    vi /etc/ld.so.conf
    
  2. Add the following content to the end of the file:
    /usr/local/lib
    /usr/local/kaezip/lib
  3. Make the configuration take effect.
    1
    ldconfig
    

    Confirm that the zlib library successfully links the dynamic libraries.