Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-27 Thread Andrew Brunner
Hi Joost, The the problem was a Linux problem. I'm running debian, Ubuntu 8.10, but the problem was with the entries in FSTab not having the propper case for the remote shares. I matched the cases in the complete paths (server side) and Rebooted. Now at least I could test for crashes. Unfortun

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-27 Thread Joost van der Sluis
Op woensdag 24-12-2008 om 13:42 uur [tijdzone -0600], schreef Andrew Brunner: > I've been struggling with an issue of > Dynlibs.LoadLibrary(completepath/something.so) always returning zero > for libraries in subfolders that are traced back to samba shares. This sounds as if you have SE linux enabl

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-24 Thread Jonas Maebe
On 24 Dec 2008, at 20:42, Andrew Brunner wrote: So what's with Dynlibs or Linux for that matter, not able to load libraries from sub folders inside mounts? Is *this a known issue? No, but "sub folders inside mounts" has no meaning under unix (every folder on your disk is a "sub folder insi

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-24 Thread Andrew Brunner
I've been struggling with an issue of Dynlibs.LoadLibrary(completepath/something.so) always returning zero for libraries in subfolders that are traced back to samba shares. Example Library Project is built on /home/atbrunner/Source/Libraries/Test/project1.so but /home/atbrunner/Source is a smbfs

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-23 Thread Andrew Brunner
On Tue, Dec 23, 2008 at 1:36 PM, Jonas Maebe wrote: > Your bug report indicates version "2.2.3" in the details view. I noticed that. I don't recall paying much attention to the version or perhaps it wasn't available in the combobox. It was listed in the more detailed version. > 2.2.x is the fi

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-23 Thread Jonas Maebe
On 23 Dec 2008, at 20:26, Andrew Brunner wrote: This is on Scientific Linux 5.2 (free distro based on Red Hat Enterprise Linux 5.2). Are you sure that you are using 2.2.3 and not 2.3.1? Yes, I did use build 2.3.1 from SVN. Your bug report indicates version "2.2.3" in the details view. I

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-23 Thread Andrew Brunner
I just installed fpc 2.2.3 and updated my links and re-built the so and test app. And still had a problem with LoadLibrary returning 0. So I went and downloaded the latest version of binutils (2.19) and compiled it. Next, I rebuilt-Lazarus. Then, I re opened the existing projects and built-all a

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-23 Thread Andrew Brunner
> This is on Scientific Linux 5.2 (free distro based on Red Hat Enterprise > Linux 5.2). Are you sure that you are using 2.2.3 and not 2.3.1? Hi Jonas, Yes, I did use build 2.3.1 from SVN. I'll try 2.2.3 build b/c I'm having so many different Issues with this one and re-post back. __

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-23 Thread Jonas Maebe
On 23 Dec 2008, at 19:03, Jonas Maebe wrote: On 23 Dec 2008, at 14:54, Andrew Brunner wrote: 'm running into another issue where I create all classes from scratch to avoid using Classes unit inside library and now my library won't load. The only FPC related unit I use is SysUtils. I cannot

Re: [fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-23 Thread Jonas Maebe
On 23 Dec 2008, at 14:54, Andrew Brunner wrote: 'm running into another issue where I create all classes from scratch to avoid using Classes unit inside library and now my library won't load. The only FPC related unit I use is SysUtils. I cannot reproduce this crash following http://bugs.fr

[fpc-pascal] Dynlibs.LoadLibrary on 64bit Debian (Ubuntu)

2008-12-23 Thread Andrew Brunner
I'm running into another issue where I create all classes from scratch to avoid using Classes unit inside library and now my library won't load. The only FPC related unit I use is SysUtils. If I strip out my all my units as uses then the Application LoadLibrary will return a handle. I tried to u