Results 1 to 5 of 5

Thread: Resolving dependencies around "libjli"

  1. #1

    Question Resolving dependencies around "libjli"

    I have installed the current software package "OpenJDK" which provides also the library file "libjli.so".
    Now I am wondering about the following display.
    Code:
    elfring@Sonne:~> ldd /usr/bin/java
            …
            libjli.so => not found
            …
    How should corresponding dependencies be completed?

  2. #2
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    142

    Default Re: Resolving dependencies around "libjli"

    What's the output of:
    Code:
    cat /usr/bin/java/lib*

  3. #3
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,004

    Default Re: Resolving dependencies around "libjli"

    The error is not really an error at all.

    Java correctly finds libjli.so (for 1.8.0) open("/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/bin/../lib/amd64/jli/libjli.so", O_RDONLY|O_CLOEXEC) = 3
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  4. #4

    Question Re: Resolving dependencies around "libjli"

    Quote Originally Posted by knightron View Post
    Code:
    cat /usr/bin/java/lib*
    Would you like to see any entries from an other directory?

  5. #5

    Question Re: Resolving dependencies around "libjli"

    Quote Originally Posted by Miuku View Post
    The error is not really an error at all.
    Now I have noticed that symbolic links influence the corresponding display.

    Code:
    elfring@Sonne:~> ll $(which java) /etc/alternatives/java && ldd $(which java) /etc/alternatives/java /usr/lib64/jvm/jre-1.8.0-openjdk/bin/java 
    lrwxrwxrwx 1 root root 41 14. Dez 17:55 /etc/alternatives/java -> /usr/lib64/jvm/jre-1.8.0-openjdk/bin/java
    lrwxrwxrwx 1 root root 22 13. Dez 20:33 /usr/bin/java -> /etc/alternatives/java
    /usr/bin/java:
            …
            libjli.so => not found
            …
    /etc/alternatives/java:
            …
            libjli.so => not found
            …
    /usr/lib64/jvm/jre-1.8.0-openjdk/bin/java:
            …
            libjli.so => /usr/lib64/jvm/jre-1.8.0-openjdk/bin/../lib/amd64/jli/libjli.so (0x00007f6c76ffe000)
            …
    I such a difference worth for further considerations?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •