pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem building security/putty on Linux



Hi,

On Sat, 22 Mar 2014 07:18:39 +0900, Iain Morgan 
<Iain.Morgan%nasa.gov@localhost> wrote:

Trying to build security/putty on an RHEL 6.5 system, using cvs HEAD,
fails due to multiple undefined references to dlsym, dlopen, dlcose, etc.
I'm a little perplexed as to hey this is happening, given that USE_BUILTIN.dl
is set to 'yes'.

Running the build under script and then grep'ing for -ldl finds no
matches. Likewise, 'bmake show-var VARNAME=DL_LIBS' returns an empty
line.

Because -ld (BUILDLINK_LDADD.dl) is not added DL_LIBS (see 
pkgsrc/mk/dlopen.builtin.mk)


Anyway, this package should be refreshed.

GNU configure support had been added since 0.59 (7 years ago!),
so it should be switched to GNU_CONFIGURE=yes, then such issue will be gone 
away,
and CFLAGS/LDFLAGS tricks in Makefile will not be required anymore.

"dlfcn" is only required for GSSAPI support with dynamic loading.
However, default configuration is not matched for various situation
(shlib name mismatch, prefer pkgsrc one than builtin, and so on),
i.e, current packaging is useless.

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index