Hi,
Apologize if this is an FAQ, my search does not give me good result.
I am building wireshark(http://www.wireshare.org) on Solaris Developer
Express, and seeing following error when do make install as root. The
make was done successfully as regular user.
The problem I see is the -L/usr/sfw/lib option is removed from the
relink command by libtool, but I have no clue why. Your help is much
appreciated.
Cheers,
Henry
/bin/bash ../libtool --mode=install /opt/jdsbld/bin/install -c
'libwireshark.la' '/usr/local/lib/libwireshark.la'
libtool: install: warning: relinking `libwireshark.la'
(cd /home/henryjen/prj/wireshark-0.99.4/epan; /bin/bash ../libtool
--tag=CC --mode=relink /usr/bin/cc -D_U_= -g -I/usr/local/include
-D_REENTRANT -D_PTHREADS -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -g -Dsolaris2 -I. -I/usr/sfw/include
-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -o
libwireshark.la -rpath /usr/local/lib -version-info 0:1:0
addr_and_mask.lo addr_resolv.lo adler32.lo afn.lo asn1.lo atalk-utils.lo
base64.lo bitswap.lo camel-persistentdata.lo charsets.lo circuit.lo
column.lo column-utils.lo conversation.lo crc16.lo crc32.lo crypt-des.lo
crypt-md4.lo crypt-md5.lo crypt-rc4.lo dtd_grammar.lo dtd_parse.lo
dtd_preparse.lo emem.lo epan.lo ex-opt.lo except.lo expert.lo
filesystem.lo follow.lo frame_data.lo funnel.lo guid-utils.lo
h225-persistentdata.lo in_cksum.lo ipproto.lo ipv4.lo next_tvb.lo
nstime.lo oid_resolv.lo osi-utils.lo packet.lo plugins.lo prefs.lo
privileges.lo proto.lo radius_dict.lo range.lo reassemble.lo
req_resp_hdrs.lo sha1.lo sigcomp_state_hdlr.lo sigcomp-udvm.lo
sminmpec.lo sna-utils.lo stat_cmd_args.lo stats_tree.lo strutil.lo
stream.lo t35.lo tap.lo tcap-persistentdata.lo timestamp.lo to_str.lo
tvbparse.lo tvbuff.lo unicode-utils.lo value_string.lo xdlc.lo
xmlstub.lo inet_aton.lo dfilter/libdfilter.la ftypes/libftypes.la
dissectors/libdissectors.la -L/usr/lib -lgnutls -lgcrypt -lgpg-error
-L/usr/sfw/lib -lnetsnmp -lgen -lpkcs11 -lkstat -lelf -lm -ldl -lnsl
-lsocket -ladm -lm -lnsl -lz )
/opt/jdsbld/bin/ld-wrapper -G -h libwireshark.so.0 -o
.libs/libwireshark.so.0.0.1 .libs/addr_and_mask.o .libs/addr_resolv.o
.libs/adler32.o .libs/afn.o .libs/asn1.o .libs/atalk-utils.o
.libs/base64.o .libs/bitswap.o .libs/camel-persistentdata.o
.libs/charsets.o .libs/circuit.o .libs/column.o .libs/column-utils.o
.libs/conversation.o .libs/crc16.o .libs/crc32.o .libs/crypt-des.o
.libs/crypt-md4.o .libs/crypt-md5.o .libs/crypt-rc4.o
.libs/dtd_grammar.o .libs/dtd_parse.o .libs/dtd_preparse.o .libs/emem.o
.libs/epan.o .libs/ex-opt.o .libs/except.o .libs/expert.o
.libs/filesystem.o .libs/follow.o .libs/frame_data.o .libs/funnel.o
.libs/guid-utils.o .libs/h225-persistentdata.o .libs/in_cksum.o
.libs/ipproto.o .libs/ipv4.o .libs/next_tvb.o .libs/nstime.o
.libs/oid_resolv.o .libs/osi-utils.o .libs/packet.o .libs/plugins.o
.libs/prefs.o .libs/privileges.o .libs/proto.o .libs/radius_dict.o
.libs/range.o .libs/reassemble.o .libs/req_resp_hdrs.o .libs/sha1.o
.libs/sigcomp_state_hdlr.o .libs/sigcomp-udvm.o .libs/sminmpec.o
.libs/sna-utils.o .libs/stat_cmd_args.o .libs/stats_tree.o
.libs/strutil.o .libs/stream.o .libs/t35.o .libs/tap.o
.libs/tcap-persistentdata.o .libs/timestamp.o .libs/to_str.o
.libs/tvbparse.o .libs/tvbuff.o .libs/unicode-utils.o
.libs/value_string.o .libs/xdlc.o .libs/xmlstub.o .libs/inet_aton.o -z
allextract dfilter/.libs/libdfilter.a ftypes/.libs/libftypes.a
dissectors/.libs/libdissectors.a -z defaultextract -R/usr/sfw/lib
-R/usr/local/lib -L/usr/local/lib -lgmodule-2.0 -lglib-2.0 -L/usr/lib
-lgnutls -lgcrypt -lgpg-error -lnetsnmp -lgen -lpkcs11 -lkstat -lelf
-ldl -lsocket -ladm -lm -lnsl -lz -lc
ld: fatal: library -lnetsnmp: not found
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool