[Sussex] Odbc.so problem with Fedora core 4

Ronan Chilvers ronan at thelittledot.com
Fri Dec 9 08:56:20 UTC 2005


Hi Brendan

On Thu, 8 Dec 2005 16:59:52 -0000
"Brendan Whelan" <b_whelan at mistral.co.uk> wrote:

> Hi Ronan,
> 
> Yes, my changes to php.ini are being acted on.
> 
> rpm -qa | grep -i odbc gave:
> MyODBC-2.50.39-24
> unixODBC-2.2.11-1
> 
> No mention of PHP5
> 
> I try to avoid compiling how do I do it for PHP?
> Will recompiling sort out the ODBC -  I Had assumed that I would need
> to get a current copy from somewhere?
> 

Does Fedora have a package search facility?  Basically PHP modules are
compiled when you compile PHP itself.  You can either compile the
modules directly into the main php library, or you can compile them as
pluggable external modules, which is what your odbc.so is.  It is
pretty usual for distributions to chop up their PHP packages so that
you have a single main package, and then multiple sub packages for
specific modules.  For example this is the package cache output from my
ubuntu laptop (snipped for brevity) showing the main package and
several sub packages:-

php4 - server-side, HTML-embedded scripting language (meta-package)
php4-mysql - MySQL module for php4
php4-odbc - ODBC module for php4
php4-pear - PHP Extension and Application Repository (transitional
package) php4-pear-log - Log module for PEAR
php4-pgsql - PostgreSQL module for php4
php4-ps - An extension to create PostScript files

I would expect to see a php5-odbc (or whatever) package available and
installed for your distribution.  Isn't there something called yum for
fedora which can search for and install remote packages?  Excuse my
ignorance here - I've never used Fedora. From this security update for
Core 4 it seems that there is such a package (called
php-odbc-5.0.4-10.3.i386.rpm) :

http://www.redhat.com/archives/fedora-announce-list/2005-July/msg00011.html

Before you consider recompiling, I think I'd try to get the official
package installed and see if that does the trick.

Let me know what happens.

Cheers
-- 
Ronan
e: ronan at thelittledot.com
t: 01903 739 997
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20051209/3c95e76c/attachment.pgp 


More information about the Sussex mailing list