cal dependency issue?

Issue #153 resolved
Christian Jorgensen created an issue

I installed the new util-linux package, but when running the cal utility, I get the following error:

Could not load program cal:
rtld: 0712-001 Symbol libutil_err was referenced
      from module cal(), but a runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol libutil_errx was referenced
      from module cal(), but a runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol libutil_warn was referenced
      from module cal(), but a runtime definition
            of the symbol was not found.
rtld: 0712-001 Symbol libutil_warnx was referenced
      from module cal(), but a runtime definition
            of the symbol was not found.
rtld: 0712-002 fatal error: exiting.

Seems like there is something missing? Like the cal utility was build with a reference to a library libutil that was not included or upgraded during install of the util-linux package….

Comments (7)

  1. Musse

    util-linux package is now rebuilt to require libutil2 >= 0.10.0. Please upgrade and report back. Thanks!

  2. Christian Jorgensen reporter

    I get the following error after the rebuild:

    $ yum --disablerepo="*" --enablerepo=ibm install util-linux
    Loaded plugins: changelog
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package util-linux.ppc64 0:2.35.1-2 will be updated
    ---> Package util-linux.ppc64 0:2.35.1-3 will be an update
    --> Processing Dependency: libutil2 >= 0.10.0 for package: util-linux-2.35.1-3.ppc64
    --> Finished Dependency Resolution
    Error: Package: util-linux-2.35.1-3.ppc64 (ibm)
               Requires: libutil2 >= 0.10.0
               Installed: libutil2-0.9.1-1.ppc64 (@ibm)
                   libutil2 = 0.9.1-1
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    

    Is the new libutil2 in the repository?

  3. Christian Jorgensen reporter

    It works now - thanks!

     yum upgrade --changelog
    Loaded plugins: changelog
    ibm                                                                                                                                            | 3.6 kB  00:00:00
    ibm/primary_db                                                                                                                                 | 379 kB  00:00:00
    Setting up Upgrade Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package libsmartcols1.ppc64 0:2.35.1-2 will be updated
    ---> Package libsmartcols1.ppc64 0:2.35.1-3 will be an update
    ---> Package libutil2.ppc64 0:0.9.1-1 will be updated
    ---> Package libutil2.ppc64 0:0.10.0-1 will be an update
    ---> Package libuuid1.ppc64 0:2.35.1-2 will be updated
    ---> Package libuuid1.ppc64 0:2.35.1-3 will be an update
    ---> Package util-linux.ppc64 0:2.35.1-2 will be updated
    ---> Package util-linux.ppc64 0:2.35.1-3 will be an update
    --> Finished Dependency Resolution
    
    Changes in packages about to be updated:
    
    ibm/other_db                                                                                                                                   | 132 kB  00:00:00
    ChangeLog for: libutil2-0.10.0-1.ppc64
    * Mon Feb  1 13:00:00 2021 Abdirahim Musse <abdirahim.musse@ibm.com> - 0.10.0
    - Update to 0.10.0 for err, warn, and friends
    
    ChangeLog for: libsmartcols1-2.35.1-3.ppc64, libuuid1-2.35.1-3.ppc64, util-linux-2.35.1-3.ppc64
    * Tue Mar  9 13:00:00 2021 - Abdirahim Musse <abdirahim.musse@ibm.com> - 2.35.1
    - Add requirement for libutil2 >= 0.10.0
    - To ensure libutil.so.2 built with symbols for err, warn, and flock is installed
    
    
    Dependencies Resolved
    
    ======================================================================================================================================================================
     Package                                      Arch                                 Version                                   Repository                          Size
    ======================================================================================================================================================================
    Updating:
     libsmartcols1                                ppc64                                2.35.1-3                                  ibm                                193 k
     libutil2                                     ppc64                                0.10.0-1                                  ibm                                 19 k
     libuuid1                                     ppc64                                2.35.1-3                                  ibm                                 75 k
     util-linux                                   ppc64                                2.35.1-3                                  ibm                                2.1 M
    
    Transaction Summary
    ======================================================================================================================================================================
    Upgrade       4 Packages
    
    Total download size: 2.4 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/4): libsmartcols1-2.35.1-3.ibmi7.2.ppc64.rpm                                                                                                | 193 kB  00:00:00
    (2/4): libutil2-0.10.0-1.ibmi7.2.ppc64.rpm                                                                                                     |  19 kB  00:00:00
    (3/4): libuuid1-2.35.1-3.ibmi7.2.ppc64.rpm                                                                                                     |  75 kB  00:00:00
    (4/4): util-linux-2.35.1-3.ibmi7.2.ppc64.rpm                                                                                                   | 2.1 MB  00:00:01
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                 792 kB/s | 2.4 MB     00:03
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating   : libutil2-0.10.0-1.ppc64                                                                                                                            1/8
      Updating   : libuuid1-2.35.1-3.ppc64                                                                                                                            2/8
      Updating   : libsmartcols1-2.35.1-3.ppc64                                                                                                                       3/8
      Updating   : util-linux-2.35.1-3.ppc64                                                                                                                          4/8
      Cleanup    : util-linux-2.35.1-2.ppc64                                                                                                                          5/8
      Cleanup    : libsmartcols1-2.35.1-2.ppc64                                                                                                                       6/8
      Cleanup    : libuuid1-2.35.1-2.ppc64                                                                                                                            7/8
      Cleanup    : libutil2-0.9.1-1.ppc64                                                                                                                             8/8
    
    Updated:
      libsmartcols1.ppc64 0:2.35.1-3              libutil2.ppc64 0:0.10.0-1              libuuid1.ppc64 0:2.35.1-3              util-linux.ppc64 0:2.35.1-3
    
    Complete!
    

    And the output of the updated cal utility:

    → cal
         March 2021
    Su Mo Tu We Th Fr Sa
        1  2  3  4  5  6
     7  8  9 10 11 12 13
    14 15 16 17 18 19 20
    21 22 23 24 25 26 27
    28 29 30 31
    

    Thanks once again. 😄

  4. Log in to comment