Le 10/12/2015 17:05, Tom Hughes a écrit :
On 10/12/15 16:00, zosrothko wrote:

With the followin rpm.spec snippet

BuildRequires:    openssl-devel
BuildRequires:    libtool

building with mock -r default --rebuimypackage.src.rpm ends up in

/usr/bin/ld: cannot find -lltdl
/builddir/build/BUILD/poco-1.7.0-all/build/rules/exec:59: recipe for
collect2: error: ld returned 1 exit status

Did I miss something in the spec requirments?

libtool-ltdl at a guess.
OK changed
BuildRequires:    libtool
BuildRequires:    libtool-ltld

but got the same error
/usr/bin/ld: cannot find -lltdl
collect2: error: ld returned 1 exit status
/builddir/build/BUILD/poco-1.7.0-all/build/rules/exec:54: recipe for target '/builddir/build/BUILD/poco-1.7.0-all/Data/ODBC/testsuite/bin/Linux/x86_64/testrunnerd' failed

while in root.log
DEBUG util.py:393:  Yum-utils package has been deprecated, use dnf instead.
DEBUG util.py:393:  See 'man yum2dnf' for more information.
DEBUG util.py:393:  Getting requirements for poco-1.7.0-1.fc22.10.src
DEBUG util.py:393:   --> expat-devel-2.1.0-10.fc22.x86_64
DEBUG util.py:393:   --> libiodbc-devel-3.52.7-8.fc22.x86_64
DEBUG util.py:393:   --> Already installed : libtool-ltdl-2.4.2-34.fc22.x86_64
DEBUG util.py:393:   --> mongo-cxx-driver-devel-1.0.5-1.fc22.x86_64