cmake: missing library /usr/local/lib/libjsoncpp.so

Dr. Peter Voigt pvoigt at uos.de
Thu Jun 18 12:45:39 UTC 2015


Sorry for incomplete subject.


On Thu, 18 Jun 2015 08:31:29 +0200
"Dr. Peter Voigt" <pvoigt at uos.de> wrote:

> When building latest devel/cmake on 10.1-RELEASE-p13 (amd64)
> 
> # portmaster --no-confirm --no-term-title -D -G cmake
> 
> there is an error about missing library /usr/local/lib/libjsoncpp.so
> 
> ...
> 
> ===>  Installing for cmake-3.2.3
> ===>  Checking if cmake already installed
> ===>   Registering installation for cmake-3.2.3 as automatic
> (cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/ccmake
> - required shared library /usr/local/lib/libjsoncpp.so not found
> (cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/cmake -
> required shared library /usr/local/lib/libjsoncpp.so not found
> (cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/cpack -
> required shared library /usr/local/lib/libjsoncpp.so not found
> (cmake-3.2.3) /usr/ports/devel/cmake/work/stage//usr/local/bin/ctest -
> required shared library /usr/local/lib/libjsoncpp.so not found
> Installing cmake-3.2.3...
> 
> ===>>> Re-installation of cmake-3.2.3 succeeded
> 
> ===>>> The following actions were performed:
>         Re-installation of cmake-modules-3.2.3
>         Re-installation of cmake-3.2.3
> 
> However:
> 
> # ls -l /usr/local/lib/libjsoncpp*
> -rw-r--r-- 1 root wheel 535316 Jun 17
> 20:22 /usr/local/lib/libjsoncpp.a lrwxr-xr-x 1 root wheel     15 Jun
> 17 20:22 /usr/local/lib/libjsoncpp.so -> libjsoncpp.so.0 -r--r--r-- 1
> root wheel 348376 Jun 17 20:22 /usr/local/lib/libjsoncpp.so.0
> 
> Build finished just fine but during installation registration of
> shared libraries failed. This can be verified with pkg:
> 
> # pkg check -Bnv cmake                                           
> [1/1] Checking cmake-3.2.3: shared
> libraries...(cmake-3.2.3) /usr/local/bin/ccmake - required shared
> library /usr/local/lib/libjsoncpp.so not found
> (cmake-3.2.3) /usr/local/bin/cmake - required shared
> library /usr/local/lib/libjsoncpp.so not found
> (cmake-3.2.3) /usr/local/bin/cpack - required shared
> library /usr/local/lib/libjsoncpp.so not found
> (cmake-3.2.3) /usr/local/bin/ctest - required shared
> library /usr/local/lib/libjsoncpp.so not found done
> 
> Is this a known issue or should I create a PR?
> 
> Peter
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list