Hi
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 target '/builddir/build/BUILD/poco-1.7.0-all/Data/ODBC/testsuite/bin/Linux/x86_64/testrunner' failed collect2: error: ld returned 1 exit status
Did I miss something in the spec requirments?
zos
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 target '/builddir/build/BUILD/poco-1.7.0-all/Data/ODBC/testsuite/bin/Linux/x86_64/testrunner' failed collect2: error: ld returned 1 exit status
Did I miss something in the spec requirments?
libtool-ltdl at a guess.
Tom
On Thu, 10 Dec 2015 16:05:20 +0000 Tom Hughes tom@compton.nu wrote:
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 target '/builddir/build/BUILD/poco-1.7.0-all/Data/ODBC/testsuite/bin/Linux/x86_64/testrunner' failed collect2: error: ld returned 1 exit status
Did I miss something in the spec requirments?
libtool-ltdl at a guess.
libtool-ltdl-devel
Dan
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 target '/builddir/build/BUILD/poco-1.7.0-all/Data/ODBC/testsuite/bin/Linux/x86_64/testrunner'
failed collect2: error: ld returned 1 exit status
Did I miss something in the spec requirments?
libtool-ltdl at a guess.
OK changed BuildRequires: libtool to 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
zos
adding both
BuildRequires: libtool-tldl BuildRequires: libtool-tldl-devel
solve the problem while I do not understand why BuildRequires: libtool-ltdl only does not make it by itself
Thank for your help
Cheers
Le 10/12/2015 17:47, zosrothko a écrit :
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 target '/builddir/build/BUILD/poco-1.7.0-all/Data/ODBC/testsuite/bin/Linux/x86_64/testrunner'
failed collect2: error: ld returned 1 exit status
Did I miss something in the spec requirments?
libtool-ltdl at a guess.
OK changed BuildRequires: libtool to 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
zos
-- packaging mailing list packaging@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/packaging@lists.fedoraproject.org
On 10/12/15 18:17, zosrothko wrote:
adding both
BuildRequires: libtool-tldl BuildRequires: libtool-tldl-devel
solve the problem while I do not understand why BuildRequires: libtool-ltdl only does not make it by itself
Because, as always, the .so that you need to link against for a shared library is in the -devel subpackage.
I made a mistake when I suggested the base package is all.
Tom
packaging@lists.fedoraproject.org