On Nov 4, 2003, at 12:04 PM, McNutt, Justin M. wrote:
/usr/bin/ld: cannot find -lelf
...
[root@bucket ethereal-0.9.16]# ls -la /usr/lib/libelf*
lrwxrwxrwx 1 root root 15 Dec 31 2002 /usr/lib/libelf.so.0 -> libelf.so.0.8.2
-rwxr-xr-x 1 root root 95162 Aug 26 2002 /usr/lib/libelf.so.0.8.2
What happens if you create a tiny program such as
int
main(void)
{
return 0;
}and try to compile that with "-lelf":
gcc -o tiny tiny.c -lelf
Powered by MHonArc 2.6.10