Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-13 Thread Esteban A. Maringolo
2013/12/13 Pierce Ng : > On Thu, Dec 12, 2013 at 12:53:51AM -0200, Esteban A. Maringolo wrote: > I recommended SpsSplitPasswordStore: > > http://samadhiweb.com/blog/2013.08.11.splitpasswordstore.html Thank for your suggestion. Even when it's security through obscurity I like the approach. Ho

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Pierce Ng
On Thu, Dec 12, 2013 at 12:53:51AM -0200, Esteban A. Maringolo wrote: > sampleLogin > ^Login new > database: (PostgreSQLPlatform new characterEncoding: 'utf8'); > username: 'user'; > password: 'secret'; I recommended SpsSplitPasswordStore: http://samadhiweb.com/blog/2013.08.11.splitpa

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread p...@highoctane.be
I loaded that one a while ago. Works. --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:p...@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Sven Van Caekenberghe
On 12 Dec 2013, at 16:24, Esteban A. Maringolo wrote: > 2013/12/12 Sven Van Caekenberghe : >> The class NativePostgresDriver is in a package called GlorpDriverPostgreSQL. >> It seems to have come from >> MCSqueaksourceRepository >>location: 'http://squeaksource.com/PostgresV2' >>

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Esteban A. Maringolo
2013/12/12 Sven Van Caekenberghe : > The class NativePostgresDriver is in a package called GlorpDriverPostgreSQL. > It seems to have come from > MCSqueaksourceRepository > location: 'http://squeaksource.com/PostgresV2' > user: '' > password: ‘' SqueakSource... how quaint! ;

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Sven Van Caekenberghe
On 12 Dec 2013, at 14:20, Esteban A. Maringolo wrote: > 2013/12/12 Sven Van Caekenberghe : >> Hi Esteban, >> >> It’s a mess ;-) > > Don't get me started... ;-) > > >> PharoDatabaseAccessor DefaultDriver is NativePostgresDriver. > > Not in my installation. > > I'm using this to install my G

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Esteban A. Maringolo
2013/12/12 Sven Van Caekenberghe : > Hi Esteban, > > It’s a mess ;-) Don't get me started... ;-) > PharoDatabaseAccessor DefaultDriver is NativePostgresDriver. Not in my installation. I'm using this to install my Glorp+Postgres combo: Gofer it squeaksource: 'MetacelloRepository'; pack

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Esteban A. Maringolo
I think what problem I have... it's a big mess. :) I thought I was using native (Smalltalk) Postgres driver, but in fact I was using the OpenDBX driver, which in turns depends on the native C Postgres library (libqp.dll in Windows). So now my dependency is not with libpq.so directy, but with Open

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Sven Van Caekenberghe
Hi Esteban, It’s a mess ;-) This is what I do (but the code is at least a year old, if not 2 - on the other hand, this stuff hardly changes): T3DatabaseStorageAccessor>>#session ^ session ifNil: [ session := T3StorageDatabaseResource createSession. sessio

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Esteban A. Maringolo
2013/12/12 Sven Van Caekenberghe : > Maybe a stupid question, but why not use the PostgresV2 ‘native’ driver. This > one is network based, it needs no (annoying) libraries, just a socket > connection ? > > And it works perfectly with Glorp. I thought I was using it, in fact I load as one of my p

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Sven Van Caekenberghe
Maybe a stupid question, but why not use the PostgresV2 ‘native’ driver. This one is network based, it needs no (annoying) libraries, just a socket connection ? And it works perfectly with Glorp. Sven On 12 Dec 2013, at 13:29, Esteban A. Maringolo wrote: > Hi all, it is a 32bit Ubuntu 12.04

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Esteban A. Maringolo
Hi all, it is a 32bit Ubuntu 12.04 hosted in Digital Ocean. The image starts, but once I access something that needs to open a GlorpSession I get that exception. I added a symlink from libpq.so to libpq.so.5.4, the other symlink was already there. $ ls -l /usr/lib/libpq* lrwxrwxrwx 1 root root

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread Guillermo Polito
Esteban, are you using dbxtalk? Either you use it or not, the VM will only find the external libraries if they are in a well known path (that is, for example /usr/lib/). If your libraries are in a different place, such as /usr/lib/i386blabla/ the VM library searching mechanism will not find it. N

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-12 Thread jtuc...@objektfabrik.de
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 in

Re: [Pharo-users] Glorp PostgreSQL Drivers in Ubuntu 12.04

2013-12-11 Thread Esteban Lorenzano
32 or 64 bits? On Thu, Dec 12, 2013 at 3:53 AM, Esteban A. Maringolo wrote: > 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