Index: /branches/eam_branches/ipp-20120601/psconfig/psconfig.csh.in
===================================================================
--- /branches/eam_branches/ipp-20120601/psconfig/psconfig.csh.in	(revision 34023)
+++ /branches/eam_branches/ipp-20120601/psconfig/psconfig.csh.in	(revision 34024)
@@ -331,4 +331,12 @@
  case lin64:
  case linrh64:
+   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  
    set xtralibs = ( $xtralibs "/usr/lib64" "/usr/X11R6/lib64" "/lib64" )
    breaksw;
