cancel
Showing results for 
Search instead for 
Did you mean: 

SQLAnywhere 17 client + PHP7.2 + Apache on OSX High Sierra

2,317

Does anyone have this combination running?

I've been struggling big time with getting the PHP module to be able to access the dynamic libraries. I keep getting the dreaded (but actually misleading) error "The SQLAnywhere client libraries could not be loaded. Please ensure that libdbcapi.so can be found in your LD_LIBRARY_PATH environment variable".

I've tried setting the DYLIB_LIBRARY_PATH environment variable in many different ways - including calling the sa_config.sh in the .plist file, and setenv in my script (not sure when PHP attempts to load the libraries) to no avail.

I feel that I'm in a big fight with SIP, and am wondering if there's a simple .so solution to be had here, if dynamic libraries are too dangerous for mere mortals to use?

TBH, SQLAnywhere12 would do me, but I presume that the 17 client is backward compatible?

Accepted Solutions (0)

Answers (0)