Bug 208057 - missing buildrequire
missing buildrequire
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: mod_auth_mysql (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-26 01:35 EDT by Paul Wouters
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-26 03:41:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Paul Wouters 2006-09-26 01:35:44 EDT
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 03:41:41 EDT
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.