Ethereal-dev: [Ethereal-dev] Re: [Ethereal-users] Problem install: Duplicate symbol "version"

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 11 Jan 2001 10:56:28 -0600
Thanks for the log. The interesting part is where the gryphon plugin is created.
Both a "static" version and a PIC version of packet-gryphon.o are created, but when making the library,
libtool decides to make a static module (an archive library with the static object)


/bin/sh ../../libtool --mode=link gcc  -Wall -g -O2 -I../.. -I../../wiretap -I../../epan -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include/X11R6 -L/usr/local/lib -o gryphon.la -rpath /usr/local/lib/ethereal/plugins/0.8.14 -module -avoid-version packet-gryphon.lo
rm -fr .libs/gryphon.la .libs/gryphon.* .libs/gryphon.*

*** Warning: This library needs some functionality provided by -L/usr/local/lib.
*** 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 gryphon.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/gryphon.a  packet-gryphon.o
ranlib .libs/gryphon.a
creating gryphon.la

What's strange is the first line of the warning. Libtool seems to hink that
"-L/usr/local/lib" is a library, when it's just a command-line argument
indicating a directory. That's what I'm going to investigate.

--gilbert