-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
recurring error when trying to work with/install packages for R "sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook" #1679
Comments
Hi, did you ever resolve this? I am running into the same error message when launching a Jupyter-Notebook running the r-kernel. I am also on Arch. |
Ok yes I did. But before I tell you what I did, I want to say that it is admittedly a blatant class 1 KLUDGE. I tried MANY things, some of which are listed in #455. I repeatedly tried to ensure that my solutions played inside the framework of the isolation of the conda environment (read: the fix involves using conda to solve the issue). But in the end, the only thing that REALLY seems to have fixed it for me is to follow @joseandres42's lead and do the following:
|
I should also say that if you are looking to write a bunch of bioconductor conda packages you should REALLY check out the Bioconda recipe repository (https://bioconda.github.io/). They probably even have many of the pakgs you want already written. And if they dont they have a couple scripts that basically let you build a bioconductor skeleton similar to how you can do Gus |
Thank you for taking the time to reply and link different solutions. I resolved my errors by completely removing the R packages that was lingering from a previous non-conda install, and Jupyter is now launching properly. I still occasionally see And yes, bioconda appears to be amazing. It is even more helpful since the pacman version of r is 3.2.3, which doesn't play well with many of the packages I want to use, conda's 3.2.2 works much better. Thanks for the package building tip! |
Hi again, I tried to link the libraries as you suggested and I also tried installing different versions of ncurses (as suggested here), but I am still running into the same issue. I have asked a couple of questions on StackOverflow, regarding installing and building R-packages in conda. Currently, I run into the |
I have not run into issues since doing the link. I am running anaconda2 btw in the weird case that there may be a link to that vs anaconda3. Good luck! |
I got around the
I am still having troubles installing some R-packages due to failure to load shared objects, but I am trying to investigate those issues separately. |
Has this issue ever been investigated properly? Using conda's R package on arch is really painful at the moment. On arch, bash is built against libreadline-6.3:
whereas conda's R is linked against libreadline-6.2. The error apparently arises, when trying to use the 6.2 version of readline with bash. Does anyone have a clue what is actually happening? Is conda somehow able to hijack the library loading and loads bash with its own readline, instead of ping @mingwandroid |
I've just done some preliminary investigation using strace. Internally R calls other executables through /bin/sh:
I need to figure out why it bothers with this, and if it's really necessary, find an accomodation. |
I have a test build of r-base that should address this issue. If you can test it I would be very appreciative:
.. it should install version 3.3.1-5 and that avoids setting |
@mingwandroid, seems to be fixed in your version. |
Thanks @croth1, I'm waiting to hear if there are any bad side effects from my change before I push it to the |
@mingwandroid is the fix pushed to r channel yet? |
Yes, it was uploaded to the r channel more than two months ago when we released Do you still have a problem with it? If so please show:
|
Thanks for the quick response.
I am running into issue of |
You cannot mix packages from Please remove |
Didn't expect that would happen - conda would use multiple channels to download a package and its dependencies. Removed conda-forge from environment. Works good. Thanks! |
No problem, glad we got you going again. Do you feel that how channels work could be better documented? |
I do feel that. I did go through docs at http://conda.pydata.org/docs/index.html. I couldn't understand how channels would be prioritized when they are listed in an environment file and if I am using that environment file to create conda env. My assumption is that it would start with defaults/anaconda channel and if it doesn't find package there, it would continue to look into the other channel as per the order they are listed. Please correct if I misunderstood. |
We have this: http://conda.pydata.org/docs/channels.html Does it answer your questions? |
Not really. I am using environment file to create/manage conda envs. Channels differ from environment to environment. I am not editing ~/.condarc or running conda config to add/update/remove channels at user profile level. |
Hmm, so who (or what) generates your environment files? |
I write environment file for each environment that I want to run in my conda installation. http://conda.pydata.org/docs/using/envs.html#create-environment-file-by-hand |
The information in the link I provided:
.. still applies fully to your use case, you are just specifying the channels in a different place and with slightly different semantics (but the order is specifying the priority to the best of my knowledge). From the link you provided:
@mcg1969 and @kalefranz will be able to correct me if I'm wrong here. |
Was expecting docs to assert that deduction. If a member can confirm this, happy to update the docs. |
Wow. I didn't realize |
This issue dates to 2015. I think the original problem here has been solved. |
Oh |
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
This has eaten my whole day and I finally gave up and resolved to bother you guys.
A few things up front:
I mention this because my issue seems to intersect with readline issues.
I can install the conda packages from the r channel fine. But when I try to adapt the recipes to build bioconductor packages they always choke.
I then just tried to run my conda R install and do the
process that bioconductor claims is the only SANE way to install their stuff.
I am met with
sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook
. It is driving me nuts.My question is twofold:
Thanks.
Gus
The text was updated successfully, but these errors were encountered: