I encountered a problem when building an static ethereal.0.9.4
-1.Download, unzip and untar the ethereal.0.9.4 under
/bld/baiyan/ethereal/4/ethereal.0.9.4 directory.
-2.Run "./configure --with-pcap=/home/baiyan/libcap-0.7.1 --without
-ucdsnmp"
-3.After the Makefile generated, I use the sed script to generate the static
makefile "Makefile.static"
sed \
-e 's#\-lgmodule#/opt/x11r6/lib/libgmodule.a#g' \
-e 's#\-lglib#/opt/x11r6/lib/libglib.a#g' \
-e 's#\-lgtk#/opt/x11r6/lib/libgtk.a#g' \
-e 's#\-lgdk#/opt/x11r6/lib/libgdk.a#g' \
-e 's#\-lXext#/usr/openwin/lib/libXext.a#g' \
-e 's#\-lX11#/usr/openwin/lib/libX11.a#g' \
-e 's#\-lz#/opt/x11r6/lib/libz.a#g' \
<Makefile >Makefile.static
-4.Run "make -f Makefile.static" to build the static product.
The ethereal does built but when I tried it it still complain the error,
ld.so.1: tethereal.4: fatal: libgmodule-1.2.so.0: open failed: No such file
or directory
killed.
So it is still a dynamic one.
Anyone can help me on the problem?
RGS
Baiyan
-----Original Message-----
From: S. Faizi [mailto:salfaizi@xxxxxxx]
Sent: Monday, August 04, 2003 9:57 AM
To: Joerg Mayer; Bai, Yan (Bryan)
Cc: ethereal-users@xxxxxxxxxxxx
Subject: Re: [Ethereal-users] building static ethereal on 9.0.14
From: "Joerg Mayer" <jmayer@xxxxxxxxx>
To: "Bai, Yan (Bryan)" <baiyan@xxxxxxxxxx>
Cc: <ethereal-users@xxxxxxxxxxxx>
Sent: Sunday, August 03, 2003 6:17 AM
Subject: Re: [Ethereal-users] building static ethereal on 9.0.14
On Sat, Aug 02, 2003 at 09:34:35AM +0800, Bai, Yan (Bryan) wrote:
> I tried below methods but all failed to build static ethereal, when I use
> the ethereal it
> always complain that the lib not found.
Which lib ist missing? Can you please paste a log. Can you also please send
the
output of "ldd ethereal"?
Ciao
Jörg
---------------
When I tried building ethereal 0.9.13 with static option, I still had to
include the following in LD_LIBRARY_PATH:
artnet.so
coseventcomm.la
coseventcomm.so
cosnaming.la
cosnaming.so
docsis.la
docsis.so
gryphon.la
gryphon.so
libcrypto.so.0.9.6
libgcc_s.so.1
libgdk-1.2.so.0
libglib-1.2.so.0
libgmodule-1.2.so.0
libgtk-1.2.so.0
megaco.la
megaco.so
mgcp.la
mgcp.so
pcli.la
pcli.so
rtnet.so