Posts Tagged ‘ftbfs’

GTK+ from checkout not building in Ubuntu

Friday, December 12th, 2008

If you try to build GTK+ from a checkout (svn, git) in Ubuntu you will probably hit this:

/usr/bin/ld:.libs/libgdk_pixbuf-2.0.ver:2: ignoring invalid character `\001′ in script
/usr/bin/ld:.libs/libgdk_pixbuf-2.0.ver:2: syntax error in VERSION script

the solution is to export a C locale before building, like this:

LC_ALL=C make

Update 30/12/08: The real solution as pointed by Xan is to use bash instead of dash for sh, reconfigure the dash package and select “DO NOT WANT” when asked:

sudo dpkg-reconfigure dash