Subject: problems compiling lang/guile
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 03/13/2004 15:33:54
When compiling lang/guile I end up with:

creating libguile.la
(cd .libs && rm -f libguile.la && ln -s ../libguile.la libguile.la)
/bin/ksh ../libtool --mode=link cc  -O2 -I/usr/local/pkg/include
-L/usr/local/pkg/lib -o guile -dlpreopen force guile.o libguile.la
-lcrypt -lm 
libtool: link: not configured to extract global symbols from dlpreopened
files
cc -O2 -I/usr/people/schwarz/pkgsrc/lang/guile/work/.buildlink/include
-o .libs/guile guile.o  ./.libs/libguile.so
-L/usr/people/schwarz/pkgsrc/lang/guile/work/guile-1.6.4/libguile-ltdl/.
libs
/usr/people/schwarz/pkgsrc/lang/guile/work/guile-1.6.4/libguile-ltdl/.li
bs/libguile-ltdl.so
-L/usr/people/schwarz/pkgsrc/lang/guile/work/.buildlink/lib -ldl -lcrypt
-lm -Wl,-rpath -Wl,/usr/local/pkg/lib
ld:
The shared object /usr/lib/libdl.so did not resolve any symbols.
        You may want to remove it from your link line.
Unresolved:
lt_preloaded_symbols
gmake[2]: *** [guile] Error 1
gmake[2]: Leaving directory
`/usr/people/schwarz/pkgsrc/lang/guile/work/guile-1.6.4/libguile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/people/schwarz/pkgsrc/lang/guile/work/guile-1.6.4'
gmake: *** [all] Error 2
*** Error code 2

With lang/guile14 it is similar.


gmake[2]: Entering directory
`/usr/people/schwarz/pkgsrc/lang/guile14/work/guile-1.4.1/libguile'
/bin/ksh ../libtool --mode=link cc  -O2 -I/usr/local/pkg/include
-L/usr/local/pkg/lib -o guile -dlpreopen force guile.o libguile.la  -lm
libtool: link: not configured to extract global symbols from dlpreopened
files
cc -O2 -I/usr/people/schwarz/pkgsrc/lang/guile14/work/.buildlink/include
-o .libs/guile guile.o
-L/usr/people/schwarz/pkgsrc/lang/guile14/work/.buildlink/lib
./.libs/libguile.so /usr/local/pkg/lib/libltdl.so -ldl -lm -Wl,-rpath
-Wl,/usr/local/pkg/guile/1.4/lib:/usr/local/pkg/lib
ld:
The shared object /usr/lib/libdl.so did not resolve any symbols.
        You may want to remove it from your link line.
Unresolved:
lt_preloaded_symbols

my environment: IRIX lorenz 5.3 08031225 IP20 mips

When I directly geth the guile tar archive and compile the source things
work fine. Is this a problem with libtool?

lorenz 78% /usr/local/pkg/bin/libtool --version
ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442