Index: branches/eam_branches/ipp-20120601/psconfig/psconfig.csh.in
===================================================================
--- branches/eam_branches/ipp-20120601/psconfig/psconfig.csh.in	(revision 33977)
+++ branches/eam_branches/ipp-20120601/psconfig/psconfig.csh.in	(revision 34022)
@@ -125,4 +125,5 @@
 if ($?PERL5LIB == 0) setenv PERL5LIB
 if ($?MANPATH == 0) setenv MANPATH
+if ($?LDFLAGS == 0) setenv LDFLAGS
 
 # identify system architecture
@@ -318,4 +319,12 @@
  case linux:
  case linrh:
+   gcc --version | grep 4.6.3 | grep Ubuntu >& /dev/null
+   if ($status == 0) then
+    set xtraflags = "-Wl,--no-as-needed"
+    echo $LDFLAGS | grep -- $xtraflags >& /dev/null
+    if ($status) then
+      setenv LDFLAGS "$LDFLAGS $xtraflags"
+    endif
+   endif  
    breaksw;
 
