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 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 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?

asked 18 Feb '19, 18:30

alexlake's gravatar image

accept rate: 11%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 18 Feb '19, 18:30

question was seen: 1,846 times

last updated: 18 Feb '19, 18:30