runnig tds in alpha UP2000

Alexis alexis at pampa.ruralnet.com
Wed May 31 16:48:14 EDT 2000


i have compiled and running freetds on an i686 plataform and its works
great.
php4 is compiled with the sybase option using freetds and im using it to
connect to an mssql 7 server to get some markets data.

the libs that install freetds in i686 are

pampa:/usr/local/freetds/lib# l
total 2092
drwxr-xr-x    2 root     root         4096 May 31 12:56 ./
drwxr-xr-x    4 root     root         4096 May 31 12:02 ../
-rw-r--r--    1 root     root       532714 May 31 12:56 libct.a
-rwxr-xr-x    1 root     root          638 May 31 12:56 libct.la
lrwxrwxrwx    1 root     root           14 May 31 12:56 libct.so ->
libct.so.0.0.0
lrwxrwxrwx    1 root     root           14 May 31 12:56 libct.so.0 ->
libct.so.0.0.0
-rwxr-xr-x    1 root     root       198981 May 31 12:56 libct.so.0.0.0
-rw-r--r--    1 root     root       612636 May 31 12:56 libsybdb.a
-rwxr-xr-x    1 root     root          656 May 31 12:56 libsybdb.la
lrwxrwxrwx    1 root     root           17 May 31 12:56 libsybdb.so ->
libsybdb.so.0.0.0
lrwxrwxrwx    1 root     root           17 May 31 12:56 libsybdb.so.0 ->
libsybdb.so.0.0.0
-rwxr-xr-x    1 root     root       229435 May 31 12:56 libsybdb.so.0.0.0
-rw-r--r--    1 root     root       357542 May 31 12:56 libtds.a
-rwxr-xr-x    1 root     root          644 May 31 12:56 libtds.la
lrwxrwxrwx    1 root     root           15 May 31 12:56 libtds.so ->
libtds.so.0.0.0
lrwxrwxrwx    1 root     root           15 May 31 12:56 libtds.so.0 ->
libtds.so.0.0.0
-rwxr-xr-x    1 root     root       148485 May 31 12:56 libtds.so.0.0.0
pampa:/usr/local/freetds/lib# 



ldconfig bring them up and all works great (im using now freetds instead
sybase 11.9.2 now)

well , i took freetds to alpha UP2000 servers (red hat 6.1 now) that im
installing now.

first , when i make the configure , its says that cannot recognize the
host . (ltconfig) , so i made ./configure --host=alpha --witf-tdsver=7.0,
the configure works , then i run the make , then make install.

when the install finishes , ive compiled php4 with the sybase option
pointing to freetds , and its compiles fine.
but , when i try to connect to the mssql server , it doesnt work , it says
me ..." A link with the sybase server could not be established "

so , ive been looking /usr/local/freetds/lib in the alpha and i found that
, many libraries/links that exists in the i686 , no exists in the alpha
if i make ldconfig -v (including the freetds lib path in ld.so.conf) ,
ldconfig cannot load any lib.


how can i fix it?


the lib dir in the alpha have the following files

libct.a libct.la
libsybdb.a libsybdb.la
libtds.a libtds.la




More information about the FreeTDS mailing list