-
Notifications
You must be signed in to change notification settings - Fork 10
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
"error while loading shared libraries: libmysqlclient.so.18" when I try to run the miniExample #16
Comments
Pls try to install |
Thanks for the reply! I tried But, I'm still seeing the same error:
Is this maybe a problem with the version of libmysqlclient.so? There is libmysqlclient.so.21 in my system. |
Looks like mysql is still not properly installed on your system. The kent src tools need that. For ubuntu the required library version for libmysqlclient can be downloaded here: (multiarch package has to be installed prior to this) But there might be more libraries missing... Another way would be using static linking on our kent compiles (gcc -static) Hope that helps. Essentially, you need to be able to install kent src. |
Thank you very much for your reply! Indeed, after manually installing libmysqlclient from the link you provided, annotateGenesViaCESAR.pl keeps complaining that more libraries are missing... So, I decided to compile kent, and it went okay after I uninstalled Anaconda and switched to system gcc. (For some reason, ld in Anaconda cannot find lz and lcrypto, but system ld could, and I haven't figured out why). Now, I am able to run But,
This is after I followed https://askubuntu.com/questions/339364/libssl-so-10-cannot-open-shared-object-file-no-such-file-or-directory and installed libssl1.0.0, libssl-dev and created the links:
So my question now is: Thank you and sorry for a lot of questions! |
Good to hear that there is progress. Pls ask your admin to install these packages. |
Hi guys, I have the same exact problem with the same libraries. Making symlinks as describe above help me out but then libpng15.so started failing. After finding a solution for the latter, libssl and crypto failed again. Just wanted to address the problem. I am using Ubuntu 20.04. Hope to find a solution quickly, I am very interested in using CESAR. Alejandro |
Sorry to hear that running it on Ubuntu is apparently not easy. Hard for me to debug as we are having CentOS. I found this recipe for how to install UCSC kent on Ubuntu. http://genomewiki.ucsc.edu/index.php/Source_tree_compilation_on_Debian/Ubuntu Pls try that and also ask your sysadmins to check whether your system and these libs are correctly installed. |
Hi! Sorry for the late reply. I tried compiling openssl from source (https://www.openssl.org/source/old/1.0.0/) and that seems to solve the problem for me. (For some unknown reason, the version installed from apt-get which I used earlier does not work properly). Now,
I assume the "no version information available"s are just warnings, as oryAfe1.gp is generated normally. Thank you so much for your help! |
overlapSelect is a UCSC tool and the libssl / libcrypto errors indicate that these 2 libs are still not properly installed on your system (did you recompile the tools after installing libssl / libcrypto?) |
I have not been able to solve the problem, even compiling the UCSC kent code. I will keep trying. Michael, I also wanted to ask you - in the first open issue here in CESAR´s github you pointed that TOGA has CESAR2.0 implemented, and it can be run through a Docker container - it is possible to run only CESAR2.0 with TOGA? I asked this in TOGA´s git but haven´t receive a response yet. Regards, |
Yes, absolutely. Pls try the TOGA container (I think we had users successfully running it on Ubuntu). |
Hmmm I recompiled kent, but the "no version information available (required by overlapSelect)" message doesn't go away. Thank you very much! |
Where is the "no version information available" error coming from? From which tool? I'll have a look. |
It is the same error from overlapSelect. I searched online a little bit and it seems that the Ubuntu version of openssl should always have the version information, but maybe the one I downloaded and compiled does not...not sure about this. Thank you!
|
Regarding UCSC binaries: pls try to download precompiled binaries from I used this strategy to install dependencies for https://github.com/hillerlab/make_lastz_chains because this strategy seemed to be the most reproducible given that UCSC binaries are indeed very hard to compile. |
Thank you, this is indeed very helpful! After replacing overlapSelect in CESAR2.0/tools with the precompiled binary,
|
Hi,
I am trying to see if cesar2 works correctly on my computer, and encountered the following error with the mini example. I was wondering if you could help? Thank you so much!
Running "annotateGenesViaCESAR.pl POLR3K hg38_oryAfe1.bb twoGenes.gp.forCESAR hg38 oryAfe1 CESARoutput 2bitDir $profilePath -maxMemory 1" gave me the following error:
Processing gene 'POLR3K'
twoBitToFa: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
substr outside of string at /home/sidi/programs/CESAR2.0/tools/annotateGenesViaCESAR.pl line 169.
Use of uninitialized value $seq in uc at /home/sidi/programs/CESAR2.0/tools/annotateGenesViaCESAR.pl line 750.
mafSpeciesSubset: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
Error running '/bin/bash -c 'set -o pipefail; mafExtract -region=chr16:53475-53586 hg38_oryAfe1.bb stdout|mafSpeciesSubset stdin NULL /dev/shm/exon.maf.Rwsm2jQ1w -speciesList=oryAfe1,hg38''
I already installed libmysqlclient by:
sudo apt-get install libmysqlclient-dev
libmysqlclient.so is in the following path, and "/usr/lib/x86_64-linux-gnu" is in my $LD_LIBRARY_PATH. I am on Ubuntu 20.04 LTS system.
/usr/lib/x86_64-linux-gnu/libmysqlclient.so
(I'm not sure if this is related, but I did not compile kent from source and I assume the command above is using the pre-compiled version in tools?)
Thank you!!
The text was updated successfully, but these errors were encountered: