Re: [lazarus] SQLDB TIBConnection

2007-01-03 Thread Lee Jenkins

Lee Jenkins wrote:


After not getting the sqlite components to install or be usable from a 
lazarus project through reference to the units, I on to try the SQLDB 
ibconnection component now.


Has anyone else had any luck with these components?  I'm trying to use 
them and I get an exception about not being able to access the libgds.so 
or libfbclient.so.




I just tried installing UIB components and while there was no error, 
there is no components on the palette for them either.


I *really* don't want this to sound the right way, but is it even 
possible to install non-default components on in the IDE on linux?



--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-03 Thread Kevin hayton
On Thursday 04 January 2007 2:16 pm, Lee Jenkins wrote:
> Lee Jenkins wrote:
> > After not getting the sqlite components to install or be usable from a
> > lazarus project through reference to the units, I on to try the SQLDB
> > ibconnection component now.
> >
> > Has anyone else had any luck with these components?  I'm trying to use
> > them and I get an exception about not being able to access the libgds.so
> > or libfbclient.so.
>
> I just tried installing UIB components and while there was no error,
> there is no components on the palette for them either.
>
> I *really* don't want this to sound the right way, but is it even
> possible to install non-default components on in the IDE on linux?

I have just installed UIB components and there are components on the palette.
Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB 
extracted to /usr/share/lazarus/components and installed the .lpk in /source.

Regards
KevinH

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-03 Thread Lee Jenkins

Kevin hayton wrote:


I have just installed UIB components and there are components on the palette.
Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB 
extracted to /usr/share/lazarus/components and installed the .lpk in /source.


Man, that is so odd.  I did essentially the same thing except all my 
stuff was installed in /usr/lib/lazarus/coponents.  Same thing with lpk.


And everything looked like it compiled fine too, at least no visible 
errors that I could see.


--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Joost van der Sluis
On Wed, 2007-01-03 at 21:15 -0500, Lee Jenkins wrote:
> Kevin hayton wrote:
> > 
> > I have just installed UIB components and there are components on the 
> > palette.
> > Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB 
> > extracted to /usr/share/lazarus/components and installed the .lpk in 
> > /source.
> 
> Man, that is so odd.  I did essentially the same thing except all my 
> stuff was installed in /usr/lib/lazarus/coponents.  Same thing with lpk.

Ergo: you've installed lazarus TWICE. You were installing in one of
them, but you started the other one.

(one in /usr/lib/lazarus, and one in /usr/lib/shared)

Next question is: which distro do you use? If it's FC, you probably
installed the rpm provided by fedora, which installs
in /usr/lib/lazarus. But the rpm you can download on the lazarus website
installs to /usr/shared/lazarus

> And everything looked like it compiled fine too, at least no visible 
> errors that I could see.

I still find it stranghe, though, that he can't find the firebird-
client-library. But I think you've installed something else wrongly..

-- 
Met vriendelijke groeten,

  Joost van der Sluis
  CNOC Informatiesystemen en Netwerken
  http://www.cnoc.nl

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins

Joost van der Sluis wrote:

On Wed, 2007-01-03 at 21:15 -0500, Lee Jenkins wrote:

Kevin hayton wrote:

I have just installed UIB components and there are components on the palette.
Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB 
extracted to /usr/share/lazarus/components and installed the .lpk in /source.
Man, that is so odd.  I did essentially the same thing except all my 
stuff was installed in /usr/lib/lazarus/coponents.  Same thing with lpk.


Ergo: you've installed lazarus TWICE. You were installing in one of
them, but you started the other one.


No, I installed twice, but the second time only after uninstalling the 
first.  I don't have two separate installations.



(one in /usr/lib/lazarus, and one in /usr/lib/shared)



The only installation that I have is in /usr/lib/lazarus.  There is no 
/usr/lib/shared directory, et al or even as I think you mean, 
/usr/share/lazarus either.



Next question is: which distro do you use? If it's FC, you probably
installed the rpm provided by fedora, which installs
in /usr/lib/lazarus. But the rpm you can download on the lazarus website
installs to /usr/shared/lazarus



I am using CentOS4.4 and I installed the following from sourceforge:
fpc-2.0.40-i586.rpm
fpc-src-2.0.4-0.i386.rpm
lazarus-0.9.0.20-0.i386.rpm




And everything looked like it compiled fine too, at least no visible 
errors that I could see.


I still find it stranghe, though, that he can't find the firebird-
client-library. But I think you've installed something else wrongly..



Yes, very strange.  As I mentioned in another thread, I am pretty new to 
linux so I wasn't sure what the behavior of shared objects (dll's) would 
be.  It just made sense that the components would look first in the 
application directory, but is not finding them.   I even tried putting 
copies where I thought it might look for them such as /bin, /usr/bin, 
/usr/lib, etc. and still no love.


