Subject: pkg/6439: pgp2 vs alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: None <billc@netbsd.org>
List: netbsd-bugs
Date: 11/13/1998 19:09:34
>Number:         6439
>Category:       pkg
>Synopsis:       pgp can't find lib in /usr/pkg/lib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 13 19:20:00 1998
>Last-Modified:
>Originator:     William Coldwell
>Organization:
	
>Release:        <NetBSD-current source date> 1.3.2
>Environment:
	
System: NetBSD shell.warped.com 1.3.2 NetBSD 1.3.2 (MULTIA) #0: Sun May 10 22:03:37 PDT 1998 billc@gemini.warped.net:/local2/netbsd-1.3.2/src/sys/arch/alpha/compile/MULTIA alpha


>Description:
	 make USE_RSAREF2=YES USA_RESIDENT=YES and install, and then try to run.  It says it can't find librsaref.so.2.
>How-To-Repeat:
	 see above
>Fix:
	
Change in Makefile:
-RSALIBS=       -L${PREFIX}/lib -lrsaref
+RSALIBS=        -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lrsaref

Suggested by Ty Sarna.
After doing this and rebuilding, it worked.

>Audit-Trail:
>Unformatted: