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

Question on using phcpy on Windows #71

Open
mishimaaa opened this issue Mar 23, 2024 · 4 comments
Open

Question on using phcpy on Windows #71

mishimaaa opened this issue Mar 23, 2024 · 4 comments

Comments

@mishimaaa
Copy link

Dear Developers:

I have encountered an issue in using phcpy package on Windows platform. The libPHCpack.dll was successfully built, but ctypes is unable to load it possibly due to lack of dependencies.
Using dumpbin command, I have the following
Image has the following dependencies:
libstdc++-6.dll
ADVAPI32.dll
KERNEL32.dll
msvcrt.dll
It seems my system lacks the first dll file. However, when trying to directly copy and pasting the first file from another device of mine, I have Unable to find an entry point named '_ZSt21ios_base_library_initv' in DLL 'libPHCpack.dll' error (does this suggest wrong version of libstdc++-6.dll? If so, what will be the correct version?)

I'd appreciate any help.
Many thanks!

@janverschelde
Copy link
Owner

Thanks for reporting this issue. I have a similar problem with version 2.0.0 of alr. The work around for now is to stick with 1.2.2 of alr, which can be retrieved from https://github.com/alire-project/alire/releases. I installed 2.0.0 and then reinstalled 1.2.2.

@mishimaaa
Copy link
Author

Dear Professor:

I have the following error when i try to get the phcpack on alire, during installation of git using alire 1.2.2:
error: perl-IO-HTML: signature from "David Macek david.macek.0@gmail.com" is unknown trust
:: File /var/cache/pacman/pkg/perl-IO-HTML-1.004-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: perl-HTTP-Cookies: signature from "David Macek david.macek.0@gmail.com" is unknown trust
:: File /var/cache/pacman/pkg/perl-HTTP-Cookies-6.10-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

It seems like a corrupted file error. Have encountered similar issues?

Many thanks!

@janverschelde
Copy link
Owner

I have not seen such error before, but it may be a windows issue. Which version of Windows do you use?

Regarding the alr 2.0.0 problem, it may be because that version of alire uses GNAT 13.2.0 with the new gcc13, which may be too new for certain Python installations.

@mishimaaa
Copy link
Author

Dear Professor:

I am currently using Win11 23H2.

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

2 participants