Re: Rpmbuild question

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

 



Thomas E. Dukes wrote:
I thought I had this worked out but its not building a binary rpm.  I thinks
its bombing out.

Here's the message:

/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1
Error: Bad exit status from /var/tmp/rpm-tmp.22654 (%build)

It can't find libmysqlclient; it's part of the mysql-devel package but it puts it /usr/lib/mysql rather than /usr/lib. Try setting the LDFLAGS environment variable before doing the rpmbuild:


export LDFLAGS=-L/usr/lib/mysql
rpmbuild ...

User machbuild does not exist - using root
Group machbuild does not exist - using root
 (repeats about 6 times)

These are normal. The src.rpm was built by someone with username machbuild. Nothing to worry about there.


Paul.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux