mabshoff wrote:
>
>
> On Mar 1, 8:46 am, Jaap Spies wrote:
>> Pat LeSmithe wrote:
>
>
[...]
> It would, but do the following: take a throw away Python tree and
> modify the python.spkg to add -fPIC to the default flags. Take the
> libpython2.5.a and turn it into a shared library:
>
> mabsh..
Hello,
Many thanks to all for their advice. Converting to a shared library
seems to have worked. After extracting members from a PIC'd
libpython2.5.a, I did
gcc -shared *.o -o libpython.so -lm -lpthread -lutil -ldl ,
copied the .so to $SAGE_LOCAL/lib, and changed spkg-install accordingly:
I recently ran into an error I thought was -fPIC related (similar
errors) but the libs and the program I was compiling were all compiled
with -fPIC. Turns out gcc -G was causing problems and changing to gcc -
shared fixed the issue. The exact same build process worked on solaris-
i386 and the issu
On Mar 1, 8:46 am, Jaap Spies wrote:
> Pat LeSmithe wrote:
Hi,
> > /usr/bin/ld:
> > /home/qed777/apps/sage/sage-3.2.3-Fedora_release_9-x86_64-Linux/local/lib/p
> > ython2.5/config/libpython2.5.a(abstract.o):
> > relocation R_X86_64_32 against `a local symbol' can not be used when
> > makin
Pat LeSmithe wrote:
>
> Hello,
>
> In building the experimental ParaView package,
>
> http://trac.sagemath.org/sage_trac/ticket/5279 ,
>
> on a x86_64 Fedora 9 machine with the corresponding binary distribution
> of Sage 3.2.3, I got this error:
>
> /usr/bin/ld:
> /home/qed777/apps/sage/sage-