More problems building XFree86-4

ibotty bsd at
Wed Dec 10 13:45:53 PST 2003

Dave Leimbach wrote:

> Michael Powell <testuser at xxxxxxxxxxxxxxx> writes:
>> On 10 Dec 2003 12:42:28 -0600
>> Dave Leimbach <leimySPAM2k at xxxxxxx> wrote:
>> :Dave Leimbach <leimySPAM2k at xxxxxxx> writes:
>> :
>> :> I had the X Server working yesterday but I had no fonts so I couldn't
>> :> do much.  Anyway I started over today just trying to build
>> :> /usr/ports/x11/XFree86-4:
>> [snip]
>> As I think you've mentioned in another post you have already seen the
>> "such and such lib" not found failure. I saw this about 5-6 times with
>> ports installed after XFree86-4 when looking for libs in /usrX11R6/lib
>> instead of /usr/local/lib. In order to just move forward I made symlinks.
>> I would expect this to pop up a lot with a KDE build. I'm not going to
>> try KDE until it stabilizes with 3.2. The only real X related problem
>> I've had is I cannot get the nvidia-driver to build but I'm also not
>> going to worry about it
>> either. Hope this helps, and best of luck to you with building X.   :)
> I have a symbolic link created thusly
> ln -sf /usr/local/ /usr/X11R6/lib/
> [...]
> /usr/X11R6/lib/ undefined reference to `XML_ParserFree'

maybe this is only a typo, but i guess what you mean is:
ln -s /usr/local/lib/ /usr/X11/lib

but first try, if the source, to which the link should point actually

btw: looks as if gcc does not add /usr/local/lib to the -L or -rpath path...
maybe you can mess around with the makefiles (well, i do not like imake, do
you ;) and simply add a -L/usr/local/lib to LDFLAGS or such a variable.


More information about the Bugs mailing list