[SciPy-user] error linking to libg2c on 64-bit machine

Giovanni Samaey Giovanni.Samaey at cs.kuleuven.ac.be
Tue Nov 9 06:21:56 CST 2004

Pearu Peterson wrote:

> On Tue, 9 Nov 2004, Giovanni Samaey wrote:
>> Giovanni Samaey wrote:
>> <snip>
>>> So there is an incompatibility between what g77 is compiling and 
>>> what is in this version of libg2c.
>>> Recompiling libg2c (as suggested) is not an option. 
>> Of course, providing a recompiled libg2c in a different place would 
>> be an option if I can tell the install script where
>> to look...
> .. this would also mean compiling compiler, afaik.
> Do you have g2c-pic library installed in your system?
> For example, debian provides both g2c and g2c-pic. Scipy setup scripts 
> use g2c-pic when available.

Despite the fact that the system is debian, I do not have g2c-pic...
As far as I can tell (I am no expert), the problem is that the library 
libg2c.a is not position independent.  However,
there is a libg2c.so file sitting next to it, which should be a shared 

> HTH,
> Pearu
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

Giovanni Samaey		 	http://www.cs.kuleuven.ac.be/~giovanni/ 
Katholieke Universiteit Leuven 	      email: giovanni at cs.kuleuven.ac.be 
Departement Computerwetenschappen                  phone: +32-16-327081
Celestijnenlaan 200A, B-3001 Heverlee, Belgium       fax: +32-16-327996
Office: A04.36

More information about the SciPy-user mailing list