Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 01:54:39 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Keith Beattie <ksbeattie@gmail.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: libncursesw.so linker script syntax error?
Message-ID:  <CACdU%2Bf9xPP6H-r4bH1BCs5G8gq=LYkm4DxnoSk%2B26VQSC3citw@mail.gmail.com>
In-Reply-To: <52EDB16B.1080206@gmail.com>
References:  <52EDB16B.1080206@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 1, 2014 at 8:46 PM, Keith Beattie <ksbeattie@gmail.com> wrote:
> Hello,
>
> I'm having trouble building both the emacs and aspell port, both of which=
 fail with a very similar error.  Here's aspell:
>
> /bin/sh ./libtool --tag=3DCXX   --mode=3Dlink c++  -O2 -fno-strict-aliasi=
ng -pipe -march=3Dnative -fno-exceptions   -o aspell prog/aspell.o prog/che=
ck_funs.o prog/checker_string.o libaspell.la -lncursesw -L/usr/local/lib -l=
intl -L/usr/local/lib -liconv -R/usr/local/lib
> libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=3Dnative -fno-ex=
ceptions -o .libs/aspell prog/aspell.o prog/check_funs.o prog/checker_strin=
g.o  ./.libs/libaspell.so -L/usr/local/lib -lncursesw /usr/local/lib/libint=
l.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
> /usr/bin/ld:/usr/local/lib/libncursesw.so: file format not recognized; tr=
eating as linker script
> /usr/bin/ld:/usr/local/lib/libncursesw.so:1: syntax error
> gmake[1]: *** [aspell] Error 1
> gmake[1]: Leaving directory `/usr/ports/textproc/aspell/work/aspell-0.60.=
6.1'
> gmake: *** [all-recursive] Error 1
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur=
e to
> the maintainer.
> *** Error code 1
>
> Stop in /usr/ports/textproc/aspell.
>
>
> emacs is similar except on libncurses.so
>
> Here's libncursesw.so:
>
> $ cat /usr/local/lib/libncursesw.so
> INPUT(libncursesw.so.5 AS_NEEDED(-ltinfow))
>
I don't get that output when I `cat /usr/local/lib/libncursesw.so`.
When I use `file /usr/local/lib/libncursesw.so*` it shows:

/usr/local/lib/libncursesw.so: symbolic link to `libncursesw.so.6'
/usr/local/lib/libncursesw.so.6: symbolic link to `libncursesw.so.6.0'
/usr/local/lib/libncursesw.so.6.0: ELF 32-bit LSB shared object, Intel
80386, version 1 (FreeBSD), dynamically linked, not stripped

Try uninstalling the devel/ncurses port again, and check if there are
any left over libncurses* files and remove them.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf9xPP6H-r4bH1BCs5G8gq=LYkm4DxnoSk%2B26VQSC3citw>