texlive_base: Duplicate symbols in libXt, libXaw

Joshua Root jmr at macports.org
Wed Jan 21 03:53:58 PST 2009


Upgrading the outdated ports on a ppc Tiger machine went fine, pulling
in the new X libs, until it got to texlive_base, which failed thus:

/usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o
dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o
image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o
print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o
search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o
xserver-info.o x_util.o  -L/opt/local/lib ./gui/libgui.a
../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a
-L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lXpm -lintl
-lc -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _XtRemoveTimeOut
events.o definition of _XtRemoveTimeOut in section (__TEXT,__text)
/opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtRemoveTimeOut
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _XtAddTimeOut
events.o definition of _XtAddTimeOut in section (__TEXT,__text)
/opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtAddTimeOut
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _XtAppAddTimeOut
events.o definition of _XtAppAddTimeOut in section (__TEXT,__text)
/opt/local/lib/libXt.dylib(NextEvent.o) definition of _XtAppAddTimeOut
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of
symbol _hash_create
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib(strhash.So)
definition of _hash_create
../kpathsea/.libs/libkpathsea.a(hash.o) definition of _hash_create in
section (__TEXT,__text)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _vendorShellWidgetClass
/opt/local/lib/libXaw.dylib(single module) definition of
_vendorShellWidgetClass
/opt/local/lib/libXt.dylib(Vendor.o) definition of _vendorShellWidgetClass
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning multiple
definitions of symbol _vendorShellClassRec
/opt/local/lib/libXaw.dylib(single module) definition of
_vendorShellClassRec
/opt/local/lib/libXt.dylib(Vendor.o) definition of _vendorShellClassRec
collect2: ld returned 1 exit status

So, why would this be happening and how can we fix it? :-)

- Josh


More information about the macports-dev mailing list