File ncbi-6.1-link-to-shared-motif.patch of Package ncbi
diff -aruN ncbi.orig/platform/linux64.ncbi.mk ncbi/platform/linux64.ncbi.mk
--- ncbi.orig/platform/linux64.ncbi.mk 2010-02-05 20:46:19.000000000 +0100
+++ ncbi/platform/linux64.ncbi.mk 2012-09-05 22:41:12.523320086 +0200
@@ -18,7 +18,7 @@
NCBI_VIBLIBS = -lXmu -lXm -lXt -lSM -lICE -lXext -lXp -lX11 -ldl
#warning! If you have only dynamic version of Motif or Lesstif
#you should delete -Wl,-Bstatic sentence from the next line:
-NCBI_DISTVIBLIBS = -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lXmu -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXft -lfontconfig -ljpeg -lpng -lXt -lSM -lICE -lXext -lXp -lX11 -ldl
+NCBI_DISTVIBLIBS = -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lXmu -lXm -Wl,-Bdynamic -lXft -lfontconfig -ljpeg -lpng -lXt -lSM -lICE -lXext -lXp -lX11 -ldl
NCBI_OTHERLIBS = -lm
NCBI_RANLIB = ranlib
# Used by makedis.csh
diff -aruN ncbi.orig/platform/linux.ncbi.mk ncbi/platform/linux.ncbi.mk
--- ncbi.orig/platform/linux.ncbi.mk 2010-02-05 20:46:19.000000000 +0100
+++ ncbi/platform/linux.ncbi.mk 2012-09-05 22:41:03.115319862 +0200
@@ -23,7 +23,7 @@
NCBI_VIBLIBS = -lXmu -lXm -lXt -lSM -lICE -lXext -lXp -lX11 -ldl
#warning! If you have only dynamic version of Motif or Lesstif
#you should delete -Wl,-Bstatic sentence from the next line:
-NCBI_DISTVIBLIBS = -L/usr/X11R6/lib -lXmu -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXft -lfontconfig -ljpeg -lpng -lXt -lSM -lICE -lXext -lXp -lX11 -ldl
+NCBI_DISTVIBLIBS = -L/usr/X11R6/lib -lXmu -lXm -Wl,-Bdynamic -lXft -lfontconfig -ljpeg -lpng -lXt -lSM -lICE -lXext -lXp -lX11 -ldl
NCBI_OTHERLIBS = -lm
NCBI_RANLIB = ranlib
# Used by makedis.csh