libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld: fatal: file .libs/libglib-2.0.exp: unknown file type


From: Ralf Wildenhues
Subject: Re: ld: fatal: file .libs/libglib-2.0.exp: unknown file type
Date: Sun, 5 Dec 2010 21:59:15 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

* Laviticus Stone wrote on Thu, Dec 02, 2010 at 08:53:40AM CET:
> On 12/ 2/10 02:37 AM, Ralf Wildenhues wrote:
> >* Laviticus Stone wrote on Thu, Dec 02, 2010 at 01:45:04AM CET:
> >>Hi, i'm trying to compile glib-2.0 on Solaris 11 from netbsd pkgsrc.
> >>Libtool creates the following command and results:

> >>ld: fatal: file .libs/libglib-2.0.exp: unknown file type
> >>ld: fatal: file processing errors. No output written to
> >>.libs/libglib-2.0.so.0.2600.1
> >>collect2: ld returned 1 exit status
> >
> >Somehow libtool seems to think you're using GNU ld but apparently you're
> >not.  Please send output of
> >   ./libtool --version
> >   ./libtool --config

> Ah yes, netbsd's pkgsrc is configured for
> LD="ld"
> 
> I imagine it was finding gnu lsd, which was in the search path, and
> assumign gnu ld, yet the gcc command it was issuing was using the
> solaris ld in /usr/ccs/bin.
> 
> 
> ps up to date pkgsrc is ltmain.sh (GNU libtool) 2.2.6b

So I gather you can fix/work around your issues by installing a local
Libtool, rebuilding the pkgsrc one with an absolute LD=/path/to/ld as
configure argument, or by adjusting your PATH to find the ld that was
found at the time the pkgsrc Libtool was built.  Right?

Thanks,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]