Esteban,

sounds like you need to modify your PATH environment variable either globally or in a startup bash script for your Pharo image. The directory containing Postgres libs has to be in that PATH. And, the other Esteban also asks about 32 or 64 bits, because it is very likely you need to install a 32-bit driver if you are on a 64 Linux machine (and even some additional libraries, apt-get install ia32-libs, iirc), because Pharo doesn't support 64 bit libraries afaik.

HTH

Joachim

Am 12.12.13 03:53, schrieb Esteban A. Maringolo:
Hi there,

I'm moving my development server (Windows) into production (Ubuntu
12.04) and I'm facing some issues with, among other things, the
PostgreSQL driver.

I'm getting an:
"Error: External module not found"

My database login is as follows:

sampleLogin
^Login new
   database: (PostgreSQLPlatform new characterEncoding: 'utf8');
   username: 'user';
   password: 'secret';
   connectString: 'localhost_db';
   encodingStrategy: (DBXStaticEncoding newForEncoding: #utf8).

And then just a regular accessor for the previous login:

DatabaseAccessor forLogin: self sampleLogin.


How should I install the dependencies?

I have a libpq.dll in my windows environment, and I already installed
libpq5 drivers in the server (apt-get install libpq5)

What else should I do?

Regards,

Esteban A. Maringolo




--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          mailto:jtuc...@objektfabrik.de
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1


Reply via email to