Hi Forum.
I've been trying to add pdo_odbc to my easy apache rawopts, but have not been able to compile php and apache successfully.
In my all_php5 file I've tried a few variations on this option:
--with-pdo-odbc=unixODBC
--with-pdo-odbc=unixODBC,/usr/local
--with-pdo-odbc=unixODBC,/usr/local,shared
--with-pdo-odbc=shared
...none of which work. It consistently fails at at the end of compilation with:
"You've configured extension pdo_odbc to build statically, but it
depends on extension pdo, which you've configured to build shared.
You either need to build pdo_odbc shared or build pdo statically for the
build to be successful."
It seems that the expected syntax of "--with-<extension>=shared|static" doesn't jive with php's recommendation for installing a given flavor of pdo_odbc like "--with-pdo-odbc=unixODBC,dir". How do I reconcile these differences? I've not once specified that I want pdo_odbc to build statically, but the presence of the "=unixODBC" seems to imply this.
More info on my environment:
php 5.4.20
apache 2.2
FreeTDS 0.91
unixODBC 2.3.1
hmm.. have I left out any pertinent details?
If anybody has a clue as to how set this option correctly, I'd sure like to know.
Many thanks in advance for any help you can provide.
-Jack
I've been trying to add pdo_odbc to my easy apache rawopts, but have not been able to compile php and apache successfully.
In my all_php5 file I've tried a few variations on this option:
--with-pdo-odbc=unixODBC
--with-pdo-odbc=unixODBC,/usr/local
--with-pdo-odbc=unixODBC,/usr/local,shared
--with-pdo-odbc=shared
...none of which work. It consistently fails at at the end of compilation with:
"You've configured extension pdo_odbc to build statically, but it
depends on extension pdo, which you've configured to build shared.
You either need to build pdo_odbc shared or build pdo statically for the
build to be successful."
It seems that the expected syntax of "--with-<extension>=shared|static" doesn't jive with php's recommendation for installing a given flavor of pdo_odbc like "--with-pdo-odbc=unixODBC,dir". How do I reconcile these differences? I've not once specified that I want pdo_odbc to build statically, but the presence of the "=unixODBC" seems to imply this.
More info on my environment:
php 5.4.20
apache 2.2
FreeTDS 0.91
unixODBC 2.3.1
hmm.. have I left out any pertinent details?
If anybody has a clue as to how set this option correctly, I'd sure like to know.
Many thanks in advance for any help you can provide.
-Jack