-
-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING: dlopen() failed: /usr/bin/lib_manticore_columnar.so: cannot open shared object file: No such file or directory #796
Comments
you should install columnar package to get rid of this warning |
|
|
@cappadaan 2 more questions:
|
[user@sphinx user]$ indexer Built on Linux x86_64 by Clang 7.0.1 compiler. Configured with these definitions: -DDISTR_BUILD=rhel7 -DUSE_SYSLOG=1 -DWITH_GALERA=1 -DWITH_RE2=1 -DWITH_RE2_FORCE_STATIC=1 -DWITH_STEMMER=1 -DWITH_STEMMER_FORCE_STATIC=1 -DWITH_ICU=1 -DWITH_ICU_FORCE_STATIC=1 -DWITH_SSL=1 -DWITH_ZLIB=1 -DWITH_ODBC=1 -DDL_ODBC=1 -DODBC_LIB=libodbc.so.2 -DWITH_EXPAT=1 -DDL_EXPAT=1 -DEXPAT_LIB=libexpat.so.1 -DWITH_ICONV=1 -DWITH_MYSQL=1 -DDL_MYSQL=1 -DMYSQL_LIB=libmysqlclient.so.18 -DWITH_POSTGRESQL=1 -DDL_POSTGRESQL=1 -DPOSTGRESQL_LIB=libpq.so.5 -DLOCALDATADIR=/var/lib/manticore/data -DFULL_SHARE_DIR=/usr/share/manticore Usage: indexer [OPTIONS] [indexname1 [indexname2 [...]]] Options are: Examples: |
Over default there are 3 env variables which affects path of searching for columnar library.
* So, I suspect, first or second env can be active and affect the search. Or, if not, issue need further investigation. Anyway, without any investigations, you can explicitly set any of mentioned variables to the known where lib is placed, and it should work. |
Columnar is not installed, I dont even know what it is. I would then expect something like this: WARNING: Columnar not installed on {path}, skipping |
I can't reproduce the issue in a clean Centos 7:
At what moment did you see the warning? According to your |
There is no such warning by default. Only if columnar persist on the path, but not available (i.e. incompatible, or something else). |
When I run the indexer, the warning is there.
I never set any of these env on the system, strange |
@cappadaan we've discussed it and have a clue why it may be happening, but are not aure. Can you please provide:
? |
indexer --rotate --all -c /path_to_my_config.conf Manticore 5.0.2 348514c@220530 dev using config file '/path_to_my_config.conf'...
ls: cannot access /usr/bin/lib_manticore_columnar.so: No such file or directory
-rwxr-xr-x 1 root root 2025408 May 30 10:04 /usr/share/manticore/modules/libgalera_manticore.so /usr/share/manticore/modules/:
Failed to set locale, defaulting to C |
Still can't reproduce it:
I.e. everything looks the same, but I don't get the warning. Can you share your configuration file? |
I uploaded the conf to your FTP |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Feel free to re-open the issue in case it becomes actual. |
Getting the exact same warning with a Taking a peek at the code, it seems obvious why it's happening:
Haven't bothered trying to verify this (the debug symbols in the Debian repo are only provided for 4.2.0 (manticore-dbgsym_4.2.0-211223-15e927b28_amd64.deb) not 5.0.2), but it seems plausible. Fortunately, it doesn't actually prevent anything from working :) |
How do you reproduce it? Here's what I get in a clean Debian Bullseye:
All the libraries are stored not in
the binaries should be looking for the libraries there, not in You can easily install 5.0.2 debug symbols in Debian like this:
or manually by finding the debug symbol packages on https://repo.manticoresearch.com/ There's also
(see the last line)
(see the last line) |
Sorry, this isn't exactly a clean install - my setup script had put my config on there; apologies for the incorrect assertion. Thanks for the pointer on debug symbols - didn't know that the name has changed.
As with the original poster, I don't have the columnar plugin installed. I'm guessing you can reproduce it with the following conditions:
|
Thanks @animetosho MRE
Same w/o
We can now look into this. |
➤ Ilya Kuznetsov commented: Fixed in 426c47c |
Describe the bug
After upgrading from 4.2 to 5.0.2 the indexer shows me this warning
WARNING: dlopen() failed: /usr/bin/lib_manticore_columnar.so: cannot open shared object file: No such file or directory
But the indexer works as expected.
Expected behavior
Should give me no warning or at least a human readable warning
The text was updated successfully, but these errors were encountered: