Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419659 - dev-libs/stfl-0.22 missing linked libraries
Summary: dev-libs/stfl-0.22 missing linked libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-04 20:34 UTC by Jan Krajdl
Modified: 2012-10-26 16:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.22 KB, text/plain)
2012-06-04 20:34 UTC, Jan Krajdl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Krajdl 2012-06-04 20:34:09 UTC
stfl lib after emerging is missing linked to some core library like ncurses so it's not working.

Reproducible: Always

Steps to Reproduce:
1. emerge stfl (all use flags disabled)
2. ldd /usr/lib/libstfl.so

Actual Results:  
linux-vdso.so.1 (0x00007ffff2400000)
libc.so.6 => /lib64/libc.so.6 (0x00007fd800cf0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd8012e8000)

Expected Results:  
linux-vdso.so.1 =>  (0x00007fffa5fff000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fd00e016000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fd00ddee000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd00dbd1000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd00d84a000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd00d646000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd00e47c000)

(taken from debian system)
Comment 1 Jan Krajdl 2012-06-04 20:34:59 UTC
Created attachment 314225 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-04 21:56:46 UTC
Please explain in what way it isn't working. What are you linking against it?
Comment 3 Jan Krajdl 2012-06-04 22:09:26 UTC
stfl is library using ncurses for creating terminal-base application. So at least ldd should show linked ncurses library. But ldd on gentoo after emerge stfl show only these three libs referenced in actual results. This means that any application using stfl for creating tui will crash. When I run this application with "LD_PRELOAD=libpthread.so.0:libncursesw.so.5" prepended to command it works fine.
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2012-10-26 16:07:43 UTC
Fixed in cvs. Thanks for the report.

It was caused by broken --as-needed porting.