[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pkgsrc-users
Subject:    Re: Problem building security/putty on Linux
From:       "OBATA Akio" <obata () lins ! jp>
Date:       2014-03-22 3:08:09
Message-ID: op.xc3sb2tlcsw9i4 () cabos
[Download RAW message or body]

Hi,

On Sat, 22 Mar 2014 07:18:39 +0900, Iain Morgan <Iain.Morgan@nasa.gov> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic