Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93494 - nessus 2.31 doesn't compile under OS X due to several undefined symbols
Summary: nessus 2.31 doesn't compile under OS X due to several undefined symbols
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC64 OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 19:40 UTC by Maurice Volaski
Modified: 2008-03-01 22:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurice Volaski 2005-05-21 19:40:05 UTC
nessus 2.31 doesn't compile under OS X due to several undefined symbols:

ld: warning -L: directory name (/usr/lib/lib) does not exist
ld: warning multiple definitions of symbol _regcomp
regex.o definition of _regcomp in section (__TEXT,__text)
/usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex.o definition of _regexec in section (__TEXT,__text)
/usr/lib/libdl.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex.o definition of _regfree in section (__TEXT,__text)
/usr/lib/libdl.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_libintl_gettext
_libintl_bind_textdomain_codeset
_libintl_bindtextdomain
_libintl_textdomain
make[1]: *** [nessus] Error 1
make: *** [client] Error 2

(It's not clear if bug 85438 [another nessus compile problem under OS X] has been resolved or whether it will still affect the compile should the problem above be fixed.)
Comment 1 Maurice Volaski 2005-05-22 22:21:53 UTC
submitted to bugs.nessus.org as #1228
Comment 2 Fabian Groffen gentoo-dev 2005-07-22 12:23:18 UTC
That version (2.3.1) is hard masked, and as such is can be expected not to
compile.  However, do you have the latest Xcode (2.1)?  It solves some of these
linker problems.

FYI: I just compiled:

[ebuild  N    ] net-analyzer/nessus-libraries-2.2.4[ok] 
[ebuild  N    ] net-analyzer/libnasl-2.2.4  [ok]
[ebuild  N    ] net-analyzer/nessus-core-2.2.4-r1 [ok] 
[ebuild  N    ] net-analyzer/nessus-plugins-2.2.4 [ok]
[ebuild  N    ] net-analyzer/nessus-2.2.4  [ok]

and experienced no problems.
Comment 3 Maurice Volaski 2005-07-22 12:26:50 UTC
Yes, I was able to compile that version as well.
Comment 4 Fabian Groffen gentoo-dev 2005-09-09 13:59:16 UTC
The following versions compile:

[ebuild  N    ] net-analyzer/nessus-libraries-2.2.5  416 kB [1] 
[ebuild  N    ] net-analyzer/libnasl-2.2.5  355 kB [1] 
[ebuild  N    ] net-analyzer/nessus-core-2.2.5  -X -debug (-gtk2) -prelude -tcpd
667 kB [1] 
[ebuild  N    ] net-analyzer/nessus-plugins-2.2.5  1,089 kB [1] 
[ebuild  N    ] net-analyzer/nessus-2.2.5  0 kB [1] 

The "prelude" flag requires this, which is ~ppc-macos in portage:
[ebuild  N    ] dev-libs/libtasn1-0.2.13  (-doc) 0 kB [1] 
[ebuild  N    ] net-libs/gnutls-1.2.4  -crypt (-doc) -zlib 0 kB [1] 
[ebuild  N    ] dev-libs/libprelude-0.9.0_rc14  (-perl) -python 1,604 kB 

One nasty think that is left:
the X USE flag pulls gtk, or if gtk2 is also set, gtk2.  We cannot just mask X
for this reason, so I was looking for a way to mask X only for this package. 
Any dev know how to do this the correct way for ppc-macos?
Comment 5 Fabian Groffen gentoo-dev 2008-03-01 22:05:12 UTC
# Marcelo Goes <vanquirius@gentoo.org> (3 Apr 2007)
# Nessus 2.3.x was discontinued

closing as we need someone to figure out what /is/ supposed to work.