Anurag Chourasia <anurag.choura...@gmail.com> wrote:
> When I configure python to enable shared libraries, none of the extensions 
> are getting built during the make step due to this error.
>
> building 'cStringIO' extension
> gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
> -Wstrict-prototypes -I. -I/u01/home/apli/wm/GDD/Python-2.6.6/./Include -I.
> -IInclude -I./Include -I/opt/freeware/include
> -I/opt/freeware/include/readline -I/opt/freeware/include/ncurses
> -I/usr/local/include -I/u01/home/apli/wm/GDD/Python-2.6.6/Include
> -I/u01/home/apli/wm/GDD/Python-2.6.6 -c
> /u01/home/apli/wm/GDD/Python-2.6.6/Modules/cStringIO.c -o
> build/temp.aix-5.3-2.6/u01/home/apli/wm/GDD/Python-2.6.6/Modules/cStringIO.o
> ./Modules/ld_so_aix gcc -pthread -bI:Modules/python.exp
> build/temp.aix-5.3-2.6/u01/home/apli/wm/GDD/Python-2.6.6/Modules/cStringIO.o
> -L/usr/local/lib *-lpython2.6* -o build/lib.aix-5.3-2.6/cStringIO.so
  ^^^^^^^^^^^^^^^^

Try these flags: -L. -L/usr/local/lib


If this solves the problem and the issue is also present in Python-2.7,
you should report a bug at http://bugs.python.org/ .


Stefan Krah



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to