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

TOPIC:

Windows for linux solution for "cannot find -lrt" 10 years 5 months ago #5579

  • evgeniy
  • evgeniy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 1
If you have message this type
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lcrypt
You need copy libcrypt-xx.xx.so to C:\codetyphon\binLibraries\i386-linux\
and rename as libcrypt.so (cannot find -lcrypt)
c:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find -lrt
librt.so.1 rename as librt.so, without ".1"

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

Windows for linux solution for "cannot find -lrt" 10 years 4 months ago #5597

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
i'll add also

If you try to compile CustomDrawn you'll need libXext.so, it's there named libXext.so.6.
So you can either make a second copy without .6.
Or make a symbolic link to it.
mklink libXext.so libXext.so.6

But, libXext.so requires libdl.so.2 library.

You can find it somewhere in linux distros. For example in recent Ubuntu 14.04 it will be /lib/i386-linux-gnu/libdl-2.19.so. Copy it into your i386-linux folder (C:\codetyphon\binLibraries\i386-linux by default) and rename to libdl.so.2.

Now you will able to compile i386-linux-CustomDrawn app.

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

Last edit: by user01.

Windows for linux solution for "cannot find -lrt" 10 years 4 months ago #5598

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
was also to build gtk3 app with those libs
cloud.mail.ru/public/8a261e5b06d0/x86_64-linux-gtk3.rar

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

Windows for linux solution for "cannot find -lrt" 10 years 4 months ago #5599

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir, can we put this "Library" to our OS Libraries?
PilotLogic Architect and Core Programmer

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

Windows for linux solution for "cannot find -lrt" 10 years 4 months ago #5603

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
go ahead, but well, lol, it's not me who made them) just copied them from recent ubuntu. so you don't even have to ask me)


yet, to say, gtk3 support is still very limited in lazarus. had lots problems with inactive popup windows, incorrect clForm color etc. but that's another story.

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

  • Page:
  • 1