Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-19-2010, 01:46 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
Can't build RRDTool on RHEL4 - 'make' command give error message

Hi, I'm new to LinuxQuestions and this is my first post. I'm trying to build rrdtool to install Cacti and encountered the following problem:

'make' step returns an error messages:
./.libs/ undefined reference to `xmlTextReaderGetParserLineNumber'
collect2: ld returned 1 exit status
What I have done
  1. Download and build the latest version of pkg-config, glib, pixman, cairo, pango, atk, gtk+ from official sites.
  2. Download rrdtool source
  3. Set PKG_CONFIG_PATH correctly
  4. untar the rrdtool tarball, cd inside the folder
  5. Code:
    ./configure --disable-tcl
    doesn't seem to produce an error message
  6. Code:
    and the error message occur

There is actually another problem with the computer which is "The Nautilus application has quit unexpectedly" everytime I open File Browser application or right-click>Properties a file/directory. This happen only after installing cairo and pango and I don't know how to revert to old version.

Since there are a lot of log files so I'm very confused. Can someone give me a direction on how to resolve this?

Last edited by Dialkia; 03-19-2010 at 01:48 AM.
Old 03-19-2010, 04:36 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,409

Rep: Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613Reputation: 3613
Welcome to LQ.

The Gnome / Nautilus "system packages" are :
They are always installed by default,
.. are dependencies for Gnome / Nautilus.
And if you change any of those, do not expect everything
to work. You are just lucky, that some Gnome still works.
( Changing the libs : 500 application depends on those four,
and should also be recompiled, all 500 ! )

The standard way : install the development packages with
up2date using the package manager or the command line :
atk-devel glib2-devel gtk2-devel pango-devel

rrdtool + cacti for EL4 is in the epel.repo ( rrdtool-1.2.27-3.el4 )
su -c 'rpm -Uvh'
You can install 'yum' from the epel.repo too ..
> > yum-2.4.3-0.5.el4.noarch.rpm
.. And thus use this easy tool for package install :
# yum install rrdtool cacti
Provides cacti-0.8.7e-3.el4.noarch.rpm →

Last edited by knudfl; 03-19-2010 at 12:26 PM.
1 members found this post helpful.
Old 03-19-2010, 05:04 AM   #3
LQ Newbie
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for your reply. I'll try it and see if it work.
Old 03-22-2010, 04:33 AM   #4
LQ Newbie
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Luckily I didn't inistalled new version of the 4 packages libs in /usr, but in another directory, so now I just remove the link from ldconfig path and Gnome/Nautilus are back working nicely.

And thanks for the information. Silly me, I wasn't aware of epel repo. Now I have installed rrdtool, cacti and spine. They are still having a little bit of trouble but I think I'll try googling to make an attempt to solve them first before asking in a new thread.

Once again, thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send a message in RHEL4 ES thru command prompt.. visitnag Linux - Newbie 1 03-18-2010 08:07 PM
How to make PAM give a message when denying ssh access brobeck Linux - Security 7 10-25-2009 08:09 PM
RHEL4 - easiest way to get MRTG 2.16.2 and rrdtool on-line? ph316 Red Hat 2 12-29-2008 09:14 PM
error during make command while trying to re build kernel venkatesh111 Linux - Networking 1 04-16-2006 01:37 PM
Need some help with RHEL4 and rrdtool on ppc knobdy Linux - Software 3 11-02-2005 12:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration