Subject: libtool problems making gtk2
To: None <>
From: Georg Schwarz <>
List: tech-pkg
Date: 08/08/2004 17:22:03
I am trying to compile x11/gtk2 on IRIX 5.3. It turns out there is a problem
with libtool (libtool 1.5.6 from pkgsrc):

generating symbol list for `'
nm -B  .libs/gdk-pixbuf.o .libs/gdk-pixbuf-animation.o .libs/gdk-pixbuf-data.o
.libs/gdk-pixbuf-io.o .libs/gdk-pixbuf-loader.o .libs/gdk-pixbuf-scale.o
.libs/gdk-pixbuf-util.o .libs/gdk-pixdata.o .libs/gdk-pixbuf-enum-types.o
pixops/.libs/libpixops.a |  | /usr/local/bin/sed 's/.* //' | sort | uniq >
/usr/local/pkg/bin/libtool[4000]: syntax error at line 1 : `|' unexpected
gmake[4]: *** [] Error 2

The respective line in /usr/local/pkg/bin/libtool is

# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe |
\$SED 's/.* //' | sort | uniq > \$export_symbols"

elsewhere in the libtool script I find the following:

# Take the output of nm and produce a listing of raw symbols and C names.

Is this what causes the problem? Should it be something else than an empty
string? What is it on other platforms?

Georg Schwarz     +49 177 8811442