Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/lampp/share/doc/freetds-0.91/userguide/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
Python
Install distutils if you haven't already. $ tar xvfz distutils-latest.tgz $ cd distutils $ python setup.py install You can obtain the Python Sybase module here. This example uses version 0.34, the most current at the time of this writing, please adjust accordingly if using a different version. $ tar xvfz sybase-0.34.tgz
$ cd sybase-0.34
$ export SYBASE=/usr/local/freetds
$ export CFLAGS="-DHAVE_FREETDS"
$ export LD_LIBRARY_PATH=/usr/local/freetds/lib:${LD_LIBRARY_PATH}
$ python setup.py install
Edit the example.py and fix the bottom stuff, FreeTDS lacks the 110
symbols for version use 100
$ python example.py | ||||||||
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.4825 ]-- |