Bug 208057 - missing buildrequire
Summary: missing buildrequire
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_auth_mysql
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-26 05:35 UTC by Paul Wouters
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-26 07:41:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul Wouters 2006-09-26 05:35:44 UTC
Description of problem:
[root@untap-xenu SPECS]# rpmbuild -bb mod_auth_mysql.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.24097
+ umask 022

[...]

/usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o mod_auth_mysql.la 
-rpath /usr/lib64/httpd/modules -module -avoid-version    mod_auth_mysql.lo
-L/usr/lib/mysql -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
error: Bad exit status from /var/tmp/rpm-tmp.24097 (%build)


Version-Release number of selected component (if applicable):
3.0.0-3

How reproducible:
not tried

Steps to Reproduce:
1.xenguest.py install a stock FC5
2. yum install mysql-devel httpd-devel
3. try to compile mod_auth_mysql
  
Actual results:
linking fialure with libmysqlclient

Expected results:
an rpm :)

Additional info:
Neither installing mysqlclient10 or mysqlclient14 resolved this problem
It might matter that the xen0 and xenU is x86_64

Comment 1 Joe Orton 2006-09-26 07:41:41 UTC
Look at the %build output: it lists "-L/usr/lib/mysql".  This means %{_libdir}
is expanding as /usr/lib rather than /usr/lib64 - this is some build environment
problem, not a packaging problem.


Note You need to log in before you can comment on or make changes to this bug.