Hi
I am trying to install ushare on Slackware 13.37 64bit multilib from source, but when I do make, it gives the following error:
Code:
ushare.o -lixml -lthreadutil -lpthread -lupnp -pthread -o ushare
ushare.o: In function `init_upnp':
ushare.c:(.text+0x68d): undefined reference to `UpnpSetVirtualDirCallbacks'
collect2: ld returned 1 exit status
make[1]: *** [ushare] Error 1
Configure output:
Code:
./configure
Checking for compiler available...
Checking for locales ...
Checking for ifaddrs ...
Checking for langinfo ...
Checking for iconv ...
Checking for libixml ...
Checking for libthreadutil ...
Checking for libupnp >= 1.4.2 ...
uShare: configure is OK
version 1.1a
using libupnp 1.6.13
configuration:
install prefix /usr/local
configuration dir ${PREFIX}/etc
locales dir ${PREFIX}/share/locale
NLS support yes
DLNA support no
C compiler gcc
STRIP strip
make make
CPU x86_64 ()
debug symbols no
strip symbols yes
optimize yes
CFLAGS -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp
LDFLAGS
extralibs -lixml -lthreadutil -lpthread -lupnp -pthread
I have libupnp-1.6.6 installed, but the configure output says I am using 1.6.13.
When I do a find for libupnp I get the following results:
Code:
libupnp: /usr/src/libupnp-1.6.6/libupnp.pc /usr/src/libupnp-1.6.6/libupnp.spec /usr/lib64/libupnp.so /usr/lib64/libupnp.la /usr/local/lib/libupnp.so /usr/local/lib/libupnp.la /usr/local/lib/libupnp.a
i get the same error if I use
./configure --with-libupnp-dir=/usr/lib64/
Can anybody see any glaring mistakes I have made?
Thanks