Jump to content
Sign in to follow this  
Andrey Kondrashov

Have an Linking error while trying to compile a soap web service for using under linux

Recommended Posts

Hello!

 

Haveing this error while linking a default soap server application for linux. PAS Server was installed under Ubuntu 20.04.2 (maybe it depends on version of linux? where to find a supported list?)

 

[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find -lz
  c:\program files (x86)\embarcadero\studio\21.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\21.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\21.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\21.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\21.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\21.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\21.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_'
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

 

what's wrong with it? 

Thank you!

Share this post


Link to post
2 hours ago, Andrey Kondrashov said:

Hello!

...

what's wrong with it? 

Thank you!

My guess would be, that needed additional files are missing or can not be found. For Windows thats often *.obj files wich include the reported method (error: undefined reference to ...X).

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×