Subject: Re: dlopen()'s second argument and Undefined PLT symbol (was: libdl
To: None <netbsd-help@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 02/28/2001 10:09:47
On Wed, 28 Feb 2001, Jeremy C. Reed wrote:
> So I changed it to use DL_LAZY instead of RTLD_NOW and it worked (at least
> didn't return NULL) and ogg123 (using libao) found my driver "oss".
I forgot to mention the dlerror() from when it uses RTLD_NOW.
dlerror: /usr/local/lib/ao/liboss.so: Undefined PLT symbol
"_oss_ioctl" (reloc type = 7, symnum = 13)
I also receive when doing a dlopen() of libao's libesd:
dlerror: /usr/local/lib/ao/libesd.so: Undefined PLT symbol
"esd_play_stream" (reloc type = 7, symnum = 8)
Jeremy C. Reed
http://www.reedmedia.net/