[lsb-discuss] Trying to link libreadline.a, LSB 4.0 on SLES11
Mats Wichmann
mats at wichmann.us
Tue Apr 19 13:51:08 UTC 2016
On 04/19/2016 05:28 AM, Dallman, John wrote:
> OK, I have the library battery installed for trials, and my link is picking it up. I'm now only missing symbols BC, PC and UP.
>
> I can't find them in any of the archive or sharable libraries in /opt/lsb/lib64.
>
> readelf -sW /lib64/*.so* | grep -w UP shows me:
>
> 573: 00000000002479e8 8 OBJECT GLOBAL DEFAULT 25 UP
> 573: 00000000002479e8 8 OBJECT GLOBAL DEFAULT 25 UP
> 587: 000000000023f608 8 OBJECT GLOBAL DEFAULT 25 UP
> 587: 000000000023f608 8 OBJECT GLOBAL DEFAULT 25 UP
> 671: 0000000000253ba8 8 OBJECT GLOBAL DEFAULT 25 UP
> 671: 0000000000253ba8 8 OBJECT GLOBAL DEFAULT 25 UP
> 685: 000000000024c7c8 8 OBJECT GLOBAL DEFAULT 25 UP
> 685: 000000000024c7c8 8 OBJECT GLOBAL DEFAULT 25 UP
> 66: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND UP
> 66: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND UP
>
> which looks as if they exist in some of the shared objects in there, and writing a bit of shell script tells me that they are from the various incarnations of libncurses. I'll see if I can get them to be picked up...
as I mentioned, they're normally resolved by libtinfo, which is part of
curses. LSB doesn't have a libtinfo as it was considered legacy
interfaces that weren't needed. I looked at "our" copy of libreadline.a
from 4.1 and it looks like there's still a reference there. Not sure
what the story is...
More information about the lsb-discuss
mailing list