From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 16:22:21 2019 Received: (at 36276) by debbugs.gnu.org; 18 Jun 2019 20:22:21 +0000 Received: from localhost ([127.0.0.1]:45657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdKcW-0007nB-UQ for submit@debbugs.gnu.org; Tue, 18 Jun 2019 16:22:21 -0400 Received: from split.o2switch.cloud ([109.234.163.63]:37421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdKcT-0007mu-VX for 36276@debbugs.gnu.org; Tue, 18 Jun 2019 16:22:19 -0400 X-Spam-Status: No X-MailPropre-MailScanner-From: andreas@livet.me X-MailPropre-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.301, required 5, autolearn=disabled, DKIM_INVALID 0.10, DKIM_SIGNED 0.10, RCVD_IN_SORBS_WEB 1.50, SPF_HELO_PASS -2.00, SPF_PASS -0.00) X-MailPropre-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailPropre-MailScanner-ID: E0D511008D6.AFA97 X-MailPropre-MailScanner-Information: Please contact the ISP for more information DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=livet.me; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nLKuNxvkg1l410kB3nT0AQE/uEUOS2y1kYaNrIf7YrY=; b=c9/pDuno7skNj/MFzIEIqEYul5 jxaS1rn1HdJJKmqJq7q98iaJObdr2eB6Bswmf/zjfYIClZH1IZMFExvE4iW1M+FN5D3GqkkE3h6CM bQ9Rjl6PQBsBLtFYpPdZtFzr+JmnP556BFY6hEsDbI0zcJjnqXc6MpRgDEIb5bzHJTKDs0cmWZznj fxoWVXtL1lp0+zkIUZbulYaF09BwtKehjDmD4O09M781zAIICzGcF3YBCQilpsBctT8YEuh8qtaZ6 kyOuajWX39CSt5bKr7VNg9X490XsD0IqZiwyhKp1qCJCvGPLnc1nGGrXy+HyCzUensqie1459UidJ kKUXCQJw==; Subject: Re: bug#36276: Not found .so files in bundle made by guix pack To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <875zp357du.fsf@gnu.org> From: =?UTF-8?Q?Andr=c3=a9as_Livet?= Message-ID: <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> Date: Tue, 18 Jun 2019 22:21:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <875zp357du.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - berlin.o2switch.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - livet.me X-Get-Message-Sender-Via: berlin.o2switch.net: authenticated_id: andreas@livet.me X-Authenticated-Sender: berlin.o2switch.net: andreas@livet.me X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36276 Cc: 36276@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, > You might want to pass -RR to get a relocatable binary. :-) Yes, I'm uploading the new tarball on the server, it's a bit slow... I didn't understand what did -RR option at first, but now it's seems to be a good (maybe the only?) option for installation outside the / directory (which is not a problem for me because I have root privilege on the server, just that admin sys doesn't want us to install tools like Docker, guix, etc. because he'll have to maintain the server after) . > Could you make sure that LD_LIBRARY_PATH is unset? Yes it is unset. This problem is driving me crazy, I can't understand why it can find libQt5Gui.so.5 and not libQt5Core.so.5 As far as I understand how dynamic linking is done under linux, the binary looks for .so files that it depends on inside folders define in the binary itself and on the operating system (/lib, /lib64). And when it founds an .so with the corresponding name it stops, then search for another .so (if there is one). Then how can it not found this .so file ? * I've check it with sha1sum, it's clean. * I check it with "nm -D" it contains all the symbols. * I've check the binary with "chrpath -l /gnu/store/5xqmac50axcgc8vrrn30jvzndjvrqd6a-scribus-1.5.4/bin/.scribus-real", it contains "/gnu/store/890yw9i7lcjnnxhlza8r121352xpb1hi-qtbase-5.11.3/lib" which contains libQt5Core.so.5 I really can't see what's the problem here... Hope it will work with the tarball generated with -RR, but it will leave the problem unsolved... Again, thanks for your help and what you're doing for guix, Andréas