[Top][All Lists]

[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: Laviticus Stone
Subject: Re: ld: fatal: file .libs/libglib-2.0.exp: unknown file type
Date: Thu, 02 Dec 2010 02:49:00 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4

On 12/ 2/10 02:37 AM, Ralf Wildenhues wrote:
Hello Laviticus,

* 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:

gcc -shared  .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o
.libs/giounix.o .libs/gspawn.o  -Wl,--whole-archive
libcharset/.libs/libcharset.a -Wl,--no-whole-archive  -Wl,-rpath
-Wl,/usr/pkgsrc/devel/glib2/work/.buildlink/lib -Wl,-rpath
/usr/pkgsrc/devel/glib2/work/.buildlink/lib/ -lc -lnsl
-lsocket -lc  -Wl,-R/usr/pkg/lib   -Wl,-soname -Wl,
-Wl,-retain-symbols-file -Wl,.libs/libglib-2.0.exp -o
ld: fatal: file .libs/libglib-2.0.exp: unknown file type
ld: fatal: file processing errors. No output written to
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 I also see that libtool is configured to use the same ld:

# The linker used to build libraries.

Sorry I perhaps have confused you as much as myself. I believe I had 3 different libtool installed. One from pkgsrc, one from opencsw, and one from solaris. Which pkgsrc uses i'm not quite sure. I imagine the first in the search path, although it compiled itself one also.

Thanks for your time.


reply via email to

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