Snort mailing list archives

Re: static compilation


From: Chris Green <cmg () sourcefire com>
Date: Wed, 24 Jul 2002 07:19:16 -0400

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


Current thread: