Denis,
Thanks for your careful explanation; I had no clue. Please find attached a
patch for 3.6 that seems to give the behavior you desire.
It is also in the maint, master and next branches in the repository
Barry
fix-soname-mac-prefix-install.patch
Description: Binary data
> On
Hi Barry,
I think you use it already. After configure /lib/petsc/conf/petscvariables :
SL_LINKER_FUNCTION = -dynamiclib -install_name $(call
SONAME_FUNCTION,$(1),$(2)) -compatibility_version $(2) -current_version $(3)
-single_module -multiply_defined suppress -undefined dynamic_lookup
SONAME_FU
Denis,
We don't understand what purpose a soname serves on Apple or how to add it.
If you need it let us know how to install PETSc so that it is set and we will
do it.
Barry
> On Oct 27, 2015, at 11:28 AM, Denis Davydov wrote:
>
> Dear developers,
>
> It seems that the compiled PET
Denis,
I use Homebrew to manage petsc and all related dependencies on OSX which
uses .dylib for shared libs instead of .so. However, I have not had any
issues linking against them just the usual way by passing -L/path/to/lib
-lwhatever (you need to pass -Wl,-rpath,/path/to/lib as well if lib is no
Dear developers,
It seems that the compiled PETSc library does not have a soname
(-Wl,-install_name=xyz.dylib in OS-X).
I compile PETSc/SLEPc using Homebrew both on OS-X and Linux and judging from
ldd/otool there is indeed a difference:
Linux (soname is there):
$ ldd .linuxbrew_openblas/opt/sle