Upgrade of astro/kstars to 4.12.4_1 fails - linker error

Raphael Kubo da Costa rakuco at FreeBSD.org
Tue May 6 19:36:39 UTC 2014


"Dr. Peter Voigt" <pvoigt at uos.de> writes:

> I am running 10.0-RELEASE-p2 and after the latest ports tree update the
> upgrade of astro/kstars to 4.12.4_1 fails:
>
> # portmaster --no-confirm --no-term-title -D -G kstars
>
> Scanning dependencies of target testcsvparser
> [100%] Building CXX object
> Tests/CMakeFiles/testfwparser.dir/testfwparser.o [100%] Building CXX
> object Tests/CMakeFiles/testcsvparser.dir/testcsvparser.o Linking CXX
> executable
> testfwparser /usr/ports/astro/kstars/work/kstars-4.12.4/kstars/kstars.cpp:122:7:
> warning: '__GLIBC__' is not defined, evaluates to 0 [-Wundef] #if
> ( __GLIBC__ >= 2 &&__GLIBC_MINOR__ >= 1  && !defined(__UCLIBC__) )
> ^ /usr/local/lib/libcfitsio.so: undefined reference to
> `compress2mem_from_mem' /usr/local/lib/libcfitsio.so: undefined
> reference to `compress2file_from_mem' /usr/local/lib/libcfitsio.so:
> undefined reference to `uncompress2mem' /usr/local/lib/libcfitsio.so:
> undefined reference to `zuncompress2mem' /usr/local/lib/libcfitsio.so:
> undefined reference to `uncompress2file' /usr/local/lib/libcfitsio.so:
> undefined reference to `uncompress2mem_from_mem' c++: error: linker
> command failed with exit code 1 (use -v to see invocation) ---
> Tests/testfwparser --- *** [Tests/testfwparser] Error code 1

This looks like a problem in astro/cfitsio. Have you tried rebuilding it
first?



More information about the freebsd-ports mailing list