In order to build the source RPM under RHEL 4.1 I had to tell
"configure" to look for the MySQL libs under /usr/lib64.
here's a patch against the mysql++-2.0.7-1.src.rpm spec file
that will fix this. I hope it's of some use to someone.
*** mysql++.spec 2005-11-23 16:59:20.000000000 -0500
--- mysql++.spec.new 2006-01-16 17:03:42.000000000 -0500
***************
*** 29,39 ****
--- 29,44 ----
This is the MySQL++ documentation. It's a separate RPM just because
it's so large, and it doesn't change with every release.
%prep
%setup -q
+ %ifarch i386
./configure --prefix=/usr --disable-examples
--disable-dependency-tracking
+ %endif
+ %ifarch x86_64
+ ./configure --prefix=/usr --disable-examples
--disable-dependency-tracking --with-mysql-lib=/usr/lib64
+ %endif
%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
--
Cheers,
Michael Harris
Systems Administrator, Torque.net