problems compiling 2.3 on solaris with --enable-shared

Chuck Swiger cswiger at mac.com
Sat Jun 7 14:11:46 EDT 2003


Dave Reed wrote:
> Has anyone successfully built 2.3b1 on Solaris with --enable-shared?

I see the same failure under Solaris 2.8 using gcc (c++) 3.2.2:

8-pong# make test
c++   -o python \
                 Modules/python.o \
                 -Wl,-rpath,/usr/local/lib -L. -lpython2.3 -lsocket -lnsl -lrt -l
dl  -lpthread   -lm
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
collect2: ld returned 1 exit status
make: *** [python] Error 1

-- 
-Chuck







More information about the Python-list mailing list