virtuoso & php5-odbc w/ libiodbc?

dlc dlc at coateconnection.com
Thu Aug 5 19:57:01 PDT 2010


Although I initially agree that making unixODBC the default makes  
sense now, I think that in the long run, this may be the wrong  
decision.  As software is ported to the Mac upstream, these developers  
will expect libiodbc as the default Mac environment(e.g. qt4-mac).   
Generic "unix/linux" software that is intended to just work in a POSIX  
environment will probably continue to use unixODBC.   I am guessing  
that both ODBC managers will usually work with most cases in actually  
establishing an ODBC connection to a given data source.  I will look  
into the ports that use ODBC to see if they have any flexibility to  
use either ODBC manager (like php5).  Please look at ticket https://trac.macports.org/ticket/25967 
  for changes to the php5-odbc port.


On Aug 2, 2010, at 11:38 PM, Ryan Schmidt wrote:

> MacPorts php5 used to use Mac OS X's libiodbc, until, in the process  
> of separating functionality from the php5 port into separate ports,  
> I realized we were doing that. Since our policy (see FAQ) is to use  
> libraries provided by MacPorts, not those provided by Mac OS X, I  
> used unixODBC, since we did not have a port for iODBC at the time.
>
> Now that we have the libiodbc port I could switch php5-odbc to make  
> that the default and leave a variant for those who prefer unixODBC  
> for whatever reason. But I'm reluctant to: since unixODBC's port has  
> been around longer, more other ports already depend on it. And the  
> two ODBC ports install things in the same places, and thus conflict  
> with one another.
>
>
> On Aug 2, 2010, at 18:41, dlc wrote:
>
>> I am new to php and ODBC so I have no experience with either.   
>> However, according to http://support.openlinksw.com/support/mac-faq.html#7
>> libiodbc is what Apple has been using since Jaguar and is what is  
>> in /usr/lib on my Leopard system.
>>
>>
>> On Aug 2, 2010, at 5:40 PM, Ryan Schmidt wrote:
>>
>>>
>>> On Aug 2, 2010, at 17:25, dlc wrote:
>>>
>>>> I want to setup php hosting in virtuoso which works with libiodbc  
>>>> instead of unixODBC. Should a variant of php5-odbc be made or  
>>>> should this be a new php5 port?
>>>
>>> It should be a variant of the php5-odbc port, since in both cases  
>>> it is the php odbc module that is being provided.
>>>
>>> I am uncertain whether php5-odbc's default should be iODBC or  
>>> unixODBC. I don't know anything about ODBC or these libraries. Do  
>>> you have an opinion or advice?
>>>
>



More information about the macports-dev mailing list