[fpc-devel] FreeBSD's shared libraries

2009-07-27 Thread 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



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FreeBSD's shared libraries

2009-07-27 Thread Marco van de Voort
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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FreeBSD's shared libraries

2009-07-27 Thread Leonardo M . Ramé

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


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


--- On Mon, 7/27/09, Marco van de Voort mar...@stack.nl wrote:

 From: Marco van de Voort mar...@stack.nl
 Subject: Re: [fpc-devel] FreeBSD's shared libraries
 To: FPC developers' list fpc-devel@lists.freepascal.org
 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  -  fpc-devel@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-devel
 



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FreeBSD's shared libraries

2009-07-27 Thread Jonas Maebe


On 27 Jul 2009, at 22:11, Leonardo M. Ramé wrote:


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


For the initialization/finalization stuff, you may want to look at the  
changes I did for Linux in r10551



Jonas___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel