Hi Dustin, If iODBC does not exist in /usr/local/iODBC then you cannot point it to that location but rather the location it is actually install in, which for the libiodbc.x86_64 and libiodbc-devel.x86_64 packages you indicate having in installed in would in the default /usr/lib , thus you should point to this location or just add the -with-iodbc and —with-pdo-odbc options without specifying a location and it will search the known default locations and locate the necessary libraries and header files etc
Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ <http://www.openlinksw.com/> Weblog -- http://www.openlinksw.com/blogs/ <http://www.openlinksw.com/blogs/> LinkedIn -- http://www.linkedin.com/company/openlink-software/ <http://www.linkedin.com/company/openlink-software/> Twitter -- http://twitter.com/OpenLink <http://twitter.com/OpenLink> Google+ -- http://plus.google.com/100570109519069333827/ <http://plus.google.com/100570109519069333827/> Facebook -- http://www.facebook.com/OpenLinkSoftware <http://www.facebook.com/OpenLinkSoftware> Universal Data Access, Integration, and Management Technology Providers > On 9 Nov 2015, at 16:58, dusti...@uvic.ca <mailto:dusti...@uvic.ca> wrote: > > Hello OpenLink, > > I am a student web developer/programmer at the University of Victoria. I > have a > Virtuoso server up and running on a Centos 7 machine using the open-source > version of Virtuoso. What I want to do is grab > the data from an HTML form and be able to use PHP server side to write > that data to a > file for storing and further processing. I have looked at the following > links: > http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSBldPHP > <http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSBldPHP> > http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtuosoPHP > > and the readme on GitHub: > https://github.com/openlink/virtuoso-opensource/blob/develop/7/README.php5 > > and I keep running into an issue at this line when trying to "configure": > --with-pdo-odbc="generic,/usr/local/iODBC,iodbc,-L/usr/local/iODBC/lib,-I/usr/local/iODBC/include" > \ > > I end up with an ending of the configuring telling me that it cannot find > header file(s) for pdo_odbc > > checking whether to enable pcntl support... no > checking whether to enable PDO support... yes > checking for PDO_DBLIB support via FreeTDS... no > checking for Firebird support for PDO... no > checking for MySQL support for PDO... no > checking Oracle OCI support for PDO... no > checking for ODBC v3 support for PDO... yes > checking for PDO includes... checking for PDO includes... /etc/php-5.6.15/ext > checking for selected PDO ODBC flavour... generic-iodbc > libs /usr/local/iODBC/lib, > headers /usr/local/iODBC/include > configure: WARNING: library dir /usr/local/iODBC/lib does not exist > checking for odbc.h in /usr/local/iODBC/include... no > checking for odbcsdk.h in /usr/local/iODBC/include... no > checking for iodbc.h in /usr/local/iODBC/include... no > checking for sqlunix.h in /usr/local/iODBC/include... no > checking for sqltypes.h in /usr/local/iODBC/include... no > checking for sqlucode.h in /usr/local/iODBC/include... no > checking for sql.h in /usr/local/iODBC/include... no > checking for isql.h in /usr/local/iODBC/include... no > checking for sqlext.h in /usr/local/iODBC/include... no > checking for isqlext.h in /usr/local/iODBC/include... no > checking for udbcext.h in /usr/local/iODBC/include... no > checking for sqlcli1.h in /usr/local/iODBC/include... no > checking for LibraryManager.h in /usr/local/iODBC/include... no > checking for cli0core.h in /usr/local/iODBC/include... no > checking for cli0ext.h in /usr/local/iODBC/include... no > checking for cli0cli.h in /usr/local/iODBC/include... no > checking for cli0defs.h in /usr/local/iODBC/include... no > checking for cli0env.h in /usr/local/iODBC/include... no > configure: error: Cannot find header file(s) for pdo_odbc > > I have libiodbc.x86_64 and libiodbc-devel.x86_64 packages installed as > advised against unixODBC as it may have been interfering from my question > here > http://stackoverflow.com/questions/33269389/issue-setting-up-php-on-virtuoso-server. > > I do not seem to have a directory iODBC in /usr/local/ either, is there > something I am missing to have it properly set up for this installation? > > Any help or advice is greatly appreciated, > > Dustin > > > ------------------------------------------------------------------------------ > Presto, an open source distributed SQL query engine for big data, initially > developed by Facebook, enables you to easily query your data on Hadoop in a > more interactive manner. Teradata is also now providing full enterprise > support for Presto. Download a free open source copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > _______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
------------------------------------------------------------------------------
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users