pkg fallout - wrong shared lib version?
Jason E. Hale
jhale at freebsd.org
Tue Feb 20 23:13:09 UTC 2018
On Tue, Feb 20, 2018 at 12:36 PM, Anton Shterenlikht <as at cmplx.uk> wrote:
> Please help
> My port lang/opencoarrays gives this error
> via pkg-fallout:
> -- Installing: /wrkdirs/usr/ports/lang/opencoarrays/work/stage/usr/local/lib/libcaf_mpi.so.1
> ===> Building package for opencoarrays-1.9.3
> pkg-static: Unable to access file /wrkdirs/usr/ports/lang/opencoarrays/work/stage/usr/local/lib/libcaf_mpi.so.2:No such file or directory
> On the system where I did the testing I get:
> # pkg info -xl opencoarr
> Accrdingly I put
> in pkg-plist
> Where did I go wrong?
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
I just took a quick look at the port and src/mpi/CMakeLists.txt is
setting the SOVERSION differently depending on which version the
Fortran compiler is:
if(NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0)
elseif(NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 6.0.0)
You will probably have to do a check for the compiler version and
adjust pkg-plist accordingly.
I've CC'd tijl since he landed this.
More information about the freebsd-ports