This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Adding dependencies to shared objects
- From: Christoph Bartoschek <bartoschek at gmx dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 18 Aug 2007 11:30:39 +0200
- Subject: Adding dependencies to shared objects
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?
Christoph