We are attempting to compile the dbschema.pl script and we get this error. Probably need more info but not quite sure what else to tell you.
$ make
make[1]: Entering directory `/net/home/coreyc/sybperl-2.18/BCP'
make[1]: Leaving directory`/net/home/coreyc/sybperl-2.18/BCP'
make[1]: Entering directory`/net/home/coreyc/sybperl-2.18/BLK'
make[1]: Leaving directory
`/net/home/coreyc/sybperl-2.18/BLK'
make[1]: Entering directory `/net/home/coreyc/sybperl-2.18/CTlib'
rm -f ../blib/arch/auto/Sybase/CTlib/CTlib.so
LD_RUN_PATH="/opt/sybase/OCS-12_5/lib" cc -L/opt/sybase/OCS-12_5/lib
+-shared -L/usr/local/lib64 CTlib.o -o ../blib/arch/auto/Sybase/CTlib
+/CTlib.so -L/opt/sybase/OCS-12_5/lib -lct_r -lcs_r -lsybtcl_r -lcom
+n_r -lintl_r -lblk_r -lm
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin
+ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.so
+when searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin
+ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.a w
+hen searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin
+ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.so
+when searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin
+ux/bin/ld: skipping incompatible /opt/sybase/OCS-12_5/lib/libct_r.a w
+hen searching for -lct_r
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-lin
+ux/bin/ld: cannot find -lct_r
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/Sybase/CTlib/CTlib.so] Error 1
make[1]: Leaving directory `/net/home/coreyc/sybperl-2.18/CTlib'
make: *** [subdirs] Error 2