Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Error on building a library for Linux/64 4 years 1 month ago #15180

  • Chad Adams
  • Chad Adams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 0
Hi,

I am getting this error when building a library (.so) file on Win64. I am running the latest CT, downloaded from the Pilotlogic website as of today.

I can build Windows DLLs fine.

Compile Project, Mode: Linux/64, OS: linux, Target: build\libtbx_common_linux.so: Exit code 1, Errors: 1
c:\codetyphon\fpc\fpc64\bin\x86_64-win64\x86_64-linux-ld.exe: cannot find /lib64/ld-linux-x86-64.so.2
Error: Error while linking


I have the libraries path set in the project options to:

C:\codetyphon\binLibraries\x86_64-linux\

I attached the screenshot of the above directory showing that the file is included in that directory.

Do i need to do anything in the code? I dont know why its looking in path /li64/xxx

Thanks,
Attachments:

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

Error on building a library for Linux/64 4 years 1 month ago #15181

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
attach here after zip your project file *.ctpr
PilotLogic Architect and Core Programmer

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

Error on building a library for Linux/64 4 years 1 month ago #15182

  • Chad Adams
  • Chad Adams's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 0

File Attachment:

File Name: tbx_common.7z
File Size:2 KB
Attachments:

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

Error on building a library for Linux/64 4 years 1 month ago #15183

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Oh it's a library project.

Try this attach
work OK here
PilotLogic Architect and Core Programmer
Attachments:

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1