AW: AW: [freetds] connect problem to mssql 7.0

Roland Bole roland.bole at gmx.at
Thu Dec 18 17:17:34 EST 2003


> > [global]
> > 	tds version = 7.

> tds version = 7.0

> not 7.
Was only I write error I used 7.0, sorry

> Did you add /usr/local/freetds/lib to /etc/ld.so.conf ? 
Yes I did.

>You can use
> LD_LIBRARY_PATH environment but it's better (for system wise reasons) to
> use /etc/ld.so.conf. 
>After editing the file launch ldconfig to update system.

Ok,

But the error is still there.

Roland













> 
> Ok,
> 
> i rebuild my system like this.
> 
> install freetds 0.62 latest snapshot
> 
> ./configure --with-prefix=/usr/local/freetds --with-tdsver=7.0
> --enable-msdblib
> make && make install
> 
> 
> install apache 1.3.29
> 
> ./configure --enable-module=so 
> make && make install
> 
> install php4.3.4
> 
> ./configure --with-apxs=/usr/local/apache/bin/apxs 
> --enable-ftp --with-pear
> --with-mssql=/usr/local/freetds --with-mysql
> make && make install
> 
> 
> freetds.conf
> 
> [global]
> 	tds version = 7.

tds version = 7.0

not 7.

>       initial block size = 512

remove this line, it slow down FreeTDS performance...

> 	swap broken dates = no
>       swap broken money = no
> 	try server login = yes
> 	try domain login = no
> 

obsoleted...

> 	dump file = /tmp/freetds.log
>       dump file append = yes
>       debug level = 99
> 
> 
> [mssql]
>         host = xxx.xxx.xxx.xxx
>         port = 1433
>         tds version = 7.0
> 
> 
> With this is not possible to connect with tsgl
> 
> bin/tsql -S mssql -U xx -P xx
> 
> bin/tsql: relocation error: bin/tsql: undefined symbol: 
> tds_set_charset
> 

Did you add /usr/local/freetds/lib to /etc/ld.so.conf ? You can use
LD_LIBRARY_PATH environment but it's better (for system wise reasons) to
use /etc/ld.so.conf. After editing the file launch ldconfig to update
system.

freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds





More information about the FreeTDS mailing list