Current-Users archive

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

Re: link problems



On 10/10/2013 10:01, Thomas Klausner wrote:
So how do we proceed?
How should we fix pkgsrc packages that don't currently build, like:

audio/lame:
/bin/sh ../libtool --tag=CC   --mode=link gcc  -Wall -pipe -O2
-I/usr/include      -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib
-static  -o lame lame_main.o main.o brhist.o console.o get_audio.o
lametime.o parse.o timestatus.o ../libmp3lame/libmp3lame.la -lcurses
-lm
libtool: link: gcc -Wall -pipe -O2 -Wl,-R/usr/pkg/lib -o lame
lame_main.o main.o brhist.o console.o get_audio.o lametime.o parse.o
timestatus.o  ../libmp3lame/.libs/libmp3lame.a
-L/scratch/audio/lame/work/.buildlink/lib -lcurses -lm
ld: console.o: undefined reference to symbol 'tgetstr'
ld: note: 'tgetstr' is defined in DSO /usr/lib/libterminfo.so.1 so try
adding it to the linker command line
/usr/lib/libterminfo.so.1: could not read symbols: Invalid operation

lame doesn't use curses at all, just termcap.
I just fixed this package.

I would rather any binutils change to "fix" this isn't made until all silly curses "dependencies" are fixed.

Thanks

Roy


Home | Main Index | Thread Index | Old Index