Build Petsc with Shared Libraries

Clemens Lang cal at macports.org
Wed Jul 18 10:42:08 PDT 2012


Hi,

On Wed, Jul 18, 2012 at 09:34:24AM -0700, Romain Jolivet wrote:
> DEBUG: Marking /opt/local/lib/petsc/lib/libparmetis.dylib as broken
> Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_petsc/petsc/work/petsc-3.3-p0/darwin/lib/libmetis.dylib: Error opening or reading file (referenced from /opt/local/lib/petsc/lib/libparmetis.dylib)
> DEBUG: Marking /opt/local/lib/petsc/lib/libpetsc.dylib as broken
> Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_petsc/petsc/work/petsc-3.3-p0/darwin/lib/libparmetis.dylib: Error opening or reading file (referenced from /opt/local/lib/petsc/lib/libpetsc.dylib)
> DEBUG: Marking /opt/local/lib/petsc/lib/libpetsc.dylib as broken

The libraries have not been linked correctly. I assume the first line in
otool -L /opt/local/lib/petsc/lib/libpetsc.dylib contains the
worksrcdir, which causes this issue when linking against it.

Please file a bug so the maintainer can fix this.

-- 
Clemens Lang



More information about the macports-users mailing list