PIC
    Matthew Knepley 
    knepley at mcs.anl.gov
       
    Wed Dec 14 15:53:43 CST 2005
    
    
  
Aron Ahmadia <aja2111 at columbia.edu> writes:
>>   Because the "can I" is VERY erratic. I can build some shared libraries, but
>> cannot build others. I do not understand the difference between these
>> libraries
>> at the moment, however I DO know that absence of the PIC option causes the
>> error.
>
> Matt, I've used PIC before to sidestep errors associated with linking
> libraries in the wrong order in the call to the linker.  Have you ruled this
> out as your problem for the non-PIC libraries?
  Yes, its a 64-bit problem where they REQUIRE PIC for shared libraries. We jsut need
a workable model of library construction and use. I am talking it through with Satish.
> And how the heck do you build shared libraries that aren't PIC?
  You can't.
      Matt
-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness
    
    
More information about the petsc-dev
mailing list