both tethereal and ethereal use functions from GLIB. things like hashtables, memory management and specific types declared in the glib headers. use --disable-gtk2 if you want to compile it for GLIB1 On 7/7/05, Glenn Newell <Glenn.Newell@xxxxxxxxxxxx> wrote: > Hi, > > I'm trying to build a consistent tethereal version across all our > platforms: > > RH 7.2 x86 > RHEL 3.0 x86 > RHEL 3.0 AMD64 > Suse E9 EM64t > Solaris 2.5 - 2.9 sparc > HPUX 11 > etc. > > for the platforms that don't have native GLIB2 and GTK+ (such as RH 7.2 > and Solaris), I'm configuring with: > > --disable-ethereal --disable-gtktest --disable-glibtest > > but I STILL get a config error for Glib2: > > checking for pkg-config... /usr/bin/pkg-config > checking for GLIB - version >= 2.0.0... no > *** Could not run GLIB test program, checking why... > *** The test program failed to compile or link. See the file config.log > for the > *** exact error that occured. This usually means GLIB is incorrectly > installed. > configure: error: GLib2 distribution not found. > > Do I really need that if I'm not building a GUI? > > On Solaris I went ahead and installed Glib2 (but not GTK+) and can get > past the configure problem, but then I have a link error: > > Undefined first referenced > symbol in file > libiconv epan/.libs/libethereal.so > libiconv_open epan/.libs/libethereal.so > libiconv_close epan/.libs/libethereal.so > register_all_plugin_tap_listeners tethereal.o > ld: fatal: Symbol referencing errors. No output written to > .libs/tethereal > collect2: ld returned 1 exit status > > A search of the list suggested tacking "." out of LD_LIBRARY_PATH, but > that didn't help . > > Suggestions? > > Thanks, > Glenn > > _______________________________________________ > Ethereal-users mailing list > Ethereal-users@xxxxxxxxxxxx > http://www.ethereal.com/mailman/listinfo/ethereal-users >
Powered by MHonArc 2.6.10