Subject: libtool question...
To: None <tech-pkg@netbsd.org>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 03/21/2001 09:25:31
I don't understand some of the warning messages I'm seeing below.


When libtool says "shared version of the library", is "the library"
libz.so.0.2, libm.so.0.1, etc, or is "the library" libawt?


/bin/sh ../../../../libtool --mode=link cc  -O2 -Wall -Wstrict-prototypes
-I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libawt.la -rpath
/usr/pkg/kaffe/lib/kaffe  -module -release 1.0.6 -export-symbols-regex
"^([Jj]ava|kaffe)_" tlk.lo wnd.lo evt.lo gra.lo fnt.lo clr.lo img.lo
imggif.lo imgjpeg.lo imgpng.lo cbd.lo -L/usr/local/lib -ljpeg  -lpng
-L/usr/local/lib -lz  -lm  -lungif   -L/usr/X11R6/lib -R/usr/X11R6/lib
-lXext  -lSM -lICE -lX11 -L/usr/local/lib   -R/usr/local/lib

*** Warning: This library needs some functionality provided by -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

mcmahill@ampere 147 # ls -l /usr/lib/libz.so*
lrwxr-xr-x  1 root  wheel     11 Nov 17 18:32 /usr/lib/libz.so ->
libz.so.0.2
lrwxr-xr-x  1 root  wheel     11 Nov 17 18:32 /usr/lib/libz.so.0 ->
libz.so.0.2
-r--r--r--  1 root  wheel  85581 Mar  3  2000 /usr/lib/libz.so.0.1
-r--r--r--  1 root  wheel  86433 Nov 17 14:09 /usr/lib/libz.so.0.2
m

*** Warning: This library needs some functionality provided by -lm.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

same here..


*** Warning: This library needs some functionality provided by -lXext.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lSM.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lICE.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This library needs some functionality provided by -lX11.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libawt.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.


Thanks
-Dan