Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 14:42:13 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        jcv <jv@yeaguy.com>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: mediatomb
Message-ID:  <CAN6yY1vq6LNi-_aMNHspe53w=%2BuqYe_UX3j%2B_GqovJZYJj1=4g@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1402111211460.72226@yeaguy.com>
References:  <alpine.BSF.2.00.1402111211460.72226@yeaguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 11, 2014 at 12:16 PM, jcv <jv@yeaguy.com> wrote:

> Hi - I am seeing alot of emails regarding libiconv..  Is there a work
> around for mediatomb per chance??
>
> ===>  Building for mediatomb-0.12.1_11
> --- all ---
> /usr/bin/make  all-recursive
> --- all-recursive ---
> Making all in tombupnp
> --- all-recursive ---
> Making all in build
> Making all in build
> --- mediatomb ---
> c++ -I../src  -I../tombupnp/ixml/inc  -I../tombupnp/threadutil/inc
> -I../tombupnp/upnp/inc  -I..    -I/usr/local/include/mysql -pipe
> -fno-strict-aliasing -g -DNDEBUG  -I/usr/local/include -I/usr/local/include
>  -I/usr/local/include    -D_THREAD_SAFE -I/usr/local/include
>  -I/usr/local/include  -I/usr/local/include -I/usr/local/include   -O2
> -pipe -fno-strict-aliasing   -pthread  -lmagic -o mediatomb
> mediatomb-main.o libmediatomb.a ../tombupnp/build/libtombupnp.a
>  -L/usr/local/lib    -L/usr/local/lib -L/usr/local/lib
>  -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib    -pthread
>  -L/usr/local/lib/mysql -lmysqlclient_r -pthread -lm      -L/usr/local/lib
> -ljs  -lmagic  -lid3  -lexif  -lz  -lrt -D_THREAD_SAFE  -pthread
>  -lavformat -lavutil  -lffmpegthumbnailer -lexpat  -lmp4v2
>  -L/usr/local/lib -lcurl -lssl -lcrypto -L/usr/lib -lgssapi -lheimntlm
> -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt
> -pthread -lz -lcurl
> /usr/bin/ld: : invalid DSO for symbol `libiconv_open' definition
> //usr/local/lib/libiconv.so.3: could not read symbols: Bad value
> c++: error: linker command failed with exit code 1 (use -v to see
> invocation)
> *** [mediatomb] Error code 1
>
> make[4]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1/build
> 1 error
>
> make[4]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1/build
> *** [all-recursive] Error code 1
>
> make[3]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1
> 1 error
>
> make[3]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1
> *** [all] Error code 2
>
> make[2]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1
> 1 error
>
> make[2]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/net/mediatomb
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/net/mediatomb
> root@yeaguy:/usr/ports/net/mediatomb #
>

OK. What version of FreeBSD? Do you have the iconv port installed?

I have mediatomb running fine under 10.0-RELEASE without the iconv port.

While the base libiconv is fully POSIX compliant, the port version (GNU
iconv) has several non-POSIX extensions that a few ports require. I have
had no issues with mediatomb using base iconv, but your port build was
clearly trying to use a ports version, /usr/local/lib/libiconv.so.3. The
error at least implies that the library is corrupt.

If you don't have libiconv installed, libiconv.so.3 is a remnant from
pre-upgrade, so you should delete it. If you are not running 10.0,
10-STABLE (recent), or HEAD, you should re-install the port.
-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vq6LNi-_aMNHspe53w=%2BuqYe_UX3j%2B_GqovJZYJj1=4g>