libpq.so.5 cannot open shared object file.

Daniel Richardson <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
I'm having a bit of a time connecting to postgres.  Can someone help?

This compiles/runs just fine using this 
4glpc -o go go.4gl


main

display 'go............' at 10,10
end main

However, using the same command on the same .4gl only with a database statement added

database ijk
main
display 'go............' at 10,10
end main

Produces the following message:
Error: can't open DLL /home/aubit/aubitDir/plugins-1.2_28/libSQL_pg8.so - STOP
Error msg: libpq.so.5: cannot open shared object file: No such file or directory
Cannot open DLL
Error compiling go.4gl
Exit program..         44

The following is from .bash_profile
export PG=/opt/PostgreSQL/9.2
export PGDATA=/opt/ixex/devl/data
export AUBITDIR=/home/aubit/aubitDir
export A4GL_SQLTYPE=pg8
export A4GL_LEXTYPE=C
export PGDATABASE=postgres
export PGPORT=5432
export PGLOCALEDIR=${PG}/share/locale
export MANPATH=$MANPATH:${PG}/share/man
export PATH=.:$PATH:${PG}/bin:${AUBITDIR}/bin
export LD_LIBRARY_PATH=${AUBITDIR}/lib

I probably do not need PGLOCALDIR

Can someone clue me in on what I might be missing?

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.