https://bugzilla.novell.com/show_bug.cgi?id=697943 https://bugzilla.novell.com/show_bug.cgi?id=697943#c0 Summary: RPM: does not look at all system directories for librariers Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bluedzins@wp.pl QAContact: qa@suse.de Found By: --- Blocker: --- Remarks: 1) I don't know if this is a bug or more a wish, so I set severity to minor 2) despite I say "rpm" I am not sure if it is a problem with rpmbuild or rpm In short I could say, that if you have a program which require a library (FILE, not a package) ldd executed against this program scans all valid directories for libraries in order to resolve the correct dependencies. If you build rpm for this program, and you would like to install it, rpm will look only in MAIN directories (like /usr/lib and /usr/lib64), ommiting the rest of the VALID system directories. And you will get into troubles if the needed library is placed in those "rest" directories -- out of scope of rpm, but valid for other system tools. Steps: 1. make a library 2. build a rpm for it with valid placement, but not in main library directories 3. install such package 4. make a program which uses this library -- e.g. myprogram 5. check the library resolution -- ldd myprogram 6. output should be ok 7. build rpm for this program, don't set any requirements 8. rpmbuild will recognize the need for the library (FILE) and will add requirement for it 9. install this package 10. error --> library NOT found, despite it exists and its placement is resolved with ldd Workaround: 11. install package with --nodeps option 12. check installed program with ldd -- it should be OK 13. run installed program -- it runs fine So -- the limiting part is rpm (or rpmbuild). Despite those tools, the system works fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.