Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: link problems



On 10/05/13 19:54, Rhialto wrote:
On Sat 05 Oct 2013 at 19:50:29 +0200, Frank Kardel wrote:
Well, from to few things I looked at when building 2013Q3 there are
quite a few programs that have e.g. -lcurses but not -lterminfo which
curses needs. Our manual only states that -lcurses is needed. The
additional dependency to terminfo can be easily found with ldd :-(.
As I understand it, the option is only relevant where the *main program*
depends on a shared library which is pulled in recursively.

A shared library which needs another one (which is an implementation
detail that should remain hidden) is indeed pulled in automatically.

But the recent change makes it so that the implicit library is only used
to resolve symbols from the first library (and not from the main
program).

Frank
-Olaf.
Ahh I see. Then I understand your remark.

My build is now at  6681/11478 and I see these link errors so far:
./audio/alsa-utils/.broken.html:ld: note: 'ceil' is defined in DSO /usr/lib/libm.so.0 so try adding it to the linker command line ./audio/cmus/.broken.html:ld: note: 'tgoto' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./audio/festival/.broken.html:ld: note: 'tgetstr' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./chat/silc-client/.broken.html:ld: note: 'tgetflag' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./comms/kermit/.broken.html:ld: note: 'tgoto' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./comms/tn3270/.broken.html:ld: note: 'tgetstr' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./editors/bvi/.broken.html:ld: note: 'tgetstr' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./editors/ce/.broken.html:ld: note: 'tgoto' is defined in DSO /usr/lib/minfo.so.1 so try adding it to the linker command line ./editors/ex/.broken.html:ld: note: 'tgoto' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./filesystems/fuse-chironfs/.broken.html:ld: note: 'pthread_create' is defined in DSO /usr/lib/libpthread.so.1 so try adding it to the linker command line ./games/greed/.broken.html:ld: note: 'tgetstr' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./games/level9/.broken.html:ld: note: 'tgetent' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./games/tads/.broken.html:ld: note: 'tgetflag' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./games/tads/.broken.html:ld: note: 'tgetflag' is defined in DSO /usr/lib/libterminfo.so.1 so try adding it to the linker command line ./multimedia/ffmpegthumbnailer/.broken.html:ld: note: 'pthread_cancel' is defined in DSO /usr/lib/libpthread.so.1 so try adding it to
add tradcpp also which I manually helped

so it doesn't look too bad by counts for now.

Frank


Home | Main Index | Thread Index | Old Index