Sample Header Ad - 728x90

Ubuntu - Sybase - PHP not able to connect

1 vote
1 answer
448 views
I'm trying to connect Sybase 17 from PHP(7.4, 8.0) Laravel running on apache2 on Ubuntu(18.4) system. We are using SQL Anywhere. Sybase is not installed on the same server. >We are getting this error - Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Can't open lib '/opt/sqlanywhere17/lib64/libdbodbc17_r.so' : file not found, SQL state 01000 in SQLConnect in /var/www/html/sybaseconnection.php on line 14 We've already performed the below steps: 1. Already verified libdbodbc17_r.so file is there. 2. Necessary permission is already given. 3. Able to connect using Telnet and command line to SQL Anywhere 17.
Asked by Rahul (115 rep)
Jun 24, 2021, 11:07 AM
Last activity: Jun 25, 2021, 07:05 AM