Ethereal-dev: Re: [Ethereal-dev] ./configure glitch maybe

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Nathan Neulinger <nneul@xxxxxxx>
Date: Sat, 06 Jan 2001 17:20:18 -0600
I'm not positive, but I think I experienced a similar problem, and could
never see anything wrong with the system.

I wound up just rebuilding libz from sources and installing it, and it
worked fine.

Never could figure out what exactly was up, nm on the libraries all
showed the proper symbols/etc, but at link time, it couldn't find
gzgets.

-- Nathan

Thunderbolt wrote:
> 
> Hi,
> 
> I've just finished compiling and running the ethereal package, great
> piece of work.
> 
> However I found a minor glitch doing the makefiles.
> 
> I started the ./configure without any arguments to see how it gets.
> 
> The ./configure went fine and I looked the generated Makefile, at first
> sight all seems ok, so I started the make process...
> 
> After a while the make program complained about not finding the zlib
> package (which was succesfully found in the configure step). So, I've
> started digging in the makefile to see what went wrong, and I've
> discovered that only the /usr/local/lib was included.
> 
> I've changed the following line in the generated Makefile
> 
> LDFLAGS =  -L/usr/local/lib
> 
> for
> 
> LDFLAGS =  -L/usr/local/lib -L/usr/lib
> 
> Started the compilation again and everything went ok.
> 
> I'm using Linux Red Hat Version 6.1 with the zlib package installed from
> the rpm.
> 
> rpm -qa | grep -i zlib
> zlib-1.1.3-5
> zlib-devel-1.1.3-5
> 
> rpm -qs zlib-1.1.3-5
> normal        /usr/lib/libz.so.1
> normal        /usr/lib/libz.so.1.1.3
> 
> rpm -qs zlib-devel-1.1.3-5
> normal        /usr/doc/zlib-devel-1.1.3
> normal        /usr/doc/zlib-devel-1.1.3/ChangeLog
> normal        /usr/doc/zlib-devel-1.1.3/README
> normal        /usr/doc/zlib-devel-1.1.3/algorithm.txt
> normal        /usr/include/zconf.h
> normal        /usr/include/zlib.h
> normal        /usr/include/zutil.h
> normal        /usr/lib/libz.a
> normal        /usr/lib/libz.so
> normal        /usr/man/man3/zlib.3
> 
> And it's the only copy of the zlib package that I've got, so it can't be
> a mismatching libs. (the usual /usr/lib and /usr/local/lib) ;)
> 
> Maybe I've missed something in the configure script, but the only
> reference to a zlib library was the --enable-zlib or for the library
> --libdir.
> 
> the --libdir I'm not sure if you can enter --libdir=/usr/lib
> /usr/local/lib I didn't try that, it was easier to change the Makefile
> rather than trying to tweak the configure script ;)
> 
> Thanks in advance for reading, and by the way I'd appreciate a reply
> explaining about the --libdir but I think it's where the compiled
> library (e.g. ethereal plugins) will go in a make install step, but I'm
> not sure. I've check the configure script more closely and it's what
> I've understood from the search.
> 
> Regards,
> 
> Bruno Tardif
> 
> P.S.: I don't write often in english so please bear with me the
> sentences ;)
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev

-- 


------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-4841
CIS - Systems Programming                Fax: (573) 341-4216