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

AmiSSL library could not be opened #72

Open
OoZe1911 opened this issue Jan 7, 2025 · 5 comments
Open

AmiSSL library could not be opened #72

OoZe1911 opened this issue Jan 7, 2025 · 5 comments

Comments

@OoZe1911
Copy link

OoZe1911 commented Jan 7, 2025

Hello,

I am sorry, maybe my issue is not a real one but I could not find out how to make AmiSSL 5.18 work under Amiga OS 3.2.
I used the installer, everything seems ok :

  • the LIBS:AmiSSL/amissl_v340.library does exist and the access rights are correct
  • the LIBS: definition is correct
  • nevertheless, openssl or IBrowse or any program using AmiSSL can not use it

Under Snoopdos it is shown that loading the library failed, but the path is correct and the file is there.
AmiSSL

I am using :

  • WinUAE 5.31 under Wine 9.21 under Mac OS X 15.2
  • Amiga OS 3.2.2.1 with ROM 47.111
  • DH0: is accessing directly the underlying OS FS (no hdf file)
  • I checked the access rights under Amiga OS and Mac OS : everything is fine !
  • I am using 040 version of AmiSSL as WinUAE is configured to emulate a 68040

I am not able to find out where the issue is...

@Futaura
Copy link
Collaborator

Futaura commented Jan 7, 2025

Seems you've covered almost everything I'd mention, but what about memory? How much have you assigned to WinUAE? There needs to be a block of contiguous ram large enough to be able to the large library. I wouldn't have thought memory would be any issue on your set up, but maybe WinUAE isn't configured correctlyl

@jerseywurzel
Copy link

jerseywurzel commented Jan 7, 2025 via email

@OoZe1911
Copy link
Author

OoZe1911 commented Jan 7, 2025

I was aware of the memory pb, so I allocated 2 Mb of Chip and 8 Mb of Z3 Fast RAM as shown on this screenshot :
Screenshot 2025-01-07 at 20 33 50

I also upgraded to IBrowse 3 (I paid every license of products I am using ROM/OS/software).

I am just seeing that I also select 512 Kb of Slow ram... hmmm maybe I will remove this, is it possible that the memory allocation is not done correctly if multiple free memory addresses are available ?

@Futaura
Copy link
Collaborator

Futaura commented Jan 7, 2025

I'd suggest 16Mb minimum. Once the OS and everything has booted, you'll be lucky to have a large enough block ram if you only have it set to 8Mb (the avail command will show you the largest block of contiguous ram). It won't matter to AmiSSL what type of memory this is.

@OoZe1911
Copy link
Author

OoZe1911 commented Jan 8, 2025

Thank you Futaura !! Problem solved ! I allocated 32 Mb of RAM in WinUAE and now everything is working fine !!
Suggestion : is it possible to return a different return code when the issue is "not enough memory" ? So we can make the difference between : not enough memory and library not found, for example ?
Screenshot 2025-01-08 at 08 06 31

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