Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command

Re: [Lazarus] Cannot load libpq.so

2012-09-26 Thread Leonardo M . Ramé
On 2012-09-26 11:52:49 -0300, Leonardo M. Ramé wrote: On 2012-09-26 07:42:29 +0200, zeljko wrote: On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know

[Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look there, but still, when I run a simple testing app written with lazarus I'm getting this: EInOutError : Can not

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread zeljko
On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look there, but still, when I run a simple testing

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:07:28 +0200, zeljko wrote: On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Bernd
2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look there, but still, when I run a simple testing app written with

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:28:28 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look there, but

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Bernd
2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear there if installed correctly -- ___ Lazarus mailing list

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear there if installed correctly -- Here's the result of

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Bernd
2012/9/25 Bernd prof7...@gmail.com: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear there if installed correctly It also might be installed as something

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Bernd
2012/9/25 Leonardo M. Ramé l.r...@griensu.com: libpq.so (libc6) = /usr/local/pgsql/lib/libpq.so It seems to be installed correctly. maybe libpq.so itself has some dependency problems and will refuse to load (but I am not sure how the error message would look like in this case, so this is only

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:47:57 +0200, Bernd wrote: 2012/9/25 Bernd prof7...@gmail.com: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library should appear there if

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Mark Morgan Lloyd
zeljko wrote: On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look there, but still, when I run a

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 20:52:49 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: libpq.so (libc6) = /usr/local/pgsql/lib/libpq.so It seems to be installed correctly. maybe libpq.so itself has some dependency problems and will refuse to load (but I am not sure how the error

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Leonardo M . Ramé
On 2012-09-25 18:54:11 +, Mark Morgan Lloyd wrote: zeljko wrote: On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: Hi, I've installed PostgreSql from sources on a Linux machine, it's installed on /usr/local/pgsql. It's libraries are in /usr/local/pgsql/lib, and I updated my

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread Bernd
2012/9/25 Mark Morgan Lloyd markmll.laza...@telemetry.co.uk: As I understand it, there's an optional parameter on the library initialisation call to specify the exact library name, and there was recent discussion about how best to expose this to programmers via the LCL. Libraries should

Re: [Lazarus] Cannot load libpq.so

2012-09-25 Thread zeljko
On Tuesday 25 of September 2012 20:42:18 Leonardo M. Ramé wrote: On 2012-09-25 20:35:43 +0200, Bernd wrote: 2012/9/25 Leonardo M. Ramé l.r...@griensu.com: Do you know a way to know where's the loader looking for libraries?, from command line. ldconfig --print-cache Your library