Unable to build webkit-gtk2 after updating ICU
carmel_ny at outlook.com
Thu Apr 30 10:46:49 UTC 2015
> > I tried that and virtually every other thing I can think of. It still
> > fails with this message:
> > CXXLD libWTF.la
> > CXXLD Programs/LLIntOffsetsExtractor
> > /usr/bin/ld:./.libs/libWTF.a: file format not recognized; treating as
> > linker script
> > /usr/bin/ld:./.libs/libWTF.a:1: syntax error
> > c++: error: linker command failed with exit code 1 (use -v to see
> > c++invocation)
> > GNUmakefile:40539: recipe for target 'Programs/LLIntOffsetsExtractor'
> > failed
> > gmake: *** [Programs/LLIntOffsetsExtractor] Error 1
> > gmake: Leaving directory '/usr/ports/www/webkit-
> > *** Error code 1
> The webkit-gtk2 build fails if the ports 'ar' is found before the system 'ar'.
> Check $PATH and put /usr/bin before /usr/local/bin.
Okay, that was the problem. However, I fail to see why. Why is there a difference between the "system" and "ports" 'ar' that causes this problem to exist? Obviously, since one does exist, it would seem only logical that the "port maintainer" would have hard coded which "ar" he/she wanted invoked. At some point it would seem advantageous to correct this problem permanently. Snce you were aware of this conflict, I can only assume that someone else knows about it too.
I changed the system path because I use "openssl" from ports. I want to make sure that, that is the version used. Is there some way I can insure that the "ports" version of "openssl" is used without changing the "path" environment?
More information about the freebsd-ports