VectorLinux

The nuts and bolts => Software General => Topic started by: vriesm on June 24, 2007, 01:02:25 pm

Title: ushare build error
Post by: vriesm on June 24, 2007, 01:02:25 pm
I'm trying o build ushare. It fails with the following error:

util_iconv.o(.text+0x4d): In function `setup_iconv':
: undefined reference to `libiconv_open'
util_iconv.o(.text+0x85): In function `finish_iconv':
: undefined reference to `libiconv_close'
util_iconv.o(.text+0x10d): In function `iconv_convert':
: undefined reference to `libiconv'
util_iconv.o(.text+0x165): In function `iconv_convert':
: undefined reference to `libiconv'
util_iconv.o(.text+0x1c1): In function `iconv_convert':
: undefined reference to `libiconv'
util_iconv.o(.text+0x208): In function `iconv_convert':
: undefined reference to `libiconv'
util_iconv.o(.text+0x250): In function `iconv_convert':
: undefined reference to `libiconv'
util_iconv.o(.text+0x2a3): more undefined references to `libiconv' follow
collect2: ld returned 1 exit status
make[2]: *** [ushare] Error 1

What can I do to solve this?
Title: Re: ushare build error
Post by: vriesm on June 24, 2007, 01:39:20 pm
ok, solved the above problem, but have a new one. i'm able to build ushare, but the following error occurs during executing:
ushare: error while loading shared libraries: libupnp.so.3: cannot open shared object file: No such file or directory
anybody have some experience with ushare or an other upnp server application?
Title: Re: ushare build error
Post by: Joe1962 on June 24, 2007, 01:52:30 pm
Never even heard of ushare before your post, but it seems libupnp is a dependency, so you have to build that first:
http://pupnp.sourceforge.net/
Title: Re: ushare build error
Post by: vriesm on June 25, 2007, 02:23:00 am
Indeed it's a dependency and I build it already before. It went fine and the configure of ushare detected it correctly. So, i don't know how to fix my current problem.
Title: Re: ushare build error
Post by: R3v3nG3 on December 21, 2007, 10:04:35 pm
Hi all,

I'm sorry for resurrecting this old post but I'm still stuck with ushare and I never heard of other Linux apps capable to stream files with an Xbox360.

I have the same problem as the above posts. Does someone succeed installing ushare on vector?

Thanks!
Title: Re: ushare build error
Post by: rbistolfi on December 22, 2007, 12:02:27 am
did you build pupnp?
try ldconfig and then execute the binary again.
Title: [SOLVED] ushare build error
Post by: R3v3nG3 on December 25, 2007, 03:47:35 am
Thank you very much, it worked! :)

I don't know if it depends on using ldconfig or using the new version (5.9) of vectorlinux but now compiling libupnp, running ldconfig and finally compiling ushare works flawlessly!

Thanks again!