gcc -o gjobread gjobread.c -I/home/oracle/libxmldemo -lxml2 呵呵,折腾了半小时,就是因为没有加上 "-lxml2",说实话,我不明白为什么要加上这个,好多年没碰过C了。