Thursday, February 11, 2010

Compile FreeRadius error on RHEL4 x86_64

I got the error when I run make command.

** Error **
gcc: /usr/lib/libsnmp.so: No such file or directory


I just checked, there is no file "/usr/lib/libsnmp.so" but there is a file
"/usr/lib64/libsnmp.so"

So I clean up everything and export some environment variable before run configure.

# export LDFLAGS='-L/usr/lib64'
# ./configure
# make

Now, it can be compile completely.


== TaTsHuYa ==

No comments: