← Back to team overview

dorsal team mailing list archive

Re: Problem building against SCOTCH

 

On 8/23/10 8:10 PM, Anders Logg wrote:
> On Mon, Aug 23, 2010 at 03:29:03PM +0100, Garth N. Wells wrote:
>> On Mon, 2010-08-23 at 16:15 +0200, Anders Logg wrote:
>>> On Mon, Aug 23, 2010 at 03:08:56PM +0100, Garth N. Wells wrote:
>>>> On Mon, 2010-08-23 at 15:49 +0200, Anders Logg wrote:
>>>>> Linking against DOLFIN currently fails on Lucid:
>>>>>
>>>>> /usr/bin/ld: /usr/local/lib/libscotch.a(parser.o): relocation
>>>>> R_X86_64_32 against `.rodata' can not be used when making a shared
>>>>> object; recompile with -fPIC
>>>>> /usr/local/lib/libscotch.a: could not read symbols: Bad value
>>>>>
>>>>> Should -fPIC be added somewhere?
>>>>>
>>>>
>>>> Check that it's picking up the right platform-dependent Makefile.
>>>>
>>>> Garth
>>>
>>> I'm using i686_pc_linux2.
>>>
>>> Is that the correct file for Lucid?
>>>
>>
>> Take a look at how to do in the the fedora13.platform file.
>>
>> Garth
> 
> Aha. I see it now. Clever.

Cool, huh?

Harish



References