From: akuchlin at cnri.reston.va.us (Andrew M. Kuchling)
Date: Wed, 14 Apr 1999 16:47:50 GMT
Subject: How libpython1.5.so
In-Reply-To: <371320F4.5338600B@earth.ox.ac.uk>
References: <371320F4.5338600B@earth.ox.ac.uk>
Message-ID: <14100.50513.166352.167346@amarok.cnri.reston.va.us>
X-UID: 1420                                                  

Nick Belshaw writes:
>Whilst trying to get Python plugins to work on Gnumeric-0.23 I bumped up
>against the need for libpython1.5.so.0.0.0

	Python doesn't build a .so file, so I think the Gnumeric
people must have hacked Python to build one; you may want to check
with them and see if they have build instructions or an RPM available.
Alternatively, you can make a shareable libpython by setting the
CFLAGS environment variable to "-fPIC" before running ./configure and
compiling Python.  Then, turn libpython.a into libpython.so with "gcc
-shared -o libpython.so libpython.a" (the exact command may require
some tweaking), and copy libpython.so to wherever you like.
	
-- 
A.M. Kuchling			http://starship.python.net/crew/amk/
I think he expected me to agree enthusiastically, but I didn't. Nor did I
contradict him; I have had too much experience of life to attempt to tell a
really rich person anything.
    -- Robertson Davies, _The Rebel Angels_





