From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 12 Feb 2002 13:34:20 +0300 From: Yura Zotov To: Devel-Sisyphus List Message-ID: <20020212103420.GA4717@home-pool4-99.com2com.ru> Mail-Followup-To: Devel-Sisyphus List Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: [devel] =?koi8-r?B?8M/Nz8fJ1MUg0M/CxcTJ1A==?= =?koi8-r?Q?=D8?= libtool Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: devel@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Archived-At: List-Archive: List-Post: --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit При бдительно рассмотрении пакета libnetcdf оказалось, что он собирается неправильно. В нем не собирается библиотека-интерфейс к C++. Происходит это потому, что эта библиотека линкуется с только сто собранной C-библиотекой. Однако, ка стадии %install libtool заявляет libtool install libnetcdf_c++.la /var/tmp/libnetcdf-buildroot/usr/lib libtool: install: warning: relinking `libnetcdf_c++.la' cd /usr/src/RPM/BUILD/netcdf-3.5.0/src/cxx; /bin/sh /usr/bin/libtool --mode=relink gcc -o libnetcdf_c++.la netcdf.lo ncvalues.lo -rpath /usr/lib -L../libsrc -lnetcdf gcc -shared netcdf.lo ncvalues.lo -L/usr/src/RPM/BUILD/netcdf-3.5.0/src/libsrc -L/usr/lib -lnetcdf -Wl,-soname -Wl,libnetcdf_c++.so.0 -o .libs/libnetcdf_c++.so.0.0.0 /usr/bin/ld: cannot find -lnetcdf collect2: ld returned 1 exit status libtool: install: error: relink `libnetcdf_c++.la' with the above command before installing it Т.е. gcc не находит только что собранную библиотеку libnetcdf.so, потому что он ее ищет в ../libsrc, а она лежит в ../libsrc/.libs. Ее туда сама libtool при сборке кладет. Насколько я понял, пути эти libtool берет из libnetcdf_c++.la, который создается при сборке. Непонятно только, почему на стадии %build библиотека все-таки правильно собирается и складывается в sxx/.libs. В вот при перелинковке что-то не то происходит. Так как же libtool победить? libnetcdf нужна для OpenDX, но ему не нужна libnetcdf_c++. Так что "и так" работать будет. Как быть? Заранее спасибо за помощь. Лог rpm -bi libnetcdf.spec приложен. -- Юрий А. Зотов --tKW2IUtsqtDRztdT Content-Type: application/x-bzip2 Content-Disposition: attachment; filename="libnetcdf.log.bz2" Content-Transfer-Encoding: base64 QlpoOTFBWSZTWW0Nq/IAX8vfh8AwW////z/n3+r////0cz3+8AAAwIBgIA9efb1lXPTk3OPX Xp3a9mytWg2bk9gzJ0z2uY8Haz3eJVQetEEilKGg0UrirRSu9uhXo1QUqltTQiCpIgFSqUkC RIiJPaDRpT0wKn6myno1T00TJ6jI9JoA2poGagAAAANAE0apoqb0TSDRo9IAAADQNAAAAAAA HGhoaGgGgMQNAZAABpoAGgGQAAAMJT9VJTEnpNIJ5qnhGgTT0mmQyaYRgBGRoMTTCaAxMTAi VNBMRk0Ro0ak9NBTJ5T0hk9TEzUeo00DJ6gwhoAaMTIIkiAmgmmhoU8knoympsoybKfpCNBo DINNAAAABXIkO489ll0EeER5jpIPIQXuDxXLsRDfPlvb5nx4Jj7tg5ariZ3KWbY8sLvfi+hJ GEDsqGlx+fXie0cVW7gy7eQr3Tnx4bXVllnEYQKA8fAHTYOHEUiKbeiIt10LM77Kttv59nXN rftmGRkPB5bk9zcAAAAu1bt01v23ZZx32Vn6t/kc3c5nT/dt2ubV5UO+g1munXy/j8czQ3x/ JC2u1n7X5aLkZITLdchcfephm/fF/Lpyxm22pyZgxdYx108DqYWnnBsztd2p0pvgBUz0+lWt gZEDMiLfO0b6u4swSEEQIAq5vutr5IjWCOGMWDDKdjc+aokCUqpOyHF9tBTeUgx36hYyyAMI 2BNTlqIawefDW+eHLf47bSYT5DrJEhJzH2hv5GZRCZBczhBYsikvk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