Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-16-2003, 02:02 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Rep:
|
Problem Compiling Nessus 2.0.7 on Redhat
Downloaded Nessus source codes, and tried to compile it on my Redhat 9, but failed with the compilation on nessus core.
Error is
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x5b4): In function `g_strdown':
: undefined reference to `__ctype_tolower'
and other similar errors.
My RH info:
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
GTK+-dev is using the one comes with RH9, so does the OpenSSL.
Any idea on this problem?
Thanks a lot!
|
|
|
08-16-2003, 02:04 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Welcome to LQ.
What stage is that at (ie which command did you run before that happend)? Can you post the full output.
|
|
|
08-17-2003, 01:46 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
Thanks a lot, David. It is so nice to meet you in this linux forum. Wish can learn a lot of things from you linux gurus.
After i compiled the libnasl and nessus-libraries without any error showing on the screen, i started compiling the nessus-core with the command ./configure then make.
[root@localhost nessus-core]# make
cd nessus && make
make[1]: Entering directory `/download/nessus/nessus-core/nessus'
gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o
backend.o data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus `/usr/local/bin/nessus-config --libs` -L/usr/X11R6/lib -I/usr/X11R6/include -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib gdchart0.94b/gd1.3/libgd.a -lm
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x5b4): In function `g_strdown':
: undefined reference to `__ctype_tolower'
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x614): In function `g_strup':
: undefined reference to `__ctype_toupper'
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x8ee): In function `g_strchug':
: undefined reference to `__ctype_b'
/usr/lib/libglib.a(gstrfuncs.o)(.text+0x9e5): In function `g_strchomp':
: undefined reference to `__ctype_b'
/usr/lib/libglib.a(gstring.o)(.text+0xbb4): In function `g_string_down':
: undefined reference to `__ctype_tolower'
/usr/lib/libglib.a(gstring.o)(.text+0xc14): In function `g_string_up':
: undefined reference to `__ctype_toupper'
collect2: ld returned 1 exit status
make[1]: *** [nessus] Error 1
make[1]: Leaving directory `/download/nessus/nessus-core/nessus'
make: *** [client] Error 2
When i tried the installation script, it gives the same error as above also.
Is it becaues any library missing?
|
|
|
08-17-2003, 06:50 AM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What version of gcc are you running? I would try upgrading to the latest version and retrying.
|
|
|
08-17-2003, 08:46 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
My current gcc version is 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
I will try to update it to the latest, and re-compile again.
Thanks for the suggestion.
|
|
|
08-18-2003, 09:53 AM
|
#6
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
It seems too complex for me to upgrade the gcc. Is there any possbile reason for the error?
By the way, who has successfully compiled Nessus 2.0.7 on Redhat 9? What is your setting?
Thanks!
|
|
|
09-05-2003, 10:46 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
Nobody know how to do it? Is there anybody tried it on redhat 9?
|
|
|
09-07-2003, 08:32 PM
|
#9
|
LQ Newbie
Registered: Aug 2003
Posts: 6
Original Poster
Rep:
|
After updating Redhat Linux 9 through RHN, the problem is solved. Basicially, the kernel is updated, however the gcc version is still same as before.
Anyway, has managed to get Nessus up and running. Thanks to everybody's great help in past weeks.
|
|
|
All times are GMT -5. The time now is 02:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|