Re: [Prelude Hybrid IDS] #294: Prelude-lml segfault with libtool 2.2.4 compliation.

"Prelude Hybrid IDS" <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
#294: Prelude-lml segfault with libtool 2.2.4 compliation.
-----------------------------+----------------------------------------------
 Reporter:  [email protected]   |        Owner:     
     Type:  defect           |       Status:  new
 Priority:  normal           |    Milestone:     
Component:  prelude-manager  |      Version:  0.9
 Severity:  normal           |   Resolution:     
 Keywords:  libtool          |  
-----------------------------+----------------------------------------------

Comment(by [email protected]):

 I tried using

 {{
 #define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
 }}

 patched libprelude and it built, works from everything I can see...
 restarted the patched prelude-manager no problem.

 Tried straight patching that into prelude-manager and it ran into,

 {{
 ldl ../libmissing/.libs/libmissing.a
 prelude-manager.o: In function `main':
 prelude-manager.c:(.text+0x6a): undefined reference to
 `lt__PROGRAM__LTX_preloaded_symbols'
 collect2: ld returned 1 exit status
 }}

 Which makes me still hate libtool.

 libtoolize --force
 autoreconf

 It compiles and works.

 I just added

 {{
 #define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
 }}

 to src/include/prelude-manager.h

 So that fixes the problem as long as you do libtoolize --force and
 autoreconf.  :)

-- 
Ticket URL: <https://trac.prelude-ids.org/ticket/294#comment:8>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite
_______________________________________________
Prelude-devel site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.