Re: Sybase_ct and tli lib

From: Date: Wed, 13 Nov 2002 17:03:02 +0000
Subject: Re: Sybase_ct and tli lib
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-90977@lists.php.net to get a copy of this message
Timm, I've seen it used for 10 years on Solaris, and I spent about a year working on Irix and Informix, and there were some references to it there also. strings libtli.so | grep "^Sybase" Sybase TCP/IP TLI Library/12.0/P/SPARC/Solaris 2.5.1/1/OPT/Sat Sep 25 21:07:40 1999 Sybase, Inc. All rights reserved. Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, USA a26811@f1xsds01.mn.nwa.com:/apps/soc/sybase/OCS-12_0/lib -> ll total 36696
drwxrwxr-x   2 a26811   socdev      1024 Mar 18  2001 ./
drwxrwxr-x  12 a26811   socdev      1024 Jul 31  2001 ../
-rw-r--r--   1 a26811   socdev    170568 May 11  2000 libblk.a
-rw-r--r--   1 a26811   socdev    173848 May 11  2000 libblk_r.a
-rw-r--r--   1 a26811   socdev     76124 May 11  2000 libcobct.a
-rw-r--r--   1 a26811   socdev     76668 May 11  2000 libcobct_r.a
-rw-r--r--   1 a26811   socdev    767616 May 11  2000 libcomn.a
-rwxr-xr-x   1 a26811   socdev    635092 May 11  2000 libcomn.so*
-rw-r--r--   1 a26811   socdev    793024 May 11  2000 libcomn_r.a
-rwxr-xr-x   1 a26811   socdev    657152 May 11  2000 libcomn_r.so*
-rw-r--r--   1 a26811   socdev    125888 May 11  2000 libcs.a
-rwxr-xr-x   1 a26811   socdev    102180 May 11  2000 libcs.so*
-rw-r--r--   1 a26811   socdev    133676 May 11  2000 libcs_r.a
-rwxr-xr-x   1 a26811   socdev    108564 May 11  2000 libcs_r.so*
-rw-r--r-- 1 a26811 socdev 1057028 May 11 2000 libct.a
-rwxr-xr-x   1 a26811   socdev    826260 May 11  2000 libct.so*
-rw-r--r-- 1 a26811 socdev 1086080 May 11 2000 libct_r.a
-rwxr-xr-x   1 a26811   socdev    853104 May 11  2000 libct_r.so*
-rwxr-xr-x   1 a26811   socdev     46496 May 11  2000 libddce.so*
-rw-r--r--   1 a26811   socdev     84572 May 11  2000 libintl.a
-rwxr-xr-x   1 a26811   socdev     65468 May 11  2000 libintl.so*
-rw-r--r--   1 a26811   socdev     88360 May 11  2000 libintl_r.a
-rwxr-xr-x   1 a26811   socdev     69144 May 11  2000 libintl_r.so*
-rwxr-xr-x   1 a26811   socdev     23016 May 11  2000 libsdce.so*
-rwxr-xr-x   1 a26811   socdev     23612 May 11  2000 libskrb.so*
-rw-r--r-- 1 a26811 socdev 3072280 May 11 2000 libsmapp.a
-rwxr-xr-x   1 a26811   socdev    881656 May 11  2000 libsrv.so*
-rwxr-xr-x   1 a26811   socdev    917412 May 11  2000 libsrv_r.so*
-rw-r--r-- 1 a26811 socdev 1852908 May 11 2000 libsybdb.a -rwxr-xr-x 1 a26811 socdev 1409796 May 11 2000 libsybdb.so*
-rw-r--r--   1 a26811   socdev    550128 May 11  2000 libtcl.a
-rwxr-xr-x   1 a26811   socdev    428108 May 11  2000 libtcl.so*
-rw-r--r--   1 a26811   socdev    561080 May 11  2000 libtcl_r.a
-rwxr-xr-x   1 a26811   socdev    440548 May 11  2000 libtcl_r.so*
-rwxr-xr-x   1 a26811   socdev     28032 May 11  2000 libtli.so*
-rwxr-xr-x   1 a26811   socdev     22080 May 11  2000 libtli_r.so*
-rw-r--r--   1 a26811   socdev    317032 May 11  2000 libxadtm.a
-rwxr-xr-x   1 a26811   socdev    244392 May 11  2000 libxadtm.so*
a26811@f1xsds01.mn.nwa.com:/apps/soc/apache/libexec -> ldd libphp4.so
       libdl.so.1 =>    /usr/lib/libdl.so.1
       libpam.so.1 =>   /usr/dt/lib/libpam.so.1
       libtcl.so =>     /apps/soc/sybase/OCS-12_0/lib/libtcl.so
       libtli.so =>     /apps/soc/sybase/OCS-12_0/lib/libtli.so
       libintl.so =>    /apps/soc/sybase/OCS-12_0/lib/libintl.so
       libcomn.so =>    /apps/soc/sybase/OCS-12_0/lib/libcomn.so
       libct.so =>      /apps/soc/sybase/OCS-12_0/lib/libct.so
       libcs.so =>      /apps/soc/sybase/OCS-12_0/lib/libcs.so
       libldap.so.4 =>  /usr/lib/libldap.so.4
       libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
       libresolv.so.2 =>        /usr/lib/libresolv.so.2
       libm.so.1 =>     /usr/lib/libm.so.1
       libnsl.so.1 =>   /usr/lib/libnsl.so.1
       libsocket.so.1 =>        /usr/lib/libsocket.so.1
       libc.so.1 =>     /usr/lib/libc.so.1
       libucb.so.1 =>   /usr/ucblib/libucb.so.1
       libelf.so.1 =>   /usr/lib/libelf.so.1
       libgen.so.1 =>   /usr/lib/libgen.so.1
       libmp.so.2 =>    /usr/lib/libmp.so.2
       /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
All the Sybase libs are coming from the same version/directory. I'm doing a system search for other possible locations of these libs, but I don't think there are any. Brian Timm Friebe wrote:
Make sure you don't have any old libraries that are you used when compiling PHP. For instance, run ldd /path/to/where/php/is/php or ldd /path/to/where/phpmodule/is/libphp4.so and check which libct.so is linked. Locate all libct.so files on your hard drive and check which is one is in your LD_LIBRARY_PATH.


« previous php.dev (#90977) next »