Subject: Re: Use of libraries installed under /usr/pkg/lib...
To: gabriel rosenkoetter <>
From: Oleg Polianski <>
List: current-users
Date: 09/20/2001 16:09:22
gabriel rosenkoetter <> writes:

> So, I'm doing, as near as I can tell, what that calls for, but I'm
> getting no love:
> grappa:cs45/tish% cc -L/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -o
> split_test split_test.c tish_split.c 
> /tmp/ccRYTMxL.o: In function `main':
> /tmp/ccRYTMxL.o(.text+0xe): undefined reference to `readline'
> collect2: ld returned 1 exit status
> What's my silly error here?

 How about `-lreadline' option at the end of the string?