Forum
× General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.

Question Linking Linux shared library

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 months 3 days ago #13261 by Md. Shariful Alam Khan
Linking Linux shared library was created by Md. Shariful Alam Khan
I am trying to create a Firebird UDF using CT. As Firebird UDF require ib_util_malloc if you use String and I did that. But can't link the libib_util.so. I compile it for 32bit Linux using CT Typhon 32 on Fedora 28. As I am developing UDF for Firebird 1.5 which is 32bit that's why I am using Typhon 32. I copied libib_util.so on my project folder but still, it can't link libib_util.so. How to link it please help? Please see the attached screenshot.
Attachments:

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 months 2 days ago #13262 by Sternas Stefanos
Replied by Sternas Stefanos on topic Linking Linux shared library
Sir
libib_util.so you try to link is from Linux64 Sub-System
you must install libib_util.so for Linux32 Sub-System,
if exists in Fedora 28 packages

PilotLogic Architect and Core Programmer

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

  • Md. Shariful Alam Khan
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 months 2 days ago #13263 by Md. Shariful Alam Khan
Replied by Md. Shariful Alam Khan on topic Linking Linux shared library
Where should I put the 32bit libib_util.so? In app folder or usr/lib folder?

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 months 2 days ago - 6 months 2 days ago #13266 by Sternas Stefanos
Replied by Sternas Stefanos on topic Linking Linux shared library
Yes
but it's better to install the 32bits OS package

PilotLogic Architect and Core Programmer
Last edit: 6 months 2 days ago by Sternas Stefanos.

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