LDFLAGS=-lclntsh -lcommon -lcore4 -lnlsrtl3or
setenv LDFLAGS "-lclntsh -lcommon -lcore4 -lnlsrtl3"depending on the shell that you are using. Note that libraries might be different depending on the version of Oracle or the OS in use. Also, the order of these libraries in the list is usually important.
Sometimes, building Oracle requires that you use a C compiler other than the default one. Use -with-cc=your-compiler to tell configure which compiler to use.