[opensuse] rpmbuild OK, rpm -Uvh fails lib dependency despite being present??
All, I was updating gebc for 13.1 from my 11.4 srpm. I installed libharu from source (rather than making an rpm for it). The install is in /usr/local/lib64. I've updated ldconfig. The gebc build goes fine, but then refuses to install: Provides: gebc = 1.07-1.0 gebc(x86-64) = 1.07-1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libfltk.so.1.3()(64bit) libfltk_images.so.1.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libhpdf-2.4.0dev.so()(64bit) libjpeg.so.62()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpng16.so.16()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libz.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/david/rpmbuild/BUILDROOT/gebc-1.07-1.0.x86_64 Wrote: /home/david/rpmbuild/RPMS/x86_64/gebc-1.07-1.0.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QzVWJo + umask 022 + cd /home/david/rpmbuild/BUILD + cd gebc-1.07 + rm -rf /home/david/rpmbuild/BUILDROOT/gebc-1.07-1.0.x86_64 + rm -rf filelists Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.HnKSLp + umask 022 + cd /home/david/rpmbuild/BUILD + rm -rf gebc-1.07 + rm -rf filelists 01:03 alchemy:~/.../rpm/gebc/rpm> sudo rpm -Uvh /home/david/rpmbuild/RPMS/x86_64/gebc-1.07-1.0.x86_64.rpm error: Failed dependencies: libhpdf-2.4.0dev.so()(64bit) is needed by gebc-1.07-1.0.x86_64 Huh? What am I missing? I shouldn't have to set rpath with the lib in /usr/local/lib64. /etc/ld.so.conf includes /usr/local/lib64. Any idea why the install isn't finding the lib? (it's there...) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
14.11.2015 10:10, David C. Rankin пишет:
All,
I was updating gebc for 13.1 from my 11.4 srpm. I installed libharu from source (rather than making an rpm for it). The install is in /usr/local/lib64. I've updated ldconfig. The gebc build goes fine, but then refuses to install:
Provides: gebc = 1.07-1.0 gebc(x86-64) = 1.07-1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libfltk.so.1.3()(64bit) libfltk_images.so.1.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libhpdf-2.4.0dev.so()(64bit) libjpeg.so.62()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpng16.so.16()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libz.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/david/rpmbuild/BUILDROOT/gebc-1.07-1.0.x86_64 Wrote: /home/david/rpmbuild/RPMS/x86_64/gebc-1.07-1.0.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QzVWJo + umask 022 + cd /home/david/rpmbuild/BUILD + cd gebc-1.07 + rm -rf /home/david/rpmbuild/BUILDROOT/gebc-1.07-1.0.x86_64 + rm -rf filelists Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.HnKSLp + umask 022 + cd /home/david/rpmbuild/BUILD + rm -rf gebc-1.07 + rm -rf filelists
01:03 alchemy:~/.../rpm/gebc/rpm> sudo rpm -Uvh /home/david/rpmbuild/RPMS/x86_64/gebc-1.07-1.0.x86_64.rpm error: Failed dependencies: libhpdf-2.4.0dev.so()(64bit) is needed by gebc-1.07-1.0.x86_64
Huh? What am I missing? I shouldn't have to set rpath with the lib in /usr/local/lib64. /etc/ld.so.conf includes /usr/local/lib64. Any idea why the install isn't finding the lib? (it's there...)
You program is built agains this library which is automatically added to dependencies but no package provides this library. Where does yhis library come from? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/14/2015 06:08 AM, Andrei Borzenkov wrote:
You program is built agains this library which is automatically added to dependencies but no package provides this library. Where does yhis library come from?
I built it from source and installed it in /usr/local: $ ls -al /usr/local/lib64/ total 1772 drwxr-xr-x 2 root root 4096 Nov 14 00:36 . drwxr-xr-x 11 root root 4096 Jul 12 2014 .. -rwxr-xr-x 1 root root 775048 Nov 14 00:36 libhpdf-2.4.0dev.so -rw-r--r-- 1 root root 1023154 Nov 14 00:36 libhpdf.a -rwxr-xr-x 1 root root 961 Nov 14 00:36 libhpdf.la lrwxrwxrwx 1 root root 19 Nov 14 00:36 libhpdf.so -> libhpdf-2.4.0dev.so I ran ldconfig to update the library cache after install. The build finds the library just fine: rpmbuild output: <snip>
libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libhpdf-2.4.0dev.so()(64bit) libjpeg.so.62()(64bit) libm.so.6()(64bit) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <snip>
So I don't know why the install is having problems? Any ideas? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
15.11.2015 01:16, David C. Rankin пишет:
On 11/14/2015 06:08 AM, Andrei Borzenkov wrote:
You program is built agains this library which is automatically added to dependencies but no package provides this library. Where does yhis library come from?
I built it from source and installed it in /usr/local:
...
I ran ldconfig to update the library cache after install.
That is irrelevant for dependency resolution.
The build finds the library just fine:
Ditto.
So I don't know why the install is having problems? Any ideas?
Besides what I already said? "No package provides this library so RPM cannot resolve this dependency" I am afraid I do not understand what you do not understand so I do not know how to explain it differently, sorry. If you explain what you do not understand in my reply, I'll try to rephrase it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/15/2015 12:32 AM, Andrei Borzenkov wrote:
Besides what I already said? "No package provides this library so RPM cannot resolve this dependency"
I am afraid I do not understand what you do not understand so I do not know how to explain it differently, sorry. If you explain what you do not understand in my reply, I'll try to rephrase it.
Lightbulb On, It's just rpm that is unhappy which means I just need to go back and build an rpm for libharu?? Ok, I get that. The reason I skipped building the rpm for libharu is it is one of those darn git source tarballs that untars to a directory: libharu-libharu-d84867e instead of a sane directory like 'libharu-2.3' making it a PITA for me to write a spec for with the additional directory verbiage outside of the normal '%{name}-%{version}' setup. I'll go search for a way to Bandaid the path in the spec. If you have any pointers for that, I would welcome them. The build is a simple: ./buildconf.sh ./configure make What's the trick for handling the 'libharu-libharu-d84867e' tarball source path? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* David C. Rankin <drankinatty@suddenlinkmail.com> [11-15-15 03:03]: [...]
instead of a sane directory like 'libharu-2.3' making it a PITA for me to write a spec for with the additional directory verbiage outside of the normal '%{name}-%{version}' setup.
I'll go search for a way to Bandaid the path in the spec. If you have any pointers for that, I would welcome them. The build is a simple:
./buildconf.sh ./configure make
What's the trick for handling the 'libharu-libharu-d84867e' tarball source path?
I str that we used to make "dummy" rpm's to satisfy un-needed or un-wanted dependencies but do not recall the method, old-timers :). -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
15.11.2015 11:02, David C. Rankin пишет:
On 11/15/2015 12:32 AM, Andrei Borzenkov wrote:
Besides what I already said? "No package provides this library so RPM cannot resolve this dependency"
I am afraid I do not understand what you do not understand so I do not know how to explain it differently, sorry. If you explain what you do not understand in my reply, I'll try to rephrase it.
Lightbulb On,
It's just rpm that is unhappy which means I just need to go back and build an rpm for libharu?? Ok, I get that. The reason I skipped building the rpm for libharu is it is one of those darn git source tarballs that untars to a directory:
libharu-libharu-d84867e
instead of a sane directory like 'libharu-2.3' making it a PITA for me to write a spec for with the additional directory verbiage outside of the normal '%{name}-%{version}' setup.
I'll go search for a way to Bandaid the path in the spec. If you have any pointers for that, I would welcome them. The build is a simple:
./buildconf.sh ./configure make
What's the trick for handling the 'libharu-libharu-d84867e' tarball source path?
Just use %setup -n libharu-libharu-d84867e -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 11/15/2015 09:23 PM, Andrei Borzenkov wrote:
What's the trick for handling the 'libharu-libharu-d84867e' tarball source path?
Just use
%setup -n libharu-libharu-d84867e
$%@#$$%$!!! That was so damn easy -- grr... I would have spent hours looking for that perl of wisdom. It's the basics that are bewildering... MaximumRPM certainly doesn't make that prominent... Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/david/rpmbuild/BUILDROOT/libharu-2.3-1.x86_64 Wrote: /home/david/rpmbuild/RPMS/x86_64/libharu-2.3-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VcyLPf + umask 022 + cd /home/david/rpmbuild/BUILD + cd libharu-libharu-d84867e + rm -rf /home/david/rpmbuild/BUILDROOT/libharu-2.3-1.x86_64 + rm -rf filelists Done :) Thanks Andrei! -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
David C. Rankin
-
Patrick Shanahan