Re: Adding dependencies to shared objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Bartoschek writes:
 > Hi,
 > 
 > I have on my opensuse 10.2 system a libblas.so.3 with the following problem:
 > 
 > bartosch@gunter> ldd -r /usr/lib64/libblas.so.3
 > undefined symbol: _gfortran_st_write_done      (/usr/lib64/libblas.so.3)
 > undefined symbol: _gfortran_transfer_integer   (/usr/lib64/libblas.so.3)
 > undefined symbol: cabs                         (/usr/lib64/libblas.so.3)
 > undefined symbol: _gfortran_stop_numeric       (/usr/lib64/libblas.so.3)
 > undefined symbol: _gfortran_st_write           (/usr/lib64/libblas.so.3)
 > undefined symbol: cabsf                        (/usr/lib64/libblas.so.3)
 > undefined symbol: _gfortran_transfer_character (/usr/lib64/libblas.so.3)
 >         libc.so.6 => /lib64/libc.so.6 (0x0002b31ac563000)
 >         /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
 > 
 > 
 > The library does not have libgfortran and libm as its dependencies. How can I 
 > change the libblas.so.3 such that libgfortran and libm appear as its 
 > dependencies?
 
What does readelf -d /usr/lib64/libblas.so.3 say?  If it really needs
libgfortran and libm as its dependencies, they should appear.

If they don't, then libblas has been build incorrectly and should be
relinked.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux