rpm5 compilation on rhel6.
Hi All, Need your help with this, make[3]: Entering directory xmlFreeParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so: undefined reference to xmlCreatePushParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so: undefined reference to /tmp/rpm/rpm-5.3.5/rpmconstant' make[2]: *** [all] Error 2 make[2]: Leaving directory /tmp/rpm/rpm-5.3.5' make: *** [all] Error 2 configured with ./configure --with-openssl=/usr/local/ssl/ --with-db=/usr/include/db51 Best Regards Maruthi Devulapalli NASD - Unix 201-743-6585 This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England. This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system. Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group. Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.
Re: rpm5 compilation on rhel6.
On Feb 15, 2012, at 3:59 PM, Maruthi Devulapalli wrote: Hi All, Need your help with this, make[3]: Entering directory xmlFreeParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so: undefined reference to xmlCreatePushParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so: undefined reference to /tmp/rpm/rpm-5.3.5/rpmconstant' make[2]: *** [all] Error 2 make[2]: Leaving directory /tmp/rpm/rpm-5.3.5' make: *** [all] Error 2 Hmmm … I don't recall this issue. One thing to try is a clean build from scratch make distclean or (at a minimum) rebuild the misc directory: cd misc make clean all The misc directory has some subtle problems with missing Makefile pre-requisites. A proper solution is quite difficult because of the need to build RPM both with internal - external trees. Some problems are not worth solving imho. RPM itself doesn't depend on libxml2: the usual need is from rpm - neon - libxml2 where the necessary additional libraries are brought in from neon's pkgconfig. So librpmmisc is a collection point for most external library linkages, and a container for most internal (i.e. built when RPM is built) objects. That is why rebuilding misc manually somethings needs to be attempted. configured with ./configure --with-openssl=/usr/local/ssl/ --with-db=/usr/include/db51 You might need additional options (if those are the only two options you passed to configure). Examine the %system stanza in the top-level devtool.conf file. Those options are what I typically use on Red Hat derived systems (but note that for development I configure *EVERYTHING*: you almost certainly need/want to be more selective than what is in the %system stanza). hth 73 de Jeff Best Regards Maruthi Devulapalli NASD – Unix 201-743-6585 This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England. This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system. Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group. Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.
Re: rpm5 compilation on rhel6.
On Wed, Feb 15, 2012 at 9:59 PM, Maruthi Devulapalli maruthi.devulapa...@axa-tech.com wrote: Hi All, ** ** Need your help with this, ** ** make[3]: Entering directory xmlFreeParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so: undefined reference to xmlCreatePushParserCtxt' /tmp/rpm/rpm-5.3.5/misc/.libs/librpmmisc.so: undefined reference to /tmp/rpm/rpm-5.3.5/rpmconstant' make[2]: *** [all] Error 2 make[2]: Leaving directory /tmp/rpm/rpm-5.3.5' make: *** [all] Error 2 ** ** ** ** configured with ./configure --with-openssl=/usr/local/ssl/ --with-db=/usr/include/db51 Should be sufficient ./devtool checkout ./devtool harwich ** ** ** ** Best Regards Maruthi Devulapalli NASD – Unix 201-743-6585 ** ** This email originates from AXA Technology Services UK Limited (reg. no. 1854856) which has its registered office at 5 Old Broad Street, London EC2N 1AD, England. This message and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this in error, you should not disseminate or copy this email. Please notify the sender immediately and delete this email from your system. Please also note that any opinions presented in this email are solely those of the author and do not necessarily represent those of The AXA UK Plc Group. Email transmission cannot be guaranteed to be secure, or error free as information could be intercepted, corrupted, lost, destroyed, late in arriving or incomplete as a result of the transmission process. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. Finally, the recipient should check this email and any attachments for viruses. The AXA UK Plc Group accept no liability for any damage caused by any virus transmitted by this email.