ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] проблема с libtool
@ 2006-05-11 10:07 Anton Farygin
  2006-05-11 13:01 ` Anton Farygin
  0 siblings, 1 reply; 5+ messages in thread
From: Anton Farygin @ 2006-05-11 10:07 UTC (permalink / raw)
  To: ALT Devel discussion list

Всем привет.

Есть проблема.

Имеем: новый ImageMagick со сменой soname. (был so.9, стал so.10)

собирается нормально:
$ ldd 
libMagick++.so.10.0.2                                                                                              

        libMagick.so.10 => 
/home/rider/RPMS/git/ImageMagick.git/BUILD/ImageMagick-6.2.7/magick/.libs/libMagick.so.10 
(0x00002b8329431000)
        libWand.so.10 => 
/home/rider/RPMS/git/ImageMagick.git/BUILD/ImageMagick-6.2.7/wand/.libs/libWand.so.10 
(0x00002b83296fa000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b83298b9000)
        libm.so.6 => /lib64/libm.so.6 (0x00002b8329aaa000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b8329c02000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b8329e27000)
        liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00002b8329f33000)
        libtiff.so.4 => /usr/lib64/libtiff.so.4 (0x00002b832a065000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 
(0x00002b832a1bb000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002b832a2fb000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002b832a40c000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00002b832a513000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b832a624000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002b832a7b9000)
        libz.so.1 => /lib64/libz.so.1 (0x00002b832a933000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002b832aa49000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002b832ab4c000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00002b832ac6d000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002b832ad90000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00002b832ae93000)

Как видно - прилинковал нужные библиотеки, всё хорошо.

После make install DESTDIR=, получаем:
$ ldd 
libMagick++.so                                                                                                     

        libMagick.so.9 => /usr/lib64/libMagick.so.9 (0x00002b0eeae69000)
        libWand.so.9 => /usr/lib64/libWand.so.9 (0x00002b0eeb17d000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b0eeb2bb000)
        libm.so.6 => /lib64/libm.so.6 (0x00002b0eeb4ab000)
        libc.so.6 => /lib64/libc.so.6 (0x00002b0eeb604000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b0eeb829000)
        liblcms.so.1 => /usr/lib64/liblcms.so.1 (0x00002b0eeb934000)
        libtiff.so.4 => /usr/lib64/libtiff.so.4 (0x00002b0eeba67000)
        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002b0eebbbd000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002b0eebcdd000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00002b0eebdef000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00002b0eebef9000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002b0eec013000)
        libXt.so.6 => /usr/lib64/libXt.so.6 (0x00002b0eec11b000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00002b0eec27d000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b0eec38d000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002b0eec523000)
        libz.so.1 => /lib64/libz.so.1 (0x00002b0eec69d000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002b0eec7b2000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002b0eec8b6000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00002b0eec9b9000)

Т.е. - команда:
./libtool --silent --mode=install /bin/install -c  'wand/libWand.la' 
'/home/rider/RPMS/git/ImageMagick.git/BUILD/ImageMagick-6.2.7/tmp//usr/lib64/libWand.la'

Перелинковывает дополнительные библиотеки с установленным в систему 
ImageMagick'ом.

Может быть кто-то сталкивался с таким странным поведением и знает как 
его лечить ?

Rgds,
Rider



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-19 13:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-11 10:07 [devel] проблема с libtool Anton Farygin
2006-05-11 13:01 ` Anton Farygin
2006-05-11 13:18   ` Anton Farygin
2006-05-13  5:11     ` Anton Farygin
2006-05-19 13:03       ` Anton Farygin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git