From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andr=C3=A9as?= Livet Subject: bug#36276: Not found .so files in bundle made by guix pack Date: Tue, 18 Jun 2019 22:21:42 +0200 Message-ID: <98a2c388-3c5e-129e-4a0d-81b2e2d2860b@livet.me> References: <875zp357du.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53877) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdKdD-0001B0-4N for bug-guix@gnu.org; Tue, 18 Jun 2019 16:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdKdC-0005IP-5P for bug-guix@gnu.org; Tue, 18 Jun 2019 16:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdKdC-0005IC-2Z for bug-guix@gnu.org; Tue, 18 Jun 2019 16:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdKdB-0007oQ-RU for bug-guix@gnu.org; Tue, 18 Jun 2019 16:23:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <875zp357du.fsf@gnu.org> Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36276@debbugs.gnu.org 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