Possible iconv fallout?

Guido Falsi mad at madpilot.net
Sat Oct 12 12:11:37 UTC 2013


On 10/12/13 13:29, Marc UBM Bocklet wrote:
>
> Hiho! :-)
>
> Compilation of sylpheed-3.3.0_2 fails with (last three lines show the
> error):
>
> ----
> /bin/sh ../libtool --mode=link cc  -O2 -pipe  -fno-strict-aliasing
> -I/usr/local/include   -I/usr/local/include/gtkspell-2.0
> -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/
> -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
> -I/usr/local/include/pixman-1 -D_THREAD_SAFE
> -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15
> -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/local/include/harfbuzz   -I/usr/local/include/dbus-1.0
> -I/usr/local/include/dbus-1.0/include -I/usr/local/include/glib-2.0
> -I/usr/local/include   -pthread -I/usr/local/include/glib-2.0
> -I/usr/local/include    -ltinfow -Wl,-rpath=/usr/local/lib -o
> libsylph-0.la -rpath /usr/local/lib -version-info 2:0:1
> -export-dynamic   account.lo base64.lo codeconv.lo customheader.lo
> displayheader.lo filter.lo folder.lo html.lo imap.lo mbox.lo md5.lo
> md5_hmac.lo mh.lo news.lo nntp.lo pop.lo prefs.lo prefs_account.lo
> prefs_common.lo procheader.lo procmime.lo procmsg.lo
> quoted-printable.lo recv.lo session.lo smtp.lo socket.lo socks.lo
> ssl.lo stringtable.lo sylmain.lo unmime.lo utils.lo uuencode.lo
> virtual.lo xml.lo syl-marshal.lo -lgobject-2.0 -Wl,--export-dynamic
> -lgmodule-2.0 -pthread -L/usr/local/lib -lglib-2.0 -lintl
> -L/usr/local/lib -pthread -L/usr/local/lib -lssl -lcrypto   -lgtkspell
> -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXext -lXrender
> -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes
> -lX11 -latk-1.0 -lcairo -pthread -lgdk_pixbuf-2.0 -lgio-2.0
> -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig
> -L/usr/local/lib -lfreetype   -lenchant -lgmodule-2.0 -pthread
> -L/usr/local/lib -lglib-2.0 -lintl   -ldbus-glib-1 -ldbus-1
> -lgobject-2.0 -L/usr/local/lib -lglib-2.0 -lintl   -lgthread-2.0
> -pthread -L/usr/local/lib -lglib-2.0 -lintl
>
> grep: /usr/local/lib/libiconv.la: No such file or directory
> sed: /usr/local/lib/libiconv.la: No such file or directory libtool:
> link: `/usr/local/lib/libiconv.la' is not a valid libtool archive
> ---
>
> Is that the ports failure or am I doing something wrong (I'm pretty
> sure I followed the procedure described in ports/UPDATING)?

It most probably is some libtool ".la" file still referencing the 
libiconv .la file.

Please run the following command:

find /usr/local/lib -name '*.la' -exec grep -n libiconv.la {} \; -print 
| xargs -n 1 pkg which -qo | sort -u

This will give you a list of ports still having reference to 
libiconv.la, which does not exist anymore.

These ports need to be reinstalled. I hope there are not many! :)

-- 
Guido Falsi <mad at madpilot.net>


More information about the freebsd-current mailing list