× CodeTyphon Cross-Build Development, discussions and problems

Question Unable to cross-build i386 linux shared library

  • Andrew
  • Andrew's Avatar Topic Author
  • Offline
  • New Member
  • New Member
1 year 2 weeks ago #15920 by Andrew

Sorry for disturbing, but can you please tell me if I am doing something wrong?
I am trying to build a shared linux library using the i386-win32 => i386-linux chain.

What was done:
- Created a new project (Library)
- Set the path to the required library files (C:\codetyphon\binLibraries\i386-linux) which were downloaded via the CodeTyphon Center
- Installed Linux OS as target

When I try to compile it, I get an error::

Compile Project, OS: linux, Target: C:\codetyphon\typhonTemp\libproject1.so: Exit code 1, Errors: 1
Free Pascal Compiler version 3.3.1 [2021/06/11] for i386
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling C:\codetyphon\typhonTemp\project1.ppr
Linking C:\codetyphon\typhonTemp\libproject1.so
c:\codetyphon\fpc\fpc32\bin\i386-win32\i386-linux-ld.exe: cannot find /lib/ld-linux.so.2
project1.ppr(10,1) Error: Error while linking

I have no problems compiling "application" that way though.
Looks similar to issue mentioned inĀ  that topic , and there is a post that tells that problem resolved, but I have no luck with this on any of CT installations (7.3-7.5).


Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
1 year 2 weeks ago #15922 by Matis A.
Give us time to test and report

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.