devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] libucil под p5: verify-elf: undefined symbol
Date: Wed, 15 Dec 2010 18:20:50 +0300
Message-ID: <20101215182050.0d83256e@deimos.localdomain> (raw)
In-Reply-To: <87lj3rumzj.fsf@asia.home.dd>

On Wed, 15 Dec 2010 17:30:56 +0300
Dmitry Derjavin <dd@altlinux.org> wrote:

> Получаю:
> Verifying ELF objects in /usr/src/tmp/libucil-buildroot (arch=normal,fhs=normal,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_init
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: pthread_create
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_post
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: sem_wait
> verify-elf: ERROR: ./usr/lib/libucil.so.2.1.11: undefined symbol: pthread_join

[...]

> 
> Как тут можно обойтись без %set_verify_elf_method unresolved=relaxed ?
> 

Наблюдается явная недолинковка с libpthread.so* (-lpthread). Я не
большой специалист по борьбе с autotools, поэтому возможно что-то
сломается, но пакет соберётся если добавить к

> %configure

%configure LIBS=-lpthread

-- 
WBR,
Ivan A. Melnikov


      reply	other threads:[~2010-12-15 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 14:30 Dmitry Derjavin
2010-12-15 15:20 ` Ivan A. Melnikov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101215182050.0d83256e@deimos.localdomain \
    --to=iv@altlinux.org \
    --cc=devel-newbies@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

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


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