ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* Re: [sisyphus] heartbeat 3
@ 2010-04-09 12:08 Rinat Shigapov
  2010-04-12  9:49 ` Igor Zubkov
  0 siblings, 1 reply; 2+ messages in thread
From: Rinat Shigapov @ 2010-04-09 12:08 UTC (permalink / raw)
  To: sisyphus

Добрый день!

Пытаюсь собрать heartbeat 3. Упёрся в ошибки при проверке линковки. Вот 
фрагмент вывода:

Adjusting library links in /usr/src/tmp/heartbeat-buildroot 

./usr/lib: 

         libapphb.so.2 -> libapphb.so.2.0.0 

         libccmclient.so.1 -> libccmclient.so.1.0.0 

         libclm.so.1 -> libclm.so.1.0.0 

         libhbclient.so.1 -> libhbclient.so.1.0.0 

./var/lib: 

./var/lib/lib: 

Stripping binaries in /usr/src/tmp/heartbeat-buildroot 
(executable,shared)
Verifying ELF objects in /usr/src/tmp/heartbeat-buildroot 
(arch=normal,fhs=normal,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) 
 

verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol: 
g_str_hash
verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol: 
debug_level
verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol: 
g_str_equal
verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol: 
g_source_set_priority

......


verify-elf: ERROR: ./usr/lib/libccmclient.so.1.0.0: undefined symbol: 
g_malloc0
verify-elf: ERROR: ./usr/lib/libccmclient.so.1.0.0: undefined symbol: 
g_hash_table_foreach_remove
verify-elf: ERROR: ./usr/lib/libccmclient.so.1.0.0: undefined symbol: cl_log
error: Bad exit status from /usr/src/tmp/rpm-tmp.4108 (%install)


RPM build errors:
     Bad exit status from /usr/src/tmp/rpm-tmp.4108 (%install)
Command exited with non-zero status 1

Как это можно отлаживать?

-- 
С уважением, Шигапов Ринат
     инженер-программист ООО "Невод"
     тел. (342) 2 196 960
     JID: dxist эт jabber.mipt.ru



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

* Re: [sisyphus] heartbeat 3
  2010-04-09 12:08 [sisyphus] heartbeat 3 Rinat Shigapov
@ 2010-04-12  9:49 ` Igor Zubkov
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Zubkov @ 2010-04-12  9:49 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

9 апреля 2010 г. 15:08 пользователь Rinat Shigapov <srk@nevod.ru> написал:
> verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol:
> g_str_hash
> verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol:
> debug_level
> verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol:
> g_str_equal
> verify-elf: ERROR: ./usr/lib/libhbclient.so.1.0.0: undefined symbol:
> g_source_set_priority
>
> ......
>
>
> verify-elf: ERROR: ./usr/lib/libccmclient.so.1.0.0: undefined symbol:
> g_malloc0
> verify-elf: ERROR: ./usr/lib/libccmclient.so.1.0.0: undefined symbol:
> g_hash_table_foreach_remove
> verify-elf: ERROR: ./usr/lib/libccmclient.so.1.0.0: undefined symbol: cl_log
> error: Bad exit status from /usr/src/tmp/rpm-tmp.4108 (%install)

Судя по именам, мне кажется что здесь надо долинковать библиотеки с glib2.

> Как это можно отлаживать?

ldd -u -r libfoo.so.1 -- например так.

-- 
Igor Zubkov
http://hi.im/ice


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

end of thread, other threads:[~2010-04-12  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09 12:08 [sisyphus] heartbeat 3 Rinat Shigapov
2010-04-12  9:49 ` Igor Zubkov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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