Closed videlec closed 7 years ago
One solution
$ sage -sh
$ LIBRARY_PATH=$LIBRARY_PATH:/usr/lib/perl5/core_perl/CORE/
$ pip install git+https://github.com/videlec/pypolymake.git
then
$ export LD_LIBRARY_PATH=/usr/lib/perl5/core_perl/CORE/
$ sage
<... snip ...>
sage: import polymake # does work !!
Same kind of problem on fedora described on stackoverflow.
To avoid setting manually LD_LIBRARY_PATH
, one can permanently configure the run-time binding with ldconfig as follows
1) create a file /etc/ld.so.conf.d/perl.conf
with the line /usr/lib/perl5/core_perl/CORE/
2) run $ sudo ldconfig
You can check whether it succeeded by doing
$ ldconfig -p | grep libperl
libperl.so (libc6,x86-64) => /usr/lib/perl5/core_perl/CORE/libperl.so
(no output = trouble)
fixed with 041cd67
Compilation fails on archlinux with
Indeed libperl is in a strange location
Also discussed on archlinux forum.