Subject: pkg/29538: wrong flags linking www/ap-gzip
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ccatrian@eml.cc>
List: pkgsrc-bugs
Date: 02/26/2005 23:56:01
>Number:         29538
>Category:       pkg
>Synopsis:       wrong flags linking www/ap-gzip
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 26 23:56:00 +0000 2005
>Originator:     Cesar Catrian C.
>Release:        NetBSD 2.0
>Organization:
	
>Environment:
	
	
System: NetBSD core.cjc.cl 2.0 NetBSD 2.0 (SAT) #1: Mon Dec 13 20:02:48 CLST 2004 cetrox@core.cjc.cl:/home/cetrox/src/src/sys/arch/i386/compile/obj/SAT i386
Architecture: i386
Machine: i386
>Description:
Bad flags:
ld -shared -o mod_gzip.so mod_gzip_debug.o mod_gzip_compress.o mod_gzip.o -rpath-link,/usr/pkg/lib -R/usr/pkg/lib
 -R/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib
/usr/bin/ld: bad -rpath option
apxs:Break: Command failed with rc=1
*** Error code 1

>How-To-Repeat:
make at www/ap-gzip.
workaround: make then cd to work/mod_gzip-1.3.26.1a, then
$ ld -shared -o mod_gzip.so mod_gzip_debug.o mod_gzip_compress.o mod_gzip.o
then touch work/.build_done and make install.
>Fix:
	

>Unformatted: