ports/79397: news/inn fails to build nnrpd under RELEASE-4.11
and perl v5.8.6
Dmitry Pryanishnikov
dmitry at atlantis.dp.ua
Thu Apr 14 06:35:23 PDT 2005
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 at atlantis.dp.ua
nic-hdl: LYNX-RIPE
More information about the freebsd-perl
mailing list