/usr/bin/ctlib is in ncl-ncarg 6.3.0-13.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #!/bin/csh -f
#
# $Id: ctlib.csh,v 1.9 2008-07-27 03:58:55 haley Exp $
#
# Copyright (C) 2000
# University Corporation for Atmospheric Research
# All Rights Reserved
#
# The use of this Software is governed by a License Agreement.
#
# This script simply reports the libraries required by ctrans.
# The library list will vary depending on machine configuration
#
set libdir = `ncargpath lib`
if ($status != 0) then
exit 1
endif
if (! -d "$libdir") then
echo "Library directory <$libdir> does not exist."
exit 1
endif
set robjdir = $libdir/ncarg/robj
set locals = ""
foreach file (libictrans.o libctrans.o)
set locals = "$locals $robjdir/$file"
end
foreach file (libcgm.a libncarg_ras.a)
set locals = "$locals $libdir/$file"
end
echo $locals -lX11 -lXext -lmfhdfalt -ldfalt -ljpeg -lz -lm
|