Subject: Errors building xview-lib
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <>
List: current-users
Date: 06/13/1999 11:35:19
Hello - I'm trying to install the xview package(s), and got the
following error:

rm -f ./xshared/
(cd ./xshared; ld -o ../ -shared -Wl,-rpath,/usr/X11R6/lib ?*.o)
ld: unrecognized option `-Wl,-rpath,/usr/X11R6/lib'
*** Error code 1


Now, I _know_ that all of my headers etc. are correct, 'cuz I just
reinstalled everything from 1.4 sources.  I even rebuilt all of X, "just
in case" that was the problem.

The basic problem is that the "-Wl,-rpath" stuff is being handed
directly to ld in EXTRA_LOAD_FLAGS.  But I can't figure out how that
gets into the Makefile, since it's not mentioned in the Imakefile!

Any ideas, anyone?

| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:     |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 | |