On 27/03/07, Eirik Nordbrøden <[EMAIL PROTECTED]> wrote: > I have problems building the 5.4 line on linux. I get the following error > message:
> /usr/bin/ld: cannot find -lelf > The library libelf seems to be installed: > > $ ls -l /usr/lib/libelf* > -rwxr-xr-x 1 root root 65492 Aug 13 2006 /usr/lib/libelf-0.97.1.so > lrwxrwxrwx 1 root root 16 Feb 21 09:13 /usr/lib/libelf.so.1 -> > libelf-0.97.1.so The build process is looking for libelf.so, not libelf.so.1 The .so file is part of the elfutils-devel RPM, which is required for *building* applications that use this library. The .so.1 file is provided for *running* applications that have already been compiled. Please see the FAQ entry: The compilation is complaining about missing libraries. Why? http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_02 Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders