Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I added the extension to php.ini to get the module to load but now I am getting this error

Warning: sasql_connect() [function.sasql-connect]: The SQLAnywhere client libraries could not be loaded. Please ensure that libdbcapi.so can be found in your LD_LIBRARY_PATH environment variable

Any ideas?

Centos 5.7 64-bit PHP 5.1.6

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Make sure that the LD_LIBRARY_PATH environment variable is updated to point to the SQLAnywhere lib directory.

You can append to your current LD_LIBRARY_PATH by doing the following;

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/directory/here
export LD_LIBRARY_PATH
share|improve this answer
    
Where do I do that? –  Robert Mar 19 '12 at 18:11
    
Nvm figured it out thank you so much! –  Robert Mar 19 '12 at 18:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.