None
closed
nobody
None
2018-08-26
2018-08-01
Anonymous
No

I have just installed upmpdcli on my Ubuntu using the PPA instructions in http://www.lesbonscomptes.com/upmpdcli/downloads.html#ubuntu

However, it seems that it could not start up due to this error:
upmpdcli[28300]: /usr/bin/upmpdcli: symbol lookup error: /usr/lib/x86_64-linux-gnu/libupnpp.so.7: undefined symbol: UpnpCloseLog

As far as I can tell, both the upmpdcli and libupnpp4 packages have been installed properly:
ii libupnpp4 0.16.1-1~ppa3~xenial1 amd64 C++ layer over libupnp.
ii upmpdcli 1.2.16-1~ppa4~xenial1 amd64 UPnP Media Renderer front-end to MPD, the Music Player Daemon

and the library link looks good (both the lib file and the link exist):
$ ldconfig -p |grep libupnpp
libupnpp.so.7 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libupnpp.so.7

However, the lib seems to be missing some of the symbols required by upmpdcli:
$ ldd -r /usr/bin/upmpdcli |grep symbol
undefined symbol: UpnpSetLogLevel (/usr/lib/x86_64-linux-gnu/libupnpp.so.7)
undefined symbol: UpnpInitLog (/usr/lib/x86_64-linux-gnu/libupnpp.so.7)
undefined symbol: UpnpSetLogFileNames (/usr/lib/x86_64-linux-gnu/libupnpp.so.7)
undefined symbol: UpnpCloseLog (/usr/lib/x86_64-linux-gnu/libupnpp.so.7)

Any idea what went wrong? I have not made any changes to the config yet.

Discussion

  • medoc
    medoc
    2018-08-01

    The problem comes from the fact that your libupnp6 (portable UPnP lib), which is used by the libupnpp c++ wrapper, has been compiled without support for the debug log. So I guess it does not come from the standard package ?

    If this is indeed the case, you need to either use the system lib (and live with its issues which may not be a problem for you), or build a newer version, configuring it with debug log support.

     
  • medoc
    medoc
    2018-08-26

    • status: open --> closed
    • milestone: -->
     

Cancel   Add attachment