Thanks for replying!

--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins

Lee Jenkins wrote:




I have tried to almost two days straight, ignoring just about everything 
else in my business to get some kind of workable database access through 
Lazarus without any success.


This morning, I even tried installing from source and that seemed to go 
OK except for the fact that I still cannot install any non-default 
components into the IDE.


The IBConnection components don't recognize the .so libraries for 
firebird.  I cannot install UIB.


At this point I am all out of ideas and patience.

* Reinstall from rpm again?
* Rebuild source again?
* Install from source again?
* Try to reinstall components that will not install again?


--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins

Lee Jenkins wrote:

Lee Jenkins wrote:




I have tried to almost two days straight, ignoring just about everything 
else in my business to get some kind of workable database access through 
Lazarus without any success.


This morning, I even tried installing from source and that seemed to go 
OK except for the fact that I still cannot install any non-default 
components into the IDE.


The IBConnection components don't recognize the .so libraries for 
firebird.  I cannot install UIB.


At this point I am all out of ideas and patience.

* Reinstall from rpm again?
* Rebuild source again?
* Install from source again?
* Try to reinstall components that will not install again?



Oh, and I forgot, thanks to everyone for their time and patience ;)

I'm just a bit frustrated right now, lol.

--

Warm Regards,

Lee

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Joost van der Sluis
On Thu, 2007-01-04 at 09:09 -0500, Lee Jenkins wrote:
> Joost van der Sluis wrote:
> > On Wed, 2007-01-03 at 21:15 -0500, Lee Jenkins wrote:
> >> Kevin hayton wrote:
> >>> I have just installed UIB components and there are components on the 
> >>> palette.
> >>> Using MEPIS 6.0 and lazarus 0.9.20 beta. Just downloaded the latest UIB 
> >>> extracted to /usr/share/lazarus/components and installed the .lpk in 
> >>> /source.
> >> Man, that is so odd.  I did essentially the same thing except all my 
> >> stuff was installed in /usr/lib/lazarus/coponents.  Same thing with lpk.
> > 
> > Ergo: you've installed lazarus TWICE. You were installing in one of
> > them, but you started the other one.
> 
> No, I installed twice, but the second time only after uninstalling the 
> first.  I don't have two separate installations.
> 
> > (one in /usr/lib/lazarus, and one in /usr/lib/shared)
> > 
> 
> The only installation that I have is in /usr/lib/lazarus.  There is no 
> /usr/lib/shared directory, et al or even as I think you mean, 
> /usr/share/lazarus either.
> 
> > Next question is: which distro do you use? If it's FC, you probably
> > installed the rpm provided by fedora, which installs
> > in /usr/lib/lazarus. But the rpm you can download on the lazarus website
> > installs to /usr/shared/lazarus
> > 
> 
> I am using CentOS4.4 and I installed the following from sourceforge:
> fpc-2.0.40-i586.rpm
> fpc-src-2.0.4-0.i386.rpm
> lazarus-0.9.0.20-0.i386.rpm

Which is strange, since this rpm installs in /usr/local/share... Not lib


_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] SQLDB TIBConnection

2007-01-04 Thread Lee Jenkins

Lee Jenkins wrote:


After not getting the sqlite components to install or be usable from a 
lazarus project through reference to the units, I on to try the SQLDB 
ibconnection component now.





Just so that it will be archived, I wanted to post the resolution to the 
original issue I had and the reason for this post.  I was unable to 
using firebirdsql related components because they complained they they 
could not load the appropriate library (libfbclient.so).


Hopefully someone who is wondering why firebird related components 
cannot load the libfbclient.so library will find this.


The text of the post is listed below.  Installing compat-libstdc++-33 
fixed the problem on my CentOS 4 box.


--

Warm Regards,

Lee


> Installing from the rpm, no programs can run because they say that
> client libraries cannot be loaded. I poked around after reading over
> the release notes and I see the libraries there in /opt/firebird/lib
> with links to them in /usr/lib.
>
> I'm trying to connect from lazarus (latest builds) using uib and
even if
> I point the component directly to the libfbclient.so link in
/usr/lib, I
> get the same thing.
>
> I also tried running isql which threw an exception saying that
> "libstdc++.so.5 could be opened "No such file or directory".
>
> The installation with the rpm seemd to go fine, no errors or mention of
> missing dependencies, etc.
>
> I've worked with fb on windows quite a bit, but I'm just cutting my
> teeth on linux so any pointers would be appreciated.

I don't know which packages are required by CentOS, but this is a
common issue: you need a C++ library compatibility package.

compat-libstdc++-8 (Fedora Core 3)
compat-libstdc++-33 (Fedora Core 5; Red Hat Enterprise Linux 4)

This should fix it.

Steve


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives