Hi Armin,
I very much appreciate your help. I could not find "libXt.so.6". Below are the libXt libraries I found. I could not find package online that has this library.
_________________________________________________________________________________________________________________________
ajays-MacBook-Air:~ ajay$ sudo find / -iname 'libXt*'
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXt.6.0.0.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXt.6.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXt.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXTrap.6.4.0.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXTrap.6.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXTrap.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXtst.6.1.0.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXtst.6.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/X11/lib/libXtst.dylib
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/opt/X11/lib/libXt.6.dylib
/opt/X11/lib/libXt.dylib
/opt/X11/lib/libXTrap.6.dylib
/opt/X11/lib/libXTrap.dylib
/opt/X11/lib/libXtst.6.dylib
/opt/X11/lib/libXtst.dylib
ajays-MacBook-Air:~ ajay$
______________________________________________________________________________________________________________________________
I tried to compile the example code linking "/opt/X11/lib", but it gave me the same error as shown below.
______________________________________________________________________________________________________________________________
ajays-MacBook-Air:examples ajay$ ls
a.out exa_c exa_f77.f map_cpp.cpp test.c
a.out.dSYM exa_c.c exa_f90.f90 map_f77.f
dislin.h exa_cpp.cpp map_c.c map_f90.f90
ajays-MacBook-Air:examples ajay$ gcc exa_c.c -L$DISLIN -ldislin -L/opt/X11/lib
ajays-MacBook-Air:examples ajay$ ./a.out
dyld: Symbol not found: _XtStrings
Referenced from: /Users/ajay/dislin/libdislin.10.dylib
Expected in: flat namespace
Trace/BPT trap: 5
ajays-MacBook-Air:examples ajay$
________________________________________________________________________________________________________________________________
Thanks again.
Ajay Mahato.