Posts Tagged ‘libtool’

syntax error in VERSION script

Monday, July 28th, 2008

So playing with some code I’m building I got to this:

/usr/bin/ld:.libs/pygvariant.ver:2: syntax error in VERSION script

Sucker autotools, after like 1 hour of thinking I read the log (I haven’t read it :) ):

libtool: link: /bin/grep -E -e "init_pygvariant" ".libs/pygvariant.exp" > ".libs/pygvariant.expT"
libtool: link: mv -f ".libs/pygvariant.expT" ".libs/pygvariant.exp"
libtool: link: echo "{ global:" > .libs/pygvariant.ver
libtool: link:  cat .libs/pygvariant.exp | sed -e "s/\(.*\)/\1;/" >> .libs/pygvariant.ver
libtool: link:  echo "local: *; };" >> .libs/pygvariant.ver

So running all those commands made me discover that my function was still init_gvariant and not init_pygvariant.

That’s all for today.