https://bugzilla.novell.com/show_bug.cgi?id=833760 https://bugzilla.novell.com/show_bug.cgi?id=833760#c0 Summary: /usr/lib/rpm/find-requires does not detect required shared library Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 3 Platform: All OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: mls@suse.com ReportedBy: werner@suse.com QAContact: qa-bugs@suse.de CC: coolo@suse.com Depends on: 833714 Found By: Development Blocker: --- +++ This bug was initially created as a clone of Bug #833714 +++ from this bug you may see that libOSMesa is not linked with libglapi but the final program ``asy'' *is* linked: abuild@noether:~/rpmbuild/BUILD/texlive/utils/asymptote> grep -e '-o asy' /.build.log [ 857s] g++ -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC -pthread -DFFTWPP_SINGLE_THREAD -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_POSIX_C_SOURCE=200803L -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -std=gnu89 -fno-strict-aliasing -fPIC -Wno-write-strings -Wno-char-subscripts -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-parentheses -Wno-sign-compare -Wno-unprototyped-calls -pipe -fno-var-tracking -o asy camperror.o path.o drawpath.o drawlabel.o picture.o psfile.o texfile.o util.o settings.o guide.o flatguide.o knot.o drawfill.o path3.o drawpath3.o drawsurface.o pen.o types.o builtin.o gsl.o runtime.o runbacktrace.o runpicture.o runlabel.o runhistory.o runarray.o runfile.o runsystem.o runpair.o runtriple.o runpath.o runpath3d.o runstring.o runmath.o env.o genv.o stm.o dec.o errormsg.o callable.o name.o symbol.o entry.o exp.o newexp.o stack.o camp.tab.o lex.yy.o access.o virtualfieldaccess.o absyn.o record.o interact.o fileio.o fftw++asy.o simpson.o coder.o coenv.o impdatum.o locate.o parser.o program.o application.o varinit.o fundec.o refaccess.o envcompleter.o process.o constructor.o array.o Delaunay.o predicates.o PRCbitStream.o oPRCFile.o PRCdouble.o writePRC.o glrender.o tr.o arcball.o algebra3.o quaternion.o svnrevision.o main.o -Wl,-warn-common -Wl,-O2 -Wl,--as-needed -Wl,--hash-size=8599 -Wl,-warn-common -Wl,-Bsymbolic-functions -L/home/abuild/rpmbuild/BUILD/texlive/utils/asymptote -lglut -lGLU -lGL -lfftw3 -lreadline -lrt -lz -lm -L/usr/lib -lgc -lncurses -lgsl -lgslcblas -lOSMesa -lglapi which is also shown with ldd command: abuild@noether:~/rpmbuild/BUILD/texlive/utils/asymptote> ldd asy [...] libOSMesa.so.8 => /usr/lib64/libOSMesa.so.8 (0x00007fa8581cd000) [...] libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00007fa856860000) [...] /lib64/ld-linux-x86-64.so.2 (0x00007fa85a36d000) libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fa8553ed000) libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa8551e9000) but this is not seen by /usr/lib/rpm/find-requires: abuild@noether:~/rpmbuild/BUILD/texlive/utils/asymptote> echo $PWD/asy | /usr/lib/rpm/find-requires libGL.so.1()(64bit) libGLU.so.1()(64bit) libOSMesa.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libfftw3.so.3()(64bit) libgc.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libglut.so.3()(64bit) libgsl.so.0()(64bit) libgslcblas.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libreadline.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.10)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.5()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) .. beside this if I (re)move the libglapi.so* then the proram asy can not be executed: abuild@noether:~/rpmbuild/BUILD/texlive/utils/asymptote> logout noether:/ # for l in /usr/lib64/libglapi.so* ; do mv ${l} ${l}.back; done noether:/ # su - abuild abuild@noether:~> cd rpmbuild/BUILD/texlive/utils/asymptote/ abuild@noether:~/rpmbuild/BUILD/texlive/utils/asymptote> ./asy ./asy: error while loading shared libraries: libglapi.so.0: cannot open shared object file: No such file or directory abuild@noether:~/rpmbuild/BUILD/texlive/utils/asymptote> .. -- 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.