X2Go Bug report logs - #853
libX11 underlinking problem: undefined reference to 'dlopen' and 'dlsym'

version graph

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Bernard Cafarelli <voyageur@gentoo.org>

Date: Fri, 24 Apr 2015 13:55:01 UTC

Severity: normal

Tags: pending

Found in version 3.5.0.30

Fixed in version 2:3.5.0.32

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#853: libX11 underlinking problem: undefined reference to 'dlopen' and 'dlsym'
Reply-To: Bernard Cafarelli <voyageur@gentoo.org>, 853@bugs.x2go.org
Resent-From: Bernard Cafarelli <voyageur@gentoo.org>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 24 Apr 2015 13:55:01 +0000
Resent-Message-ID: <handler.853.B.14298836383554@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 853
X-X2Go-PR-Package: nx-libs
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14298836383554
          (code B); Fri, 24 Apr 2015 13:55:01 +0000
Received: (at submit) by bugs.x2go.org; 24 Apr 2015 13:53:58 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=ham
	version=3.3.2
X-Greylist: delayed 401 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 24 Apr 2015 15:53:57 CEST
Received: from intrepid.cafarelli.fr (intrepid.cafarelli.fr [195.154.78.185])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 033385DA94
	for <submit@bugs.x2go.org>; Fri, 24 Apr 2015 15:53:56 +0200 (CEST)
Received: from cafarelli.fr (localhost [127.0.0.1])
	by intrepid.cafarelli.fr (Postfix) with ESMTP id 5FAE2E0065
	for <submit@bugs.x2go.org>; Fri, 24 Apr 2015 15:47:14 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.9.2 intrepid.cafarelli.fr 5FAE2E0065
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Fri, 24 Apr 2015 15:47:14 +0200
From: Bernard Cafarelli <voyageur@gentoo.org>
To: submit@bugs.x2go.org
Organization: Gentoo Foundation, Inc.
Message-ID: <0bf3cd32627a75c17517ba34b1b1a847@cafarelli.fr>
X-Sender: voyageur@gentoo.org
User-Agent: Roundcube Webmail/1.2-git
Package: nx-libs
Version: 3.5.0.30

Downstream bugreport: https://bugs.gentoo.org/show_bug.cgi?id=546868

With gold linker, compilation will fail with:
../../exports/lib/libNX_X11.so: error: undefined reference to 'dlopen'
../../exports/lib/libNX_X11.so: error: undefined reference to 'dlsym'

This is caused by libX11 not getting linked with libdl while using these 
symbols, attached patch adds "-ldl" to REQUIREDLIBS

-- 
Bernard Cafarelli (Voyageur)
Gentoo developer (NX, GNUstep, net-misc, llvm/clang, ...)

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:44:15 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.