Re: net-snmp-5.3.0.1 on RHEL3

"Big Wave Dave" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 3/8/06, Big Wave Dave <[email protected]> wrote:
> On 3/8/06, Thomas Anders <[email protected]> wrote:
> > Big Wave Dave wrote:
> > > I have a x86_64 bit machine running RHEL3.
> > [...]
> > > However, I am having difficulty building the src rpm and/or the src tarball.
> > [...]
> > > /usr/lib/libpopt.so: could not read symbols: Invalid operation
> >
> > IIRC the current workaround is along the lines of setting
> >
> >    export LDFLAGS=-L/usr/lib64
> >
> > before running configure (or "rpm -bb" or ...).
> >
> >
> > +Thomas
> >
> > --
> > Thomas Anders (thomas.anders at blue-cable.de)
> >
>
> Awesome... that makes sense.
>
> Now I'm getting the following error:
> Processing files: net-snmp-devel-5.3.0.1-1
> Processing files: net-snmp-debuginfo-5.3.0.1-1
> Provides: libnetsnmp.so.10.0.1.debug()(64bit)
> libnetsnmpagent.so.10.0.1.debug()(64bit)
> libnetsnmphelpers.so.10.0.1.debug()(64bit)
> libnetsnmpmibs.so.10.0.1.debug()(64bit)
> libnetsnmptrapd.so.10.0.1.debug()(64bit)
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>
>
> RPM build errors:
>     user hardaker does not exist - using root
>     user hardaker does not exist - using root
>     File not found by glob: /tmp/net-snmp-root/usr/lib/*.so*
>
>
> It is creating the lib64 .so files, but not the 32bit  (I think)...
> which seems to be confusing it.
>
> Any other reommendations?
> Dave
>

I solved the compile problem of the src rpm by editing the spec file
I replaced:
/usr/lib/*.so*
with:
/usr/lib64/*.so*

Thanks for your help!
Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.