compiling using native compiler

Michael Murphy mpm at
Tue Oct 5 19:11:59 CEST 2004

In article <95650bb5.0410050819.2f34f323 at>,
SS <sridhara at> wrote:
>When I try to compile python 2.3.4 using SGI's native compiler 
>./configure --without-gcc
>followed by
>I get error
>         c++   -o python \
>                        Modules/python.o \
>                        libpython2.3.a -ldl  -lpthread -lmpc   -lm
>ld32: WARNING 84 : /usr/lib32/ is not used for resolving any symbol.
>ld32: FATAL   9  : I/O error (-lmpc): No such file or directory
>collect2: ld returned 32 exit status
>*** Error code 1 (bu21)
>but I see it in /usr/lib
>ls -l /usr/lib/mpc
>-rwxrwxr-x    1 root     sys       598996 May 20 17:10 /usr/lib/mpc

The other response tells you how to get python working,
but I just wanted to point out that 
-lmpc means link with libmpc.{a,so}
So /usr/lib/mpc has nothing to do with -lmpc

-- Mike Murphy
-- mpm at
-- quote of the day:
--  "Never be afraid to try something new.

More information about the Python-list mailing list