- edited description
piler: error while loading shared libraries: libpiler.so: cannot open shared object file: No such file or directory
Configuration
- Ubuntu Server 13.04 (Kernel 3.8.0-35-generic)
- Percona (mysql Ver 14.14 Distrib 5.5.35, for Linux (x86_64) using readline 5.1)
Problem
I compiled and installed piler from the latest master here from Bitbucket. When trying to run sh init.d/rc.piler
, I always get the error:
/usr/local/sbin/pilerconf: error while loading shared libraries: libpiler.so: cannot open shared object file: No such file or directory
Same with running piler -d
:
piler: error while loading shared libraries: libpiler.so: cannot open shared object file: No such file or directory
Also, when accessing the install via web browser, this error message shows up:
Error: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) on database: sphinx
Comments (9)
-
Account Deleted -
Account Deleted - edited description
Added Info
-
repo owner Please start searchd with the provided init script in the piler source directory, and execute ldconfig.
-
repo owner - changed status to resolved
-
Account Deleted Thanks a lot for your extremely quick response! I managed to get it to work with this. However, what about the error message? Is running
sh init.d/rc.piler
not at all necessary? -
Account Deleted - changed status to open
I'd like you to clarify why that is. Thanks.
-
repo owner "error while loading shared libraries: libpiler.so: cannot open shared object file: No such file or directory"
This message says that the system is unaware of libpiler.so, and it's right, because piler was freshly installed, and libpiler.so is not present in the cache of shared libraries. That's why you have to run ldconfig to regenerate it.
"Error: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) on database: sphinx"
This message says that the gui can't connect to sphinx. The installer should have create /etc/init.d/rc.searchd, so please start it.
-
Account Deleted - changed status to resolved
Nevermind. I found it in the documentation:
Execute ldconfig as root to make sure that libpiler.so is recognised. On some systems you may need to add /usr/local/lib to /etc/ld.so.conf.d/piler.conf.
After that the installation worked. Now I have a whole bunch of other problems like the health monitor not working and imported mails not showing up but that's another matter altogether,
Thanks again.
-
repo owner Don't be afraid to ask for help on the mailing list :-)
- Log in to comment
Minor layout changes