× CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems

Question Error on building a library for Linux/64

  • Chad Adams
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 month 3 weeks ago #15180 by Chad Adams
Error on building a library for Linux/64 was created by Chad Adams
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 3 weeks ago #15181 by Sternas Stefanos
Replied by Sternas Stefanos on topic Error on building a library for Linux/64
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.

  • Chad Adams
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 month 3 weeks ago #15182 by Chad Adams
Replied by Chad Adams on topic Error on building a library for Linux/64

File Attachment:

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

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 3 weeks ago - 1 month 3 weeks ago #15183 by Sternas Stefanos
Replied by Sternas Stefanos on topic Error on building a library for Linux/64
Oh it's a library project.

Try this attach
work OK here

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 1 month 3 weeks ago by Sternas Stefanos.

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