From owner-freebsd-ports Wed Oct 3 3: 5:45 2001 Delivered-To: freebsd-ports@freebsd.org Received: from smtp.noos.fr (descartes.noos.net [212.198.2.74]) by hub.freebsd.org (Postfix) with ESMTP id A8EC937B405 for ; Wed, 3 Oct 2001 03:05:40 -0700 (PDT) Received: (qmail 20571330 invoked by uid 0); 3 Oct 2001 09:36:03 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.231.187]) (envelope-sender ) by 212.198.2.74 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Oct 2001 09:36:03 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f939ZsQ18653; Wed, 3 Oct 2001 11:35:54 +0200 (CEST) (envelope-from root) Message-Id: <200110030935.f939ZsQ18653@gits.dyndns.org> Subject: Re: bzip2 make breakage In-Reply-To: <20011002172306.A26342@freeway.dcfinc.com> To: "Chad R. Larson" Date: Wed, 3 Oct 2001 11:35:54 +0200 (CEST) Cc: ports@FreeBSD.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL94c (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Chad R. Larson wrote: > I had to make the following edit to get bzip2 to build on my > 2.2.8-STABLE system. It doesn't look to me like this is an O/S > version issue, however. We were passing the name of the shared > object being built to the linker as an option. Can't work, doesn't > exist yet. And wouldn't make much sense even if it did. > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > *** -patch-aa Tue Oct 2 17:10:46 2001 > --- patch-aa Tue Oct 2 17:11:32 2001 > *************** > *** 40,46 **** > fi > > +libbz2.so.1: $(SO_OBJS) > ! + $(CC) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1 $(SO_OBJS) > + ln -sf libbz2.so.1 libbz2.so > + > test: bzip2 > --- 40,46 ---- > fi > > +libbz2.so.1: $(SO_OBJS) > ! + $(CC) -shared -Wl,-soname -o libbz2.so.1 $(SO_OBJS) try this instead : $(CC) -shared -Wl,-soname,libbz2.so.1 -o libbz2.so.1 $(SO_OBJS) or completly delete -Wl,-soname... > + ln -sf libbz2.so.1 libbz2.so > + > test: bzip2 Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message