[OpenIndiana-discuss] OI151a4: ld.so.1: cadaver: fatal: relocation error: file /usr/lib/libreadline.so.5: symbol tgetent: referenced symbol not found

Udo Grabowski (IMK) udo.grabowski at kit.edu
Wed Jun 20 17:07:36 UTC 2012


On 20/06/2012 18:51, Gordon Ross wrote:
> On Wed, Jun 20, 2012 at 8:46 AM, Udo Grabowski (IMK)
> <udo.grabowski at kit.edu>  wrote:
>> On 20/06/2012 14:31, Hans J. Albertsson wrote:
>>>
>>> I installed the cadaver WebDav program from SFE, and when running it, I
>>> get the
>>> below error.
>>>
>>>
>>> cadaver http://www.branneriet.se/
>>> .....
>>> Connection to `www.branneriet.se' closed.
>>> ld.so.1: cadaver: fatal: relocation error: file /usr/lib/libreadline.so.5:
>>> symbol tgetent: referenced symbol not found
>>> Killed
>>>
>>>
>>> Before I spend a lot of effort finding a cure ( I suppose it's a problem
>>> in
>>> libreadline linking termcap) I thought to ask if there's a known easy fix.
>>>
>>> An alternative
>
> Huh.  After I implemented https://www.illumos.org/issues/1168
> I thought libreadline got fixed so it would always find either the
> tgetent from the calling program, or the one in libtermcap.
> Right: here is the second issue, for readline:
> https://www.illumos.org/issues/1206
>
> Unfortunately it looks like this never got integrated.
> What does this command show you:
>    elfdump -d /usr/lib/libreadline.so.5
>

oi_151a4:

Dynamic Section:  .dynamic
      index  tag                value
        [0]  NEEDED            0x381b              libc.so.1
        [1]  SONAME            0x1                 libreadline.so.5
        [2]  HASH              0x1c4
        [3]  STRTAB            0x4c80
        [4]  STRSZ             0x3a57
        [5]  SYMTAB            0x2240
        [6]  SYMENT            0x10
        [7]  SUNW_SYMTAB       0x16f0
        [8]  SUNW_SYMSZ        0x3590
        [9]  SUNW_SORTENT      0x4
       [10]  SUNW_SYMSORT      0x8c80
       [11]  SUNW_SYMSORTSZ    0xb78
       [12]  CHECKSUM          0xc96b
       [13]  VERNEED           0x86d8
       [14]  VERNEEDNUM        0x1
       [15]  RELCOUNT          0xfc
       [16]  PLTRELSZ          0xaa0
       [17]  PLTREL            0x11
       [18]  JMPREL            0xc158
       [19]  REL               0x97f8
       [20]  RELSZ             0x3400
       [21]  RELENT            0x8
       [22]  FLAGS             0                   0
       [23]  FLAGS_1           0                   0
       [24]  SUNW_STRPAD       0x200
       [25]  SUNW_LDMACH       0x3e                EM_AMD64
       [26]  PLTGOT            0x3c094
    [27-37]  NULL              0


-- 
Dr.Udo Grabowski    Inst.f.Meteorology a.Climate Research IMK-ASF-SAT
www-imk.fzk.de/asf/sat/grabowski/ www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology            http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026



More information about the OpenIndiana-discuss mailing list