CURRENT: astro/xephem: /usr/bin/ld: //usr/local/lib/libfontconfig.so.1: invalid DSO for symbol `FcPatternAddInteger' definition
O. Hartmann
ohartman at zedat.fu-berlin.de
Sun Feb 2 10:32:06 UTC 2014
I try to fix the outdated astro/xephem port and run into some very
strange problems on FreeBSD 11.0-CURRENT.
FreeBSD 11.0-CURRENT #5 r261353: Sat Feb 1 19:12:30 CET 2014 amd64
Attached, you'll find my (naiv) attempt to fix the port.
You need to manually download the source tarball into ports/distfiles
from
http://www.clearskyinstitute.com/xephem/
You need also to perform "make makesum" (I just want to mention that).
Since libiconv has been merged into libc I had to change the LIBS=
variable, a more sophisticated way is needed for 9.X-STABLE and 10.0
handling.
What is this DSO error and why is it a "moving target"? Can someone
explain this?
Regards,
Oliver
GCC48:
[...]
gcc48 -L../../libastro -L../../libip -L../../liblilxml -L/usr/local/lib
-g -L/usr/local/lib -L/usr/local/lib -o xephem aavso.o annotmenu.o
broadcast.o calmenu.o closemenu.o compiler.o coordsmenu.o datamenu.o
db.o dbmenu.o earthmap.o earthmenu.o fallbacks.o favmenu.o formats.o
fsmenu.o gallerymenu.o glance.o gsc.o gscnet.o helpmenu.o homeio.o
hznmenu.o indimenu.o imregmenu.o jpeg2pm.o jupmenu.o listmenu.o
mainmenu.o marsmenu.o marsmmenu.o moonmenu.o moviemenu.o msgmenu.o
netmenu.o objmenu.o obslog.o patchlevel.o plot_aux.o plotmenu.o
preferences.o progress.o ps.o query.o rotated.o satmenu.o saveres.o
scope.o sites.o skybinary.o skyeyep.o skyfifos.o skyfiltmenu.o
skyfits.o skyhist.o skyip.o skylist.o skytoolbar.o skyviewmenu.o
solsysmenu.o splash.o srchmenu.o sunmenu.o time.o tips.o trailmenu.o
uranusmenu.o ucac.o usno.o versionmenu.o webdbmenu.o xe2.o xe3.o
xephem.o xmisc.o /usr/local/lib/libXm.a -lXp -lXt -lXext -lXmu -lX11
-lXft -lastro -lip -llilxml -ljpeg -lpng -lz
-lm /usr/local/bin/ld: /usr/local/lib/libXm.a(XmRenderT.o): undefined
reference to symbol
'FcPatternAddInteger' //usr/local/lib/libfontconfig.so.1: error adding
symbols: DSO missing from command line collect2: error: ld returned 1
exit status gmake[1]: *** [xephem] Error 1 gmake[1]: Leaving directory
`/usr/ports/astro/xephem/work/xephem-3.7.6/GUI/xephem' *** Error code 1
LLVM/CLANG 3.3:
[...]
gmake[2]: Leaving directory
`/usr/ports/astro/xephem/work/xephem-3.7.6/liblilxml' cc
-L../../libastro -L../../libip -L../../liblilxml -L/usr/local/lib -g
-L/usr/local/lib -L/usr/local/lib -o xephem aavso.o annotmenu.o
broadcast.o calmenu.o closemenu.o compiler.o coordsmenu.o datamenu.o
db.o dbmenu.o earthmap.o earthmenu.o fallbacks.o favmenu.o formats.o
fsmenu.o gallerymenu.o glance.o gsc.o gscnet.o helpmenu.o homeio.o
hznmenu.o indimenu.o imregmenu.o jpeg2pm.o jupmenu.o listmenu.o
mainmenu.o marsmenu.o marsmmenu.o moonmenu.o moviemenu.o msgmenu.o
netmenu.o objmenu.o obslog.o patchlevel.o plot_aux.o plotmenu.o
preferences.o progress.o ps.o query.o rotated.o satmenu.o saveres.o
scope.o sites.o skybinary.o skyeyep.o skyfifos.o skyfiltmenu.o
skyfits.o skyhist.o skyip.o skylist.o skytoolbar.o skyviewmenu.o
solsysmenu.o splash.o srchmenu.o sunmenu.o time.o tips.o trailmenu.o
uranusmenu.o ucac.o usno.o versionmenu.o webdbmenu.o xe2.o xe3.o
xephem.o xmisc.o /usr/local/lib/libXm.a -lXp -lXt -lXext -lXmu -lX11
-lXft -lastro -lip -llilxml -ljpeg -lpng -lz
-lm /usr/bin/ld: //usr/local/lib/libfontconfig.so.1: invalid DSO for
symbol `FcPatternAddInteger'
definition //usr/local/lib/libfontconfig.so.1: could not read symbols:
Bad value cc: error: linker command failed with exit code 1 (use -v to
see invocation) gmake[1]: *** [xephem] Error 1 gmake[1]: Leaving
directory `/usr/ports/astro/xephem/work/xephem-3.7.6/GUI/xephem' ***
Error code 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xephem.patch
Type: text/x-patch
Size: 5268 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140202/3d39a6d7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140202/3d39a6d7/attachment.sig>
More information about the freebsd-ports
mailing list