Skip to content
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

undefined symbol: curl_url_cleanup #2355

Closed
2 tasks done
ovo-Tim opened this issue Mar 7, 2023 · 9 comments
Closed
2 tasks done

undefined symbol: curl_url_cleanup #2355

ovo-Tim opened this issue Mar 7, 2023 · 9 comments

Comments

@ovo-Tim
Copy link

ovo-Tim commented Mar 7, 2023

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Search tried in issue tracker

undefined symbol: curl_url_cleanup

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

Not reproducible with Conda

Describe your issue


mamba info / micromamba info

❯ mamba info
Traceback (most recent call last):
  File "/usr/bin/mamba", line 7, in <module>
    from mamba.mamba import main
  File "/home/tim/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 49, in <module>
    import libmambapy as api
  File "/home/tim/mambaforge/lib/python3.10/site-packages/libmambapy/__init__.py", line 7, in <module>
    raise e
  File "/home/tim/mambaforge/lib/python3.10/site-packages/libmambapy/__init__.py", line 4, in <module>
    from libmambapy.bindings import *  # noqa: F401,F403
ImportError: /home/tim/mambaforge/lib/python3.10/site-packages/libmambapy/../../../libmamba.so.2: undefined symbol: curl_url_cleanup

Logs

❯ mamba info
Traceback (most recent call last):
  File "/usr/bin/mamba", line 7, in <module>
    from mamba.mamba import main
  File "/home/tim/mambaforge/lib/python3.10/site-packages/mamba/mamba.py", line 49, in <module>
    import libmambapy as api
  File "/home/tim/mambaforge/lib/python3.10/site-packages/libmambapy/__init__.py", line 7, in <module>
    raise e
  File "/home/tim/mambaforge/lib/python3.10/site-packages/libmambapy/__init__.py", line 4, in <module>
    from libmambapy.bindings import *  # noqa: F401,F403
ImportError: /home/tim/mambaforge/lib/python3.10/site-packages/libmambapy/../../../libmamba.so.2: undefined symbol: curl_url_cleanup

environment.yml

No response

~/.condarc

❯ cat ~/.condarc
channels:
  - https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/
  - https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/
  - https://mirrors.sjtug.sjtu.edu.cn/anaconda/cloud/conda-forge/
ssl_verify: true
@ovo-Tim
Copy link
Author

ovo-Tim commented Mar 7, 2023

I may found the problent,I installed curl7.26.0 when I install pythonocc-core
图片

@ovo-Tim
Copy link
Author

ovo-Tim commented Mar 7, 2023

If I use mamba install curl first,when I install pythonocc-core it will
图片

@jonashaag
Copy link
Collaborator

Please make sure that the libcurl version in your base environment is fairly recent (7.8x)

What's your Mamba version?

Can you please check that the .tar.bz2 file is ok? Try installing the package via mamba -vv to find the full URL of ...-3.2.0-h2...tar.bz2, download that and try to extract it with tar xjf, does that work?

@ovo-Tim ovo-Tim closed this as completed Mar 10, 2023
@GGboy-Zzz
Copy link

I have the sample problem with @ovo-Tim , can you give some suggestions to solve it? it even influence my conda use thanks @jonashaag

@jonashaag
Copy link
Collaborator

Please go through the troubleshooting guide and open a new ticket if it's still an issue after that.

@ovo-Tim
Copy link
Author

ovo-Tim commented Nov 18, 2023

I have the sample problem with @ovo-Tim , can you give some suggestions to solve it? it even influence my conda use thanks @jonashaag

@GGboy-Zzz Just create a new environment and install it. I think pythonocc will influence mamba dependencies. (That means you shouldn't install pythonocc in base environment)

@GGboy-Zzz
Copy link

but i have install it into base environment, there is a problem with my basic environment. Whenever I use Conda's command line, I will output an error:“Error while loading conda entry point: conda-libmamba-solver (......libmamba.so.2: undefined symbol: curl_url_cleanup )”,which makes me crazy!

@jonashaag
Copy link
Collaborator

If you're up to switch to Micromamba :)

@ovo-Tim
Copy link
Author

ovo-Tim commented Nov 20, 2023

@GGboy-Zzz I think you have to reinstall mamba. Because you don't have any available package manager now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants