bug#36276: Not found .so files in bundle made by guix pack

2019-06-25 Thread Ludovic Courtès
Hello, Andréas Livet skribis: >> What does “uname -r” return on this CentOS machine? I’m guessing it’s >> older than 3.16.0. >> 3.10.0-957.12.2.el7.x86_64 > > What a shame, this kernel was release in 2013 ! Yeah. >> ‘src/corelib/global/minimum-linux_p.h’, we can see this: >> >> --8<--

bug#36276: Not found .so files in bundle made by guix pack

2019-06-25 Thread Ricardo Wurmus
Hi Andréas, >> What does “uname -r” return on this CentOS machine? I’m guessing it’s >> older than 3.16.0. >> 3.10.0-957.12.2.el7.x86_64 > > What a shame, this kernel was release in 2013 ! > > I start to think that our VM was not installed properly because > regular centos install seems to have

bug#36276: Not found .so files in bundle made by guix pack

2019-06-25 Thread Andréas Livet
Hello, Good! So you ran: strip --remove-section=.note.ABI-tag \ ./gnu/store/…/lib/libQt5Core.so.5 right? Yes exactly :). Indeed the .so file produced by Guix has this section: --8<---cut here---start->8--- $ file -L /gnu/store/y1nlilwa34wqvmvm

bug#36276: Not found .so files in bundle made by guix pack

2019-06-24 Thread Ludovic Courtès
Hello, Andréas Livet skribis: > Found a solution ! > > https://superuser.com/a/1348051 Good! So you ran: strip --remove-section=.note.ABI-tag \ ./gnu/store/…/lib/libQt5Core.so.5 right? Indeed the .so file produced by Guix has this section: --8<---cut here---s

bug#36276: Not found .so files in bundle made by guix pack

2019-06-24 Thread Andréas Livet
Hi ! Found a solution ! https://superuser.com/a/1348051 Don't really understand why I got this problem which seems to be WSL only... Do you think it is related to guix pack in some way ? Thank you, Andréas

bug#36276: Not found .so files in bundle made by guix pack

2019-06-21 Thread Ludovic Courtès
Hello, Andréas Livet skribis: >> Is there a /etc/ld.so.preload file? > No. Only some very simples ld.so.config in /etc/ld.so.conf.d Hmm, can you try temporarily moving them out of the way to see if it makes a difference? AFAICS only /etc/ld.so.preload is accessed, but who knows. > For informa

bug#36276: Not found .so files in bundle made by guix pack

2019-06-20 Thread Andréas Livet
Hi, explains ‘-R’, and mentions ‘-RR’. Thanks for the documentation :) Is there a /etc/ld.so.preload file? No. Only some very simpl

bug#36276: Not found .so files in bundle made by guix pack

2019-06-19 Thread Ludovic Courtès
Hi, Andréas Livet skribis: >> 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 ou

bug#36276: Not found .so files in bundle made by guix pack

2019-06-19 Thread Andréas Livet
Hi, I still got the problem with a pack build with -RR, I started to think about a centos bug... If you have any ideas, let me know. Andréas

bug#36276: Not found .so files in bundle made by guix pack

2019-06-18 Thread Andréas Livet
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 (whic

bug#36276: Not found .so files in bundle made by guix pack

2019-06-18 Thread Ludovic Courtès
Hi, Andréas Livet skribis: > Here is how I created the bundle : > > guix pack -S /usr/bin=bin scribus > > I tried it on my Xubuntu 18.04 system and it worked like a charm. You might want to pass -RR to get a relocatable binary. :-) > But, when deployed on the centos machine, it did not found

bug#36276: Not found .so files in bundle made by guix pack

2019-06-18 Thread Andréas Livet
Hi, I try to bundle scribus with guix pack in order to install it on a centos system on which admin sys doesn't want us to install guix. So I created a tarball with a symlink to '/usr/bin' (don't know it's really the recommanded way), this way scribus binary will automatically be in the $PAT