Re: net-snmpd v5.5 build fails with "undefined reference to `pthread_create'"

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, Apr 6, 2010 at 5:54 PM, Howarth, James <[email protected]> wrote:

> I do not quite follow your response.
>
> Are you suggesting that this is bug and config_os_libs should be modified?
> If so should I create a bug for this?
>
> Or are you suggesting that I have not configured the build correctly via
> the configure command?
>
> Sorry for the naive questions but I am sure how to move forward on this
> problem.
>

Yes, I consider this as a bug in the Net-SNMP configure scripts. Please
create a bug report.

I have been able to reproduce the issue you reported with r18453 of the
source code on the 5.5 branch. Apparently it's the configure option
--disable-embedded-perl that triggers the breakage. A possible workaround is
to use the following configure command:

./configure --enable-ipv6 --disable-embedded-perl --with-libs=-lpthread

Bart.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
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.