[Flac] Re:Re: Compile error on PPC linux

Jon jgrosshart at gmail.com
Mon May 1 12:59:01 PDT 2006


Jon wrote:
>
>
> /usr/bin/ld: bad -rpath option
> collect2: ld returned 1 exit status
> make[4]: *** [libFLAC.la] Error 1
>
>
> --- flac-1.1.2/src/libFLAC/Makefile.in.orig    2005-02-04 
> 21:23:37.000000000 -0500
> +++ flac-1.1.2/src/libFLAC/Makefile.in    2006-04-30 
> 20:30:00.000000000 -0400
> @@ -399,7 +399,7 @@
>       rm -f "$${dir}/so_locations"; \
>     done
> libFLAC.la: $(libFLAC_la_OBJECTS) $(libFLAC_la_DEPENDENCIES)
> -    $(LINK) -rpath $(libdir) $(libFLAC_la_LDFLAGS) 
> $(libFLAC_la_OBJECTS) $(libFLAC_la_LIBADD) $(LIBS)
> +    $(LINK) -rpath,$(libdir) $(libFLAC_la_LDFLAGS) 
> $(libFLAC_la_OBJECTS) $(libFLAC_la_LIBADD) $(LIBS)
>
> mostlyclean-compile:
>     -rm -f *.$(OBJEXT)
> --- flac-1.1.2/src/libFLAC++/Makefile.in.orig    2005-02-04 
> 21:23:37.000000000 -0500
> +++ flac-1.1.2/src/libFLAC++/Makefile.in    2006-04-30 
> 20:32:42.000000000 -0400
> @@ -351,7 +351,7 @@
>       rm -f "$${dir}/so_locations"; \
>     done
> libFLAC++.la: $(libFLAC___la_OBJECTS) $(libFLAC___la_DEPENDENCIES)
> -    $(CXXLINK) -rpath $(libdir) $(libFLAC___la_LDFLAGS) 
> $(libFLAC___la_OBJECTS) $(libFLAC___la_LIBADD) $(LIBS)
> +    $(CXXLINK) -rpath,$(libdir) $(libFLAC___la_LDFLAGS) 
> $(libFLAC___la_OBJECTS) $(libFLAC___la_LIBADD) $(LIBS)
>
> mostlyclean-compile:
>     -rm -f *.$(OBJEXT)
> --- flac-1.1.2/src/libOggFLAC/Makefile.in.orig    2005-02-04 
> 21:23:41.000000000 -0500
> +++ flac-1.1.2/src/libOggFLAC/Makefile.in    2006-04-30 
> 20:34:00.000000000 -0400
> @@ -367,7 +367,7 @@
>       rm -f "$${dir}/so_locations"; \
>     done
> libOggFLAC.la: $(libOggFLAC_la_OBJECTS) $(libOggFLAC_la_DEPENDENCIES)
> -    $(LINK) -rpath $(libdir) $(libOggFLAC_la_LDFLAGS) 
> $(libOggFLAC_la_OBJECTS) $(libOggFLAC_la_LIBADD) $(LIBS)
> +    $(LINK) -rpath,$(libdir) $(libOggFLAC_la_LDFLAGS) 
> $(libOggFLAC_la_OBJECTS) $(libOggFLAC_la_LIBADD) $(LIBS)
>
> mostlyclean-compile:
>     -rm -f *.$(OBJEXT)
> --- flac-1.1.2/src/libOggFLAC++/Makefile.in.orig    2005-02-04 
> 21:23:41.000000000 -0500
> +++ flac-1.1.2/src/libOggFLAC++/Makefile.in    2006-04-30 
> 20:35:07.000000000 -0400
> @@ -349,7 +349,7 @@
>       rm -f "$${dir}/so_locations"; \
>     done
> libOggFLAC++.la: $(libOggFLAC___la_OBJECTS) 
> $(libOggFLAC___la_DEPENDENCIES)
> -    $(CXXLINK) -rpath $(libdir) $(libOggFLAC___la_LDFLAGS) 
> $(libOggFLAC___la_OBJECTS) $(libOggFLAC___la_LIBADD) $(LIBS)
> +    $(CXXLINK) -rpath,$(libdir) $(libOggFLAC___la_LDFLAGS) 
> $(libOggFLAC___la_OBJECTS) $(libOggFLAC___la_LIBADD) $(LIBS)
>
> mostlyclean-compile:
>     -rm -f *.$(OBJEXT)
>
>
>
>


Eh..... Nevermind. The release tarball is severlly broken on PPC. Pull 
from CVS and you get a proper build.


More information about the Flac mailing list