Problem build blender 2.6a in python module

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

chatzich
Posts: 2
Joined: Mon Dec 05, 2011 6:54 pm

Problem build blender 2.6a in python module

Postby chatzich » Mon Dec 05, 2011 6:59 pm

Hi folks i am newbie in blender and i am try to build it in linux ubuntu 11.04 64bit and i got the following error

Linking CXX shared library ../../bin/bpy.so
/usr/bin/ld: /usr/local/lib/libpython3.2m.a(abstract.o): relocation R_X86_64_32S against `_PyObject_NextNotImplemented' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpython3.2m.a: could not read symbols: Bad value
collect2: ld returned 1 exit status


can anyone tell my what's wrong?
Thanx at progress

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Mon Dec 05, 2011 7:17 pm

Either your python or your blender is not being compiled with the -fPIC flag (for position independent code).

chatzich
Posts: 2
Joined: Mon Dec 05, 2011 6:54 pm

Postby chatzich » Mon Dec 05, 2011 7:21 pm

stiv wrote:Either your python or your blender is not being compiled with the -fPIC flag (for position independent code).

So if I compile python with -fPIC option will solve the problem???

ldo
Posts: 544
Joined: Sun Nov 07, 2010 11:30 pm
Location: Hamilton, New Zealand

Postby ldo » Sat Feb 25, 2012 3:35 am

Any reason why you have a custom Python build (/usr/local/lib) instead of using the distro-provided one (/usr/lib)?


Return to “Testing Builds”

Who is online

Users browsing this forum: No registered users and 1 guest