Subject: shlib assistance needed
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 07/29/1999 04:25:39
Given I have the following in a package:

 LIBNEWTSH = libnewt.so.0.25
 gcc --shared -o _snackmodule.so snackmodule.o -L. -Wl,-R. \
	 -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib $(LIBNEWTSH)

and ${LIBNEWTSH} was just built by that package, and is found in "." when
linking _snackmodule.so. Now if I install _snackmodule.so, it tries to
find ${LIBNEWTSH} in ".", which fails, of course.

How do I fix this?

This is on a 1.4/i386 system, and even having /usr/pkg/lib in ld.so.conf
doesn't help.


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra