Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge net-snmp: cannot find -lnetsnmpagent
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Fri Aug 08, 2014 8:41 pm    Post subject: [SOLVED] emerge net-snmp: cannot find -lnetsnmpagent Reply with quote

I have been unable to emerge net-analyzer:net-snmp-5.7.3_pre3 with the following error:

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnetsnmpagent
collect2: error: ld returned 1 exit status


Emerge log (http://bpaste.net/show/578600/) and emerge info (http://bpaste.net/show/578613/).

As suggested in other threads, I have tried:
Code:
python-updater
python-updater --reinstall-identical-versions
revdep-rebuild


Any hints appreciated.

Cheers!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts.


Last edited by mimosinnet on Sun Aug 24, 2014 6:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
mefyl
n00b
n00b


Joined: 15 Nov 2012
Posts: 3
Location: Paris

PostPosted: Thu Aug 21, 2014 10:44 am    Post subject: Reply with quote

Hi,

I got stuck there too, and removing my obsolete libnetsnmpagent.so* files did the trick for me.

Code:

rm /usr/lib64/libnetsnmpagent.so.30.0.3
rm /usr/lib64/libnetsnmpagent.so.30


Your file name may, of course, vary. I noticed those libs were leftover preserved as old packages used it, and I guess the net-snmp configure would see them and guess differently, but fail at linking with them at some point.

Cheers,
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Sun Aug 24, 2014 6:18 pm    Post subject: Reply with quote

Thanks a lot! Cheers!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum