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 12:47:34
Another followup to my problem of liboss.so not being linked against
libossaudio.so.

When I add -lossaudio to my Makefile's LDFLAGS and LIBS, I receive a
warning. Here it is when I do it manually:

rainier:~/src/ogg/libao-0.6.0/src/plugins/oss$ /bin/sh ../../../libtool
--mode=link gcc  -O20 -D__NO_MATH_INLINES -fsigned-char
-DAO_PLUGIN_PATH=\"/usr/local/lib/ao\" -lossaudio -o liboss.la -rpath
/usr/local/lib/ao -export-dynamic -avoid-version ao_oss.lo  -lossaudio

The output is here:

 rm -fr .libs/liboss.la .libs/liboss.* .libs/liboss.*

 *** Warning: inter-library dependencies are not known to be supported.
 *** All declared inter-library dependencies are being dropped.
 *** The inter-library dependencies that have been dropped here will be
 *** automatically added whenever a program is linked with this library
 *** or is declared to -dlopen it.
 /usr/bin/ld -Bshareable  ao_oss.lo   -o .libs/liboss.so.0.0
 (cd .libs && rm -f liboss.so.0 && ln -s liboss.so.0.0 liboss.so.0)
 (cd .libs && rm -f liboss.so && ln -s liboss.so.0.0 liboss.so)
 (cd .libs && rm -f liboss.so && ln -s liboss.so.0.0 liboss.so)
 creating liboss.la
 (cd .libs && rm -f liboss.la && ln -s ../liboss.la liboss.la)

I am not sure if this helps. But I am not sure what this means. But is
sounds like something to do with it ("All declared inter-library
dependencies are being dropped").

   Jeremy C. Reed
   http://www.reedmedia.net/