Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Unable to cross-build i386 linux shared library 1 year 7 months ago #15920

  • Andrew
  • Andrew's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Hello!

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).

Thanks!

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

Unable to cross-build i386 linux shared library 1 year 7 months ago #15922

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 796
  • Thank you received: 82
Give us time to test and report
PilotLogic Core Programmer

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

  • Page:
  • 1