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

Erro ao tentar compilar para linux #218

Open
fiberDeco opened this issue Aug 22, 2024 · 2 comments
Open

Erro ao tentar compilar para linux #218

fiberDeco opened this issue Aug 22, 2024 · 2 comments

Comments

@fiberDeco
Copy link

Bom dia, tem alguma configuração para compilar para linux com PAServer.

Quando adiciono

Interface
uses System.SysUtils,System.Classes,
DataSet.Serialize,RESTRequest4D;

Type
iIxcOS = interface
['{23C4C806-2CE3-4DA7-940D-53CC2D5723E3}']

Da erro na hora de compilar para o o linux

Versão Ubuntu 22

Msg de Erro

[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\ld-linux.exe: error: cannot find -lz
c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflate(System::Zlib::z_stream&, int): error: undefined reference to 'deflate'
c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflateEnd(System::Zlib::z_stream&): error: undefined reference to 'deflateEnd'
c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflate(System::Zlib::z_stream&, int): error: undefined reference to 'inflate'
c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateEnd(System::Zlib::z_stream&): error: undefined reference to 'inflateEnd'
c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateReset(System::Zlib::z_stream&): error: undefined reference to 'inflateReset'
c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflateInit2_(System::Zlib::z_stream&, int, int, int, int, int, char*, int): error: undefined reference to 'deflateInit2_'
c:\program files (x86)\embarcadero\studio\22.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateInit2_(System::Zlib::z_stream&, int, char*, int): error: undefined reference to 'inflateInit2_'

Quando tiro o RESTRequest4D compila normal..

@viniciussanchez
Copy link
Owner

Conseguiu resolver o problema? Ninguém mais reportou esse tipo de situação, acredito que seja algo específico ai do seu cenário...

@fiberDeco
Copy link
Author

fiberDeco commented Dec 16, 2024 via email

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