[alsa-devel] aplay: can't resolve symbol 'snd_dlsym_start
John Utz
john.utz at dmx.com
Tue Mar 11 18:32:28 CET 2008
On Mon, 10 Mar 2008 16:41:03 -0700
"Pharaoh ." <pharaoh137 at gmail.com> wrote:
> On Mon, Mar 10, 2008 at 3:03 PM, Pharaoh . <pharaoh137 at gmail.com>
> wrote:
> >
> > On Mon, Mar 10, 2008 at 1:58 PM, John Utz <john.utz at dmx.com> wrote:
> > > here's some places to start:
> > >
> > > did you compile the lib as static but the app as shared or vice
> > > versa?
> > >
> > > also, do an ldd on our libasound.so and see if it wants libdl:
> > >
> > > utz-gnto64 NewProD # ldd /usr/lib/libasound.so
> > > libm.so.6 => /lib/libm.so.6 (0x00002acc4444d000)
> > > libdl.so.2 => /lib/libdl.so.2 (0x00002acc446ce000)
> > > libpthread.so.0 => /lib/libpthread.so.0
> > > (0x00002acc448d2000) libc.so.6 => /lib/libc.so.6
> > > (0x00002acc44aee000) /lib64/ld-linux-x86-64.so.2
> > > (0x0000555555554000) jutz-gnto64 NewProD #
> > >
> > >
> > >
> > >
> > > On Mon, 10 Mar 2008 13:41:10 -0700
> > > "Pharaoh ." <pharaoh137 at gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > I have written an user space plugin and the plugin shared
> > > > library is copied on board
> > > > appropriately, libasound.so is also copied.
> > > >
> > > >
> > > > When I try:
> > > >
> > > > #aplay -D omx test.wav //omx is my plugin
> > > >
> > > > I get following error:
> > > >
> > > > aplay: can't resolve symbol 'snd_dlsym_start
> > > >
> > > >
> > > > Any idea what is the problem?
> > > >
> > > > -pharaoh
> > > > _______________________________________________
> > > > Alsa-devel mailing list
> > > > Alsa-devel at alsa-project.org
> > > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> > > >
> > >
> > >
> >
> > I have compiled both alsa-lib and alsa-utils as shared libraries.
> > After doing ldd, I can see that it needs libdl.so and it is
> > present on the board. Let me try with a clean build again.
> >
>
> Still no luck, I get the same error. Is there any way by which I can
> find out list of unresolved sumbols in a shared library?
>
nm -D /usr/lib/libasound.so | grep U
More information about the Alsa-devel
mailing list