Snort mailing list archives

Re: static compilation


From: funky <azimlinux () yahoo com>
Date: Wed, 24 Jul 2002 04:52:32 -0700 (PDT)


Hi,

I just tried to static compile the 1.8.6 version of
snort, it did!!!!!! There must be a bug in the
"Makefile" of 1.8.7 ...

Can you explain me more briefly the solution that you
mention Chris please?

thanx

funky
Istanbul


--- Chris Green <cmg () sourcefire com> wrote:
funky <azimlinux () yahoo com> writes:

F> Hi,

I tried to set the LDFLAGS to "-static" as you
said,
but nothing has changed. The snort binary file
seems
to be still dynamically linked. 

I exactly did as below:
1 - ./configure
2 - I edited the "Makefile" and changed LDFLAGS to
"-static" (also tried yours, in fact they are
same:)
3 - make
4 - make install
5 - still dynamically linked :((((


The easiest way (albiet brute force way) to do this
is to replace all
the -ljunk with /usr/lib/libjunk.a in the linking
stage of snort

and link by hand.
-- 
Chris Green <cmg () sourcefire com>
Let not the sands of time get in your lunch.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or
unsubscribe:

https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:

http://www.geocrawler.com/redir-sf.php3?list=snort-users


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: