I have successfully rebuilt wxWidgets using the build-wxgtk script, then rebuilt pgAdmin3. However, once again when I try to run the pgAdmin3 application I am still getting the same relocation error as before.

Now I have two versions of wxWidgets installed on the system. The original version that was installed as part of the OS - version 2.8.10 which was installed to /usr/include/wx-2.8 and now the latest version which has been installed in /usr/local/include/wx-2.8 (this is version 2.8.11).

Configure as part of pgadmin3 install process found the newer version.

Peter Oram

On 12/17/10 04:34 PM, Ashesh Vashi wrote:
Hi Peter,

Please use the script 'xtra/wx-build/build-wxgtk' found under pgadmin source directory to build the wxGTK/wxWidgets.
i.e. (with root)
/bin/bash <pgAdmin_source_path>/xtra/wx-build/build-wxgtk <wxGTK_source_dir>

The error suggests that stc (wxStyledText) is not installed from the contrib module of wxGTK.

--
Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise Postgres Company <http://www.enterprisedb.com>

/http://www.linkedin.com/in/asheshvashi/



On Fri, Dec 17, 2010 at 9:37 AM, Peter Oram <peter.o...@dodo.com.au <mailto:peter.o...@dodo.com.au>> wrote:

     I am attempting to install pgAdmin3 version 1.12.1 on an Oracle
    Solaris 11 Express 2010.11 system.

    I have the recommended version of GTK2, GNU automake, autoconf and
    gcc installed as part of my development environment.

    I have updated the wxGTK package to 2.8.11, and also have above
    the recommended versions of libxml2, libcslt.

    I have also installed PostgreSQL 9.0.1 on my system. All the above
    installed without errors, either as an installed package of the OS
    or from source, such as wxGTK and PostgreSQL.

    pgAdmin3 installed without errors, but when I try to run the
    application, I get the following error:

       ld.so.1: pgadmin3: fatal: relocation error: file
    /usr/local/pgadmin3/bin/pgadmin3: symbol _ZTI16wxStyledTextCtrl:
    referenced symbol not found

    Note: PostgreSQL was installed using the "--with-openssl"
    configure option.
    wxGTK was installed with the "--with-gtk --enable-gtk2
    --enable-unicode --enable-mimetype=no --enable-shared
    --enable-debug --disable-gtktest" configure options.
    The current default library path is set to:
    
/lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/usr/local/pgsql/lib:/usr/ccs/lib:/usr/dt/lib:/usr/gnu/lib/usr/X11/lib

-- Sent via pgadmin-support mailing list
    (pgadmin-support@postgresql.org
    <mailto:pgadmin-support@postgresql.org>)
    To make changes to your subscription:
    http://www.postgresql.org/mailpref/pgadmin-support


Reply via email to