Gentoo Archives: gentoo-alpha

From: Aron Griffis <agriffis@g.o>
To: gentoo-alpha@l.g.o
Subject: Re: [gentoo-alpha] next actions with the following error ??
Date: Mon, 19 Apr 2004 00:05:06
Message-Id: 20040419000030.GB3860@time.flatmonk.org
In Reply to: [gentoo-alpha] next actions with the following error ?? by Mathieu MILLET
1 Mathieu MILLET wrote: [Sun Apr 18 2004, 04:51:44AM EDT]
2 > /bin/sh ../libtool --mode=link gcc -mcpu=ev56 -O3 -pipe -Wall -o
3 > libstartup-notification-1.la -rpath /usr/lib -no-undefined sn-common.lo
4 > sn-internals.lo sn-launchee.lo sn-launcher.lo sn-list.lo sn-monitor.lo
5 > sn-util.lo sn-xmessages.lo sn-xutils.lo -L/usr/X11R6/lib -lSM -lICE
6 > -lX11
7 > gcc -shared .libs/sn-common.o .libs/sn-internals.o .libs/sn-launchee.o
8 > .libs/sn-launcher.o .libs/sn-list.o .libs/sn-monitor.o .libs/sn-util.o
9 > .libs/sn-xmessages.o .libs/sn-xutils.o -L/usr/X11R6/lib -lSM -lICE
10 > -lX11 -mcpu=ev56 -Wl,-soname -Wl,libstartup-notification-1.so.0 -o
11 > .libs/libstartup-notification-1.so.0.0.0
12 > /usr/X11R6/lib/libSM.so: file not recognized: File format not recognized
13 > collect2: ld returned 1 exit status
14
15 Could you put this in a bug report? I just tried and didn't hit this
16 problem.
17
18 > If I understand well, there is something wrong with the lib libSM.so
19 > provided during Xfree compilation.
20
21 It sounds that way, but the question is why?
22
23 Mathieu MILLET wrote: [Sun Apr 18 2004, 08:20:40AM EDT]
24 > I have removed and symlink to libSM.so.6.0 and it ..... still fails but
25 > with a new error :
26
27 Don't do that. :-) The shared object is build with -fPIC in
28 anticipation that other shared objects might link against it. The
29 static archive is built without -fPIC. You need the shared object.
30
31 Regards,
32 Aron
33
34 --
35 Aron Griffis
36 Gentoo Linux Developer (alpha / ia64 / mozilla / mutt / ruby / vim)