Subject: Errors building xview-lib
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
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 libolgx.so.3.2~ ./xshared/libolgx.so.xs.o
(cd ./xshared; ld -o ../libolgx.so.3.2~ -shared -Wl,-rpath,/usr/X11R6/lib ?*.o)
ld: unrecognized option `-Wl,-rpath,/usr/X11R6/lib'
*** Error code 1

Stop.

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 |  paul@whooppee.com    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
--------------------------------------------------------------------------