Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 11:35:54 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        "Chad R. Larson" <chad@DCFinc.com>
Cc:        ports@FreeBSD.org
Subject:   Re: bzip2 make breakage
Message-ID:  <200110030935.f939ZsQ18653@gits.dyndns.org>
In-Reply-To: <20011002172306.A26342@freeway.dcfinc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110030935.f939ZsQ18653>