haiwen / seafile

High performance file syncing and sharing, with also Markdown WYSIWYG editing, Wiki, file label and other knowledge management features.
http://seafile.com/
Other
12.25k stars 1.54k forks source link

can't install, libselinux.so.1 problem #219

Closed brizou closed 11 years ago

brizou commented 11 years ago

Hello, I have a problem installing seafile, when i do a ./setup-seafile.sh I end up with /home/clement/seafile/seafile-server-1.6.0/seafile/bin/ccnet-init: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory python-selinux is installed, libselinux1 also...

freeplant commented 11 years ago

What linux distribution do you use?

You'd better compile seafile from source for those distributions we did not tested.

brizou commented 11 years ago

debian 6

freeplant commented 11 years ago

Can you try to copy the libselinux.so.1 from your system to seafile-server-1.6.0/seafile/lib

You can find libselinux.so.1 by locate libselinux.so.1. On my ubuntu machine, it is /lib/x86_64-linux-gnu/libselinux.so.1

brizou commented 11 years ago

it was /lin/libselinux.so.1 . I copied it still doesn't work... strange !

freeplant commented 11 years ago

After seaching, I wonder it may be related to 64/32 bit problem. Is your debian 64bit and seafile server 64bit and selinux 64bit?

brizou commented 11 years ago

yes both are 64bits

brizou commented 11 years ago

ok i reinstalled python-selinux and copied it, it worked this time

Thank you very much

Pistos commented 9 years ago

To get past this issue on Gentoo, I emerged libselinux .

theminor commented 8 years ago

This worked for me on archlinux as well - libselinux is in the aur. Please add this requirement to the installation instructions!