file needed for XFree86

rfa at msumain.edu.ph rfa at msumain.edu.ph
Wed Mar 31 08:08:31 PST 2004


Im trying to install XFree86 on my i386 FreeBSD 5.2.1 box but there is an
error:

cc -o xditview -O -pipe -ansi -Dasm=__asm -Wno-system-headers -Wall
-Wpointer-arith -Wundef    
-L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   xditview.o Dvi.o
draw.o font.o lex.o page.o parse.o            XFontName.o DviChar.o
`pkg-config xft --libs` -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
-L/usr/X11R6/lib  -lm   -Wl,-rpath,/usr/X11R6/lib
/usr/bin/ld: warning: libexpat.so.4, needed by
/usr/X11R6/lib/libfontconfig.so, not found (try using -rpath or
-rpath-link)
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetElementHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetDoctypeDeclHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserFree'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetCharacterDataHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_GetCurrentLineNumber'
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/xditview.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4.


I assume that libexpat.so.4 is the problem so i did a

#locate libexpat.so.4

and the file exists, in

/usr/local/lib/libexpat.so.4

What could be wrong?  The previous statement used for compiling was:

#cd /usr/ports/x11/XFree86-4 && make all install clean

Right before doing this i did a cvsup and portupgrade.

Any advice?

Thanx in advance,

Rommel







More information about the freebsd-questions mailing list