Compile vs. RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Since you all are still talking about compiling RPM's....

I am trying to get the sybase module loaded into php 5.0.4 from the
centosplus repository.

I cannot seem to get sybase.so to work at all.  I got it to work ok by
compiling it statically, however I can't seem to get the .so to work.  

Here's what I get

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/sybase.so' - /usr/lib/php/modules/sybase.so:
undefined symbol: dbversion in Unknown on line 0


Here's what I put in the spec file.

%package sybase
Summary: Connection to Sybase Database
Group: Development/Languages
Requires: php = %{version}-%{release} sybase-openclient sybase-common
BuildRequires: sybase-openclient sybase-common

%description sybase
The sybase php connection libraries

%package sqlite
Summary: SQLite shared module
Group: Development/Languages
Requires: php = %{version}-%{release} sqlite
BuildRequires: sqlite-devel

%description sqlite
SQLite DSO for php

%package tidy
Summary: Tidy library for php
Group: Development/Languages
Requires: php = %{version}-%{release} libtidy
BuildRequires: libtidy-devel

%description tidy
Cleans up HTML code

Here's the error I get

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/sybase.so' - /usr/lib/php/modules/sybase.so:
undefined symbol: dbversion in Unknown on line 0


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux