LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 11-07-2010, 11:43 AM   #1
suryaemlinux
Member
 
Registered: Mar 2009
Distribution: CentOS, Fedora
Posts: 34

Rep: Reputation: 0
RPM 4.4.2.3 make issues


Hi,
I'm using Ubuntu 10.04 and trying to compile RPM 4.4.2.3 source. I received the following error and I dunno what to do with that. My gcc version is 4.4.3 and make version is 3.81

/usr/lib/libbeecrypt.so: undefined reference to `GOMP_parallel_sections_start'
/usr/lib/libbeecrypt.so: undefined reference to `GOMP_parallel_end'
/usr/lib/libbeecrypt.so: undefined reference to `GOMP_sections_next'
/usr/lib/libbeecrypt.so: undefined reference to `GOMP_sections_end_nowait'
collect2: ld returned 1 exit status
make[3]: *** [rpmdb_archive] Error 1
make[3]: Leaving directory `/root/Downloads/rpm-4.4.2.3/rpmdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Downloads/rpm-4.4.2.3/rpmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Downloads/rpm-4.4.2.3'
make: *** [all] Error 2


Thanks for your help
 
Old 11-07-2010, 12:08 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
RPM v4.7.2 is available in the Ubuntu 10.04 repository. Why not just install it from there?
 
Old 11-07-2010, 02:11 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
RPM 4.4.2.3 : This is the RH EL5 / CentOS 5.5 default rpm version.
The SRC RPM source code includes 37 patches. Some are for bug fixing.
The error, you show, is the first of the many errors.
'export CC=gcc-4.1' before configuring (./configure) will fix it.
Will not fix all the other errors. Compiling is not possible on Ubuntu, AFAIK.


If you really think, you need an old 'rpm-4.4.2', you can do :
1) Remove all rpm, librm with Synaptic.
2) sudo dpkg -r libbeecrypt-dev
3) sudo dpkg -r libbeecrypt7
.... Those cannot be removed with apt : Will then install rpm-4.7.
4) sudo dpkg -i libbeecrypt6_4.1.2-6build1_<arch>.deb
5) sudo dpkg -i librpm4.4_4.4.2.1-1ubuntu6_<arch>.deb
6) sudo dpkg -i rpm_4.4.2.1-1ubuntu6_<arch>.deb
.... Where <arch> is i386 or amd64.
The packages are from Ubuntu Hardy http://packages.ubuntu.com/hardy/rpm
....

Last edited by knudfl; 11-08-2010 at 01:18 PM.
 
1 members found this post helpful.
Old 11-08-2010, 12:10 PM   #4
suryaemlinux
Member
 
Registered: Mar 2009
Distribution: CentOS, Fedora
Posts: 34

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stress_junkie View Post
RPM v4.7.2 is available in the Ubuntu 10.04 repository. Why not just install it from there?
Well, a good question. I must have RPM v4.4.2.3 to make my LTIB work. As a matter of fact, I already have 4.7 or so in my system. I should downgrade that before installing LTIB.

Thanks,
 
Old 11-08-2010, 12:11 PM   #5
suryaemlinux
Member
 
Registered: Mar 2009
Distribution: CentOS, Fedora
Posts: 34

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
RPM 4.4.2.3 : This is the RH EL5 / CentOS 5.5 default rpm version.
The SRC RPM source code includes 37 patches. Some are for bug fixing.
The error, you show, is the first of the many errors.
'export CC=gcc-4.1' before configuring (./configure) will fix it.
Will not fix all the other errors. Compiling is not possible, AFAIK.


If you really think, you need an old 'rpm-4.4.2', you can do :
1) Remove all rpm, librm with Synaptic.
2) sudo dpkg -r libbeecrypt-dev
3) sudo dpkg -r libbeecrypt7
.... Those cannot be removed with apt : Will then install rpm-4.7.
4) sudo dpkg -i libbeecrypt6_4.1.2-6build1_<arch>.deb
5) sudo dpkg -i librpm4.4_4.4.2.1-1ubuntu6_<arch>.deb
6) sudo dpkg -i rpm_4.4.2.1-1ubuntu6_<arch>.deb
.... Where <arch> is i386 or amd64.
The packages are from Ubuntu Hardy http://packages.ubuntu.com/hardy/rpm
....
Thanks for your reply. Let me try this out and reply you.


Thanks,
 
Old 11-08-2010, 01:28 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
I did compile some parts of LTIB once on Ubuntu 8.10.
which has the rpm version, you ask for, 4.4.2.3.

Ubuntu 8.10 packages : "The old archive"
http://old-releases.ubuntu.com/ubuntu/pool/main/r/rpm/


LTIB Ubuntu http://www.imxdev.org/wiki/index.php..._config_ubuntu
..
 
Old 11-08-2010, 01:47 PM   #7
suryaemlinux
Member
 
Registered: Mar 2009
Distribution: CentOS, Fedora
Posts: 34

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
I did compile some parts of LTIB once on Ubuntu 8.10.
which has the rpm version, you ask for, 4.4.2.3.

Ubuntu 8.10 packages : "The old archive"
http://old-releases.ubuntu.com/ubuntu/pool/main/r/rpm/


LTIB Ubuntu http://www.imxdev.org/wiki/index.php..._config_ubuntu
..
I tried 4.4.2.1 rpm package as well (Not .deb install but make) it failed at the same place as well. Let me try it out with installing .deb packages.
 
Old 11-08-2010, 07:52 PM   #8
suryaemlinux
Member
 
Registered: Mar 2009
Distribution: CentOS, Fedora
Posts: 34

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
I did compile some parts of LTIB once on Ubuntu 8.10.
which has the rpm version, you ask for, 4.4.2.3.

Ubuntu 8.10 packages : "The old archive"
http://old-releases.ubuntu.com/ubuntu/pool/main/r/rpm/


LTIB Ubuntu http://www.imxdev.org/wiki/index.php..._config_ubuntu
..
Hi,
Thanks for your input. Installing rpm 4.4.2.3 done the trick. As you mentioned, I installed libbeecrypt6_4.1.2-6build1 as well. Now, I'm done with my LTIB installation.

Thanks a lot, man.
 
  


Reply

Tags
make, rpm, ubuntu


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
Apache make and make install issues rajnair0278 Linux - Software 7 04-12-2006 03:42 AM
how do I make a binary rpm from a source rpm darkone66669 Linux - Software 3 01-11-2005 10:42 AM
RPM issues ThePlatypus Linux - Software 2 08-24-2004 09:47 PM
rpm issues h/w Linux - Distributions 2 03-31-2003 06:32 PM
RPM issues.... juagut Linux - Newbie 5 04-21-2001 09:22 AM


All times are GMT -5. The time now is 01:22 AM.

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