Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 16:35:04 +0300 (EEST)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        Anton Berezin <tobez@tobez.org>
Cc:        freebsd-perl@freebsd.org
Subject:   Re: ports/79397: news/inn fails to build nnrpd under RELEASE-4.11 and perl v5.8.6
Message-ID:  <20050414100951.P44184@atlantis.atlantis.dp.ua>
In-Reply-To: <20050408120630.GD20503@heechee.tobez.org>
References:  <42564B67.6070205@atlantis.dp.ua> <20050408071756.C388@eleanor.us1.wmi.uvac.net> <20050408120630.GD20503@heechee.tobez.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello!

On Fri, 8 Apr 2005, Anton Berezin wrote:
> So libperl.so from the base system perl gets picked first.  Even when
> -rpath gets moved after -Wl,-R..., the problem still remains, since
> -rpath takes precedence.  The proper fix will mean both moving -rpath
> further in the line _and_ replacing it with -Wl,-rpath, so they get the
> same precedence.

   Thanks for your advise. I've tried to follow it, however it doesn't take the 
problem away:

cc   -o nnrpd article.o cache.o group.o commands.o line.o list.o misc.o
  newnews.o nnrpd.o perl.o perm.o post.o python.o sasl_config.o tls.o track.o
  /usr2/ports/news/inn/work/inn-2.4.1/history/libinnhist.a
  /usr2/ports/news/inn/work/inn-2.4.1
  /storage/libstorage.a /usr2/ports/news/inn/work/inn-2.4.1/lib/libinn.a
  -L/usr/lib -lssl -lcrypto   /usr2/ports/news/inn/work/inn-2.4.1/lib/perl.o
  -Wl,-R/usr/local/lib/perl5/5.8.6/mach/CORE -Wl,-rpath /usr/lib
  -Wl,-rpath /usr/local/lib -Wl,-E -L/usr/local/lib
  /usr/local/lib/perl5/5.8.6/mach/auto/DynaLoader/DynaLoader.a
  -L/usr/local/lib/perl5/5.8.6/mach/CORE -lperl -lm -lcrypt -lutil
perl.o: In function `HandleHeaders':
perl.o(.text+0x4b): undefined reference to `Perl_get_hv'
perl.o(.text+0x16a): undefined reference to `Perl_get_sv'
perl.o(.text+0x182): undefined reference to `Perl_get_sv'
perl.o(.text+0x1a7): undefined reference to `Perl_call_argv'
...

What should I change further in order to build nnrpd?


Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050414100951.P44184>