[petsc-dev] possible problem with prefixed build in master
Satish Balay
balay at mcs.anl.gov
Tue Jun 17 16:43:22 CDT 2014
On Tue, 17 Jun 2014, Blaise A Bourdin wrote:
>
> On Jun 17, 2014, at 4:26 PM, Satish Balay <balay at mcs.anl.gov> wrote:
>
> > It was my attempt to partly fix this issue that broke for Blaise.
> >
> > I've pushed a revert for this partial/broken fix..
> >
> > Wrt the issue Barry referes to - I still think 'prefix install for
> > --download-package with shared libraries' is difficult. I'm not sure
> > how to deal with it.
>
> Thanks.
> Why not link with libraries in $PETSC_DIR/$ETSC_ARCH/lib during make, and do a chrpath during make install?
previous discussion:
<satish>
> There is this thing
> http://stackoverflow.com/questions/13769141/can-i-change-rpath-in-an-already-compiled-binary
>
> but the tools mentioned are not available on default system installs
> [linux] - so we would have to carry them arround? And I'm not sure if
> they would work portably.
<jed>
Only ELF on x86 and ppc. This is the "non-portable" tool I was thinking of.
http://nixos.org/patchelf.html
satish
More information about the petsc-dev
mailing list