Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2009-07

FreeBSD's shared libraries

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi, while trying to create an apache 2.2.x module in FreeBSD 7.2, I found it can't load .so files created by FPC 2.2.4. After this issue, I'd try to create a simple .so file, and a program to load it dynamically, sadly it seems that Dynlibs.LoadLibrary can't find the library (I'm using absolute paths).

This confirms what Jonas Maebe said:
"Creating dynamic libraries with FPC does not work under FreeBSD at this time.".

How can I help to implement this feature, where can I start?. What are the problems that are stopping this to work?.

Thanks in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com

Reply by email

Marco van de Voort
to Leonardo M. Ramé

In our previous episode, Leonardo M. Ram� said:

Show quoted text 7 lines
Hi, while trying to create an apache 2.2.x module in FreeBSD 7.2, I found it can't load .so files created by FPC 2.2.4. After this issue, I'd try to create a simple .so file, and a program to load it dynamically, sadly it seems that Dynlibs.LoadLibrary can't find the library (I'm using absolute paths). This confirms what Jonas Maebe said: "Creating dynamic libraries with FPC does not work under FreeBSD at this time.". How can I help to implement this feature, where can I start?. What are the problems that are stopping this to work?.

Finding (up-to-date) information about what a library is required to have. (mostly initialization/finalization)

Reply by email

Leonardo M. Ramé
to Marco van de Voort

I found a bug opened in 2006 about this issue, its number is 0007833.

Leonardo M. Ramé
http://leonardorame.blogspot.com

Marco van de Voort wrote 28 lines
From: Marco van de Voort Subject: Re: [fpc-devel] FreeBSD's shared libraries To: "FPC developers' list" Date: Monday, July 27, 2009, 11:48 AM In our previous episode, Leonardo M. Ramé said: > Hi, while trying to create an apache 2.2.x module in FreeBSD 7.2, I found it can't load .so files created by FPC 2.2.4. After this issue, I'd try to create a simple .so file, and a program to load it dynamically, sadly it seems that Dynlibs.LoadLibrary can't find the library (I'm using absolute paths). > > This confirms what Jonas Maebe said: > "Creating dynamic libraries with FPC does not work under FreeBSD at this time.". > > How can I help to implement this feature, where can I start?. What are the > problems that are stopping this to work?. Finding (up-to-date) information about what a library is required to have. (mostly initialization/finalization) _______________________________________________ fpc-devel maillist  -  http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email