[Sussex] Odbc.so problem with Fedora core 4

Brendan Whelan b_whelan at mistral.co.uk
Fri Dec 9 11:35:33 UTC 2005


Hi Ronan,

Thank for your suggestions. I have tried installing the rpms and attempting
to use yum but without success - see "failed attempt..........."

Any further suggestions from any one are welcome. It is one of those
friustrating problems where one minor mishap in upgrading leads to hours of
effort to get the correct odbc.so file in place.

Brendan
---------------------------------------------------------------------------
Failed attempts...............................
rpm -i php-odbc-5.0.4-10.5.i386.rpm

warning: php-odbc-5.0.4-10.5.i386.rpm: Header V3 DSA signature: NOKEY, key
ID 4f2a6fd2

error: Failed dependencies:

php = 5.0.4-10.5 is needed by php-odbc-5.0.4-10.5.i386

rpm -i MyODBC-2.50.39-25.FC4.1.i386.rpm

warning: MyODBC-2.50.39-25.FC4.1.i386.rpm: Header V3 DSA signature: NOKEY,
key ID 4f2a6fd2

file /usr/lib/libmyodbc-2.50.39.so from install of MyODBC-2.50.39-25.FC4.1
conflict

with file from package MyODBC-2.50.39-24

yum install *odbc*

Setting up Install Process

Setting up repositories

Cannot find a valid baseurl for repo: updates-released


--------------------------------------- Previous message
> 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

----- Original Message -----
From: "Ronan Chilvers" <ronan at thelittledot.com>
To: <sussex at mailman.lug.org.uk>
Sent: Friday, December 09, 2005 8:53 AM
Subject: Re: [Sussex] Odbc.so problem with Fedora core 4


> _______________________________________________
> Sussex mailing list
> Sussex at mailman.lug.org.uk
> E-mail Address: sussex at mailman.lug.org.uk
> Sussex LUG Website: http://www.sussex.lug.org.uk/
> http://mailman.lug.org.uk/mailman/listinfo/sussex






More information about the Sussex mailing list