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

Unable to build AWSSESV2 #17

Open
duzzell opened this issue Jul 29, 2024 · 4 comments
Open

Unable to build AWSSESV2 #17

duzzell opened this issue Jul 29, 2024 · 4 comments

Comments

@duzzell
Copy link

duzzell commented Jul 29, 2024

Hello

I am building the AWSLandgrafSDK on Delphi 12.1. I am not using VMWare or any other VM system.

When building the AWSSESV2 package for Ubuntu 22 I get an error:

Cannot find -lgcc_s

None of the suggestions in this SO post (https://stackoverflow.com/questions/43023217/delphi-linux-ld-linux-exe-error-cannot-find-lgcc-s)
has cleared the error.

I've tried looking for the missing file on the linux machine (an old Mac Mini running Ubuntu 22):

david@mini1:~$ sudo /sbin/ldconfig -p | grep libgcc
libgccpp.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgccpp.so.1
libgcc_s.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgcc_s.so.1
libgcc_s.so.1 (libc6) => /lib/i386-linux-gnu/libgcc_s.so.1

This response suggests to me the file I need is present on the linux machine. For some reason, then, it's not being copied to Delphi when I install the Ubuntu SDK.

Do you know how I can solve this problem?

Thanks

@wlandgraf
Copy link
Contributor

You only get that error when building awssesv2 package? Can you compile awscore? Can you compile any Delphi package for Linux platform?

@duzzell
Copy link
Author

duzzell commented Jul 29, 2024

Using the package names displayed under AWSPackages and building for Linux 64-bit:
I can build libawscore290.a and libawsses290.a.
I can build all of the packages with names that begin with 'aws', like awssns290.bpl.
I cannot build bplawssesv2290.so or bplawssqs290.so. Both give me the same cannot find -lbcc_s error.
I can build packages for Linux from other sources such as Winsoft and sgcWebsockets.

@duzzell
Copy link
Author

duzzell commented Aug 5, 2024

Any suggestions or ideas about fixing this compile for linux?

Thanks

@wlandgraf
Copy link
Contributor

I retested here and all packages compile file for Linux platforms. I'm afraid your Delphi Linux platform might not be 100% correctly installed.

Can you maybe try TMS Smart Setup to build the packages?

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