Nelson H. F. Beebe wrote:

> libtool: link: gcj -g -O2 --main=foo1 -o main_static .libs/foo1.o  
> ./.libs/liba1.a 
> +++ /local/build/bare/libtool-2.2/tests/testsuite.dir/at-stderr       
> 2008-03-04 15:26:49.000000000 -0700
> @@ -0,0 +1 @@
> +./main_static: error while loading shared libraries: libiconv.so.2: cannot 
> open shared object file: No such file or directory
> ./convenience.at:277: exit code was 127, expected 0
> 19. convenience.at:229: 19. Java convenience archives (convenience.at:229): 
> FAILED (convenience.at:277)

Hmm. Does the gcj on this system add -liconv at link time, but somehow
not add it to the rpath?

What does:

gcj -### -o /dev/null /dev/null

show?

Peter
-- 
Peter O'Gorman
http://pogma.com


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to