Обсуждение: Problem installing pgadmin3-1.12.1

Поиск
Список
Период
Сортировка

Problem installing pgadmin3-1.12.1

От
Peter Oram
Дата:
  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


Re: Problem installing pgadmin3-1.12.1

От
Ashesh Vashi
Дата:
Hi Peter,<br /><br />Please use the script 'xtra/wx-build/build-wxgtk' found under pgadmin source directory to build
thewxGTK/wxWidgets.<br />i.e. (with root)<br />/bin/bash <pgAdmin_source_path>/xtra/wx-build/build-wxgtk
<wxGTK_source_dir><br/><br />The error suggests that stc (wxStyledText) is not installed from the contrib module
ofwxGTK.<br /><br /><div id="WISESTAMP_SIG_2151"><span style="font-size: 13.3px; font-family:
Verdana,Arial,Helvetica,sans-serif;"><divstyle="border-top: 1px solid rgb(229, 229, 229); padding-top: 0.8em;"><div
style="margin:0pt 0pt 8px;"><p style="margin: 0pt;"><span style="font-size: x-small;"><span style="font-family: courier
new,monospace;">--</span><spanstyle="font-style: italic; font-family: courier new,monospace;"><br /><span
style="font-size:small;">Thanks & Regards,</span></span><br style="font-style: italic; font-family: courier
new,monospace;"/><br style="font-style: italic; font-family: courier new,monospace;" /><span style="font-style: italic;
font-family:courier new,monospace; font-size: small;">Ashesh Vashi</span><br style="font-style: italic; font-family:
couriernew,monospace;" /><span style="font-style: italic; font-family: courier new,monospace; font-size:
small;">EnterpriseDBINDIA: </span></span><a href="http://www.enterprisedb.com">Enterprise Postgres Company</a><p
style="margin:0pt;"> <p style="margin: 0pt;"><a href="http://www.linkedin.com/in/asheshvashi" target="_blank"><span
style="font-family:courier new,courier; font-size:
small;"><em>http://www.linkedin.com/in/asheshvashi</em></span></a></div></div><imgheight="1"
src="http://s.wisestamp.com/pixel.png?p=mozilla&v=2.0.4&t=1292563812511&u=1085722&e=4764"width="1"
/></span></div><br/><br /><div class="gmail_quote">On Fri, Dec 17, 2010 at 9:37 AM, Peter Oram <span dir="ltr"><<a
href="mailto:peter.oram@dodo.com.au">peter.oram@dodo.com.au</a>></span>wrote:<br /><blockquote class="gmail_quote"
style="margin:0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> I am attempting to
installpgAdmin3 version 1.12.1 on an Oracle Solaris 11 Express 2010.11 system.<br /><br /> I have the recommended
versionof GTK2, GNU automake, autoconf and gcc installed as part of my development environment.<br /><br /> I have
updatedthe wxGTK package to 2.8.11, and also have above the recommended versions of libxml2, libcslt.<br /><br /> I
havealso installed PostgreSQL 9.0.1 on my system. All the above installed without errors, either as an installed
packageof the OS or from source, such as wxGTK and PostgreSQL.<br /><br /> pgAdmin3 installed without errors, but when
Itry to run the application, I get the following error:<br /><br />    ld.so.1: pgadmin3: fatal: relocation error: file
/usr/local/pgadmin3/bin/pgadmin3:symbol _ZTI16wxStyledTextCtrl: referenced symbol not found<br /><br /> Note:
PostgreSQLwas installed using the "--with-openssl" configure option.<br /> wxGTK was installed with the "--with-gtk
--enable-gtk2--enable-unicode --enable-mimetype=no --enable-shared --enable-debug --disable-gtktest" configure
options.<br/> 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<br
/><fontcolor="#888888"><br /> -- <br /> Sent via pgadmin-support mailing list (<a
href="mailto:pgadmin-support@postgresql.org"target="_blank">pgadmin-support@postgresql.org</a>)<br /> To make changes
toyour subscription:<br /><a href="http://www.postgresql.org/mailpref/pgadmin-support"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-support</a><br/></font></blockquote></div><br /> 

Re: Problem installing pgadmin3-1.12.1

От
Peter Oram
Дата:
I have successfully rebuilt wxWidgets using the build-wxgtk script, then rebuilt pgAdmin3. However, once again when I
tryto run the pgAdmin3 application I am still getting the same relocation error as before.<br /><br /> Now I have two
versionsof wxWidgets installed on the system. The original version that was installed as part of the OS - version
2.8.10which 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). <br /><br /> Configure as part of pgadmin3 install process found the
newerversion.<br /><br /> Peter Oram<br /><br /> On 12/17/10 04:34 PM, Ashesh Vashi wrote: <blockquote
cite="mid:AANLkTikQVA096Oab1w89ucLmEXJWcagZUGpwKygd3Lfg@mail.gmail.com"type="cite">Hi Peter,<br /><br /> Please use the
script'xtra/wx-build/build-wxgtk' found under pgadmin source directory to build the wxGTK/wxWidgets.<br /> i.e. (with
root)<br/> /bin/bash <pgAdmin_source_path>/xtra/wx-build/build-wxgtk <wxGTK_source_dir><br /><br /> The
errorsuggests that stc (wxStyledText) is not installed from the contrib module of wxGTK.<br /><br /><div
id="WISESTAMP_SIG_2151"><spanstyle="font-size: 13.3px;         font-family: Verdana,Arial,Helvetica,sans-serif;"><div
style="border-top:1px solid rgb(229, 229, 229);           padding-top: 0.8em;"><div style="margin: 0pt 0pt 8px;"><p
style="margin:0pt;"><span style="font-size: x-small;"><span style="font-family: courier new,monospace;">--</span><span
style="font-style:italic; font-family: courier                   new,monospace;"><br /><span style="font-size:
small;">Thanks& Regards,</span></span><br style="font-style:                   italic; font-family: courier
new,monospace;"/><br style="font-style: italic; font-family: courier                   new,monospace;" /><span
style="font-style:italic; font-family: courier                   new,monospace; font-size: small;">Ashesh
Vashi</span><brstyle="font-style: italic; font-family: courier                   new,monospace;" /><span
style="font-style:italic; font-family: courier                   new,monospace; font-size: small;">EnterpriseDB INDIA:
</span></span><ahref="http://www.enterprisedb.com" moz-do-not-send="true">Enterprise Postgres Company</a><p
style="margin:0pt;"> <p style="margin: 0pt;"><a href="http://www.linkedin.com/in/asheshvashi" moz-do-not-send="true"
target="_blank"><spanstyle="font-family: courier                   new,courier; font-size:
small;"><em>http://www.linkedin.com/in/asheshvashi</em></span></a></div></div><imgheight="1" moz-do-not-send="true"
src="http://s.wisestamp.com/pixel.png?p=mozilla&v=2.0.4&t=1292563812511&u=1085722&e=4764"width="1"
/></span></div><br/><br /><div class="gmail_quote">On Fri, Dec 17, 2010 at 9:37 AM, Peter Oram <span dir="ltr"><<a
href="mailto:peter.oram@dodo.com.au"moz-do-not-send="true">peter.oram@dodo.com.au</a>></span> wrote:<br
/><blockquoteclass="gmail_quote" style="margin: 0pt 0pt 0pt         0.8ex; border-left: 1px solid rgb(204, 204, 204);
     padding-left: 1ex;"> I am attempting to install pgAdmin3 version 1.12.1 on an Oracle Solaris 11 Express 2010.11
system.<br/><br /> I have the recommended version of GTK2, GNU automake, autoconf and gcc installed as part of my
developmentenvironment.<br /><br /> I have updated the wxGTK package to 2.8.11, and also have above the recommended
versionsof libxml2, libcslt.<br /><br /> I have also installed PostgreSQL 9.0.1 on my system. All the above installed
withouterrors, either as an installed package of the OS or from source, such as wxGTK and PostgreSQL.<br /><br />
pgAdmin3installed without errors, but when I try to run the application, I get the following error:<br /><br />  
 ld.so.1:pgadmin3: fatal: relocation error: file /usr/local/pgadmin3/bin/pgadmin3: symbol _ZTI16wxStyledTextCtrl:
referencedsymbol not found<br /><br /> Note: PostgreSQL was installed using the "--with-openssl" configure option.<br
/>wxGTK was installed with the "--with-gtk --enable-gtk2 --enable-unicode --enable-mimetype=no --enable-shared
--enable-debug--disable-gtktest" configure options.<br /> 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<br
/><fontcolor="#888888"><br /> -- <br /> Sent via pgadmin-support mailing list (<a
href="mailto:pgadmin-support@postgresql.org"moz-do-not-send="true"
target="_blank">pgadmin-support@postgresql.org</a>)<br/> To make changes to your subscription:<br /><a
href="http://www.postgresql.org/mailpref/pgadmin-support"moz-do-not-send="true"
target="_blank">http://www.postgresql.org/mailpref/pgadmin-support</a><br/></font></blockquote></div><br
/></blockquote>

Re: Problem installing pgadmin3-1.12.1

От
Ashesh Vashi
Дата:
What is the output of 'ldd pgadmin3'?

--
Thanks & Regards,


Ashesh Vashi
EnterpriseDB INDIA:
Enterprise Postgres Company

 

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



On Mon, Dec 20, 2010 at 5:25 AM, Peter Oram <peter.oram@dodo.com.au> wrote:
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.linkedin.com/in/asheshvashi



On Fri, Dec 17, 2010 at 9:37 AM, Peter Oram <peter.oram@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)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support


Re: Problem installing pgadmin3-1.12.1

От
Peter Oram
Дата:
# ldd /usr/local/pgadmin3/bin/pgadmin3
    libssl.so.0.9.8 =>     /usr/lib/libssl.so.0.9.8
    libkrb5.so.1 =>     /usr/lib/libkrb5.so.1
    libnsl.so.1 =>     /usr/lib/libnsl.so.1
    libwx_gtk2u_stc-2.8.so.0 =>     /usr/lib/libwx_gtk2u_stc-2.8.so.0
    libwx_gtk2u_ogl-2.8.so.0 =>     /usr/lib/libwx_gtk2u_ogl-2.8.so.0
    libwx_gtk2u_richtext-2.8.so.0 =>     /usr/lib/libwx_gtk2u_richtext-2.8.so.0
    libwx_gtk2u_aui-2.8.so.0 =>     /usr/lib/libwx_gtk2u_aui-2.8.so.0
    libwx_gtk2u_xrc-2.8.so.0 =>     /usr/lib/libwx_gtk2u_xrc-2.8.so.0
    libwx_gtk2u_qa-2.8.so.0 =>     /usr/lib/libwx_gtk2u_qa-2.8.so.0
    libwx_gtk2u_html-2.8.so.0 =>     /usr/lib/libwx_gtk2u_html-2.8.so.0
    libwx_gtk2u_adv-2.8.so.0 =>     /usr/lib/libwx_gtk2u_adv-2.8.so.0
    libwx_gtk2u_core-2.8.so.0 =>     /usr/lib/libwx_gtk2u_core-2.8.so.0
    libwx_baseu_xml-2.8.so.0 =>     /usr/lib/libwx_baseu_xml-2.8.so.0
    libwx_baseu_net-2.8.so.0 =>     /usr/lib/libwx_baseu_net-2.8.so.0
    libwx_baseu-2.8.so.0 =>     /usr/lib/libwx_baseu-2.8.so.0
    libxml2.so.2 =>     /usr/lib/libxml2.so.2
    libz.so.1 =>     /usr/lib/libz.so.1
    libpthread.so.1 =>     /usr/lib/libpthread.so.1
    libsocket.so.1 =>     /usr/lib/libsocket.so.1
    libxslt.so.1 =>     /usr/lib/libxslt.so.1
    libm.so.2 =>     /usr/lib/libm.so.2
    libpq.so.5 =>     /usr/local/pgsql/lib/libpq.so.5
    libstdc++.so.6 =>     /usr/sfw/lib/libstdc++.so.6
    libgcc_s.so.1 =>     /usr/sfw/lib/libgcc_s.so.1
    libc.so.1 =>     /usr/lib/libc.so.1
    libcrypto.so.0.9.8 =>     /lib/libcrypto.so.0.9.8
    libmp.so.2 =>     /lib/libmp.so.2
    libmd.so.1 =>     /lib/libmd.so.1
    libCstd.so.1 =>     /usr/lib/libCstd.so.1
    libgtk-x11-2.0.so.0 =>     /usr/lib/libgtk-x11-2.0.so.0
    libsecdb.so.1 =>     /usr/lib/libsecdb.so.1
    libtsol.so.2 =>     /usr/lib/libtsol.so.2
    libgdk-x11-2.0.so.0 =>     /usr/lib/libgdk-x11-2.0.so.0
    libatk-1.0.so.0 =>     /usr/lib/libatk-1.0.so.0
    libpangoft2-1.0.so.0 =>     /usr/lib/libpangoft2-1.0.so.0
    libgdk_pixbuf-2.0.so.0 =>     /usr/lib/libgdk_pixbuf-2.0.so.0
    libXext.so.0 =>     /usr/lib/libXext.so.0
    libXrender.so.1 =>     /usr/lib/libXrender.so.1
    libXinerama.so.1 =>     /usr/lib/libXinerama.so.1
    libXi.so.5 =>     /usr/lib/libXi.so.5
    libXrandr.so.2 =>     /usr/lib/libXrandr.so.2
    libXcursor.so.1 =>     /usr/lib/libXcursor.so.1
    libXcomposite.so.1 =>     /usr/lib/libXcomposite.so.1
    libXdamage.so.1 =>     /usr/lib/libXdamage.so.1
    libgio-2.0.so.0 =>     /usr/lib/libgio-2.0.so.0
    libXfixes.so.1 =>     /usr/lib/libXfixes.so.1
    libX11.so.4 =>     /usr/lib/libX11.so.4
    libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
    libfreetype.so.6 =>     /usr/lib/libfreetype.so.6
    libfontconfig.so.1 =>     /usr/lib/libfontconfig.so.1
    libgobject-2.0.so.0 =>     /usr/lib/libgobject-2.0.so.0
    libgmodule-2.0.so.0 =>     /usr/lib/libgmodule-2.0.so.0
    libgthread-2.0.so.0 =>     /usr/lib/libgthread-2.0.so.0
    libthread.so.1 =>     /usr/lib/libthread.so.1
    libglib-2.0.so.0 =>     /usr/lib/libglib-2.0.so.0
    libXxf86vm.so.1 =>     /usr/lib/libXxf86vm.so.1
    libSM.so.6 =>     /usr/lib/libSM.so.6
    libjpeg.so.62 =>     /usr/lib/libjpeg.so.62
    libtiff.so.3 =>     /usr/lib/libtiff.so.3
    libSDL-1.2.so.0 =>     /usr/lib/libSDL-1.2.so.0
    libexpat.so.1 =>     /usr/lib/libexpat.so.1
    libCrun.so.1 =>     /usr/lib/libCrun.so.1
    libpangocairo-1.0.so.0 =>     /usr/lib/libpangocairo-1.0.so.0
    libcairo.so.2 =>     /usr/lib/libcairo.so.2
    libresolv.so.2 =>     /lib/libresolv.so.2
    libXau.so.6 =>     /usr/lib/libXau.so.6
    libXdmcp.so.6 =>     /usr/lib/libXdmcp.so.6
    libICE.so.6 =>     /usr/lib/libICE.so.6
    libesd.so.0 =>     /usr/lib/libesd.so.0
    librt.so.1 =>     /lib/librt.so.1
    libpixman-1.so.0 =>     /usr/lib/libpixman-1.so.0
    libpng12.so.0 =>     /usr/lib/libpng12.so.0
    libaudiofile.so.0 =>     /usr/lib/libaudiofile.so.0
    mech_krb5.so.1 =>     /usr/lib/gss/mech_krb5.so.1
    libgss.so.1 =>     /usr/lib/libgss.so.1
    libpkcs11.so.1 =>     /usr/lib/libpkcs11.so.1
    libkstat.so.1 =>     /lib/libkstat.so.1
    libcryptoutil.so.1 =>     /lib/libcryptoutil.so.1
    libscf.so.1 =>     /lib/libscf.so.1
    libuutil.so.1 =>     /lib/libuutil.so.1
    libgen.so.1 =>     /lib/libgen.so.1
    libnvpair.so.1 =>     /lib/libnvpair.so.1
    libsmbios.so.1 =>     /usr/lib/libsmbios.so.1
    libXevie.so.1 =>     /usr/lib/libXevie.so.1
    libXss.so.1 =>     /usr/lib/libXss.so.1


On 12/20/10 05:08 PM, Ashesh Vashi wrote:
What is the output of 'ldd pgadmin3'?

--
Thanks & Regards,


Ashesh Vashi
EnterpriseDB INDIA:
Enterprise Postgres Company

 

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



On Mon, Dec 20, 2010 at 5:25 AM, Peter Oram <peter.oram@dodo.com.au> wrote:
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.linkedin.com/in/asheshvashi



On Fri, Dec 17, 2010 at 9:37 AM, Peter Oram <peter.oram@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)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support


Re: Problem installing pgadmin3-1.12.1

От
Ashesh Vashi
Дата:
Hi Peter,

It seems, it's trying to load wxWidgets library from the '/usr/lib'.
You need to export the LD_LIBRARY_PATH as show below, before running the pgadmin3.
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
./pgadmin3


--
Thanks & Regards,


Ashesh Vashi
EnterpriseDB INDIA:
Enterprise Postgres Company

 

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



On Mon, Dec 20, 2010 at 11:57 AM, Peter Oram <peter.oram@dodo.com.au> wrote:
# ldd /usr/local/pgadmin3/bin/pgadmin3
    libssl.so.0.9.8 =>     /usr/lib/libssl.so.0.9.8
    libkrb5.so.1 =>     /usr/lib/libkrb5.so.1
    libnsl.so.1 =>     /usr/lib/libnsl.so.1
    libwx_gtk2u_stc-2.8.so.0 =>     /usr/lib/libwx_gtk2u_stc-2.8.so.0
    libwx_gtk2u_ogl-2.8.so.0 =>     /usr/lib/libwx_gtk2u_ogl-2.8.so.0
    libwx_gtk2u_richtext-2.8.so.0 =>     /usr/lib/libwx_gtk2u_richtext-2.8.so.0
    libwx_gtk2u_aui-2.8.so.0 =>     /usr/lib/libwx_gtk2u_aui-2.8.so.0
    libwx_gtk2u_xrc-2.8.so.0 =>     /usr/lib/libwx_gtk2u_xrc-2.8.so.0
    libwx_gtk2u_qa-2.8.so.0 =>     /usr/lib/libwx_gtk2u_qa-2.8.so.0
    libwx_gtk2u_html-2.8.so.0 =>     /usr/lib/libwx_gtk2u_html-2.8.so.0
    libwx_gtk2u_adv-2.8.so.0 =>     /usr/lib/libwx_gtk2u_adv-2.8.so.0
    libwx_gtk2u_core-2.8.so.0 =>     /usr/lib/libwx_gtk2u_core-2.8.so.0
    libwx_baseu_xml-2.8.so.0 =>     /usr/lib/libwx_baseu_xml-2.8.so.0
    libwx_baseu_net-2.8.so.0 =>     /usr/lib/libwx_baseu_net-2.8.so.0
    libwx_baseu-2.8.so.0 =>     /usr/lib/libwx_baseu-2.8.so.0
    libxml2.so.2 =>     /usr/lib/libxml2.so.2
    libz.so.1 =>     /usr/lib/libz.so.1
    libpthread.so.1 =>     /usr/lib/libpthread.so.1
    libsocket.so.1 =>     /usr/lib/libsocket.so.1
    libxslt.so.1 =>     /usr/lib/libxslt.so.1
    libm.so.2 =>     /usr/lib/libm.so.2
    libpq.so.5 =>     /usr/local/pgsql/lib/libpq.so.5
    libstdc++.so.6 =>     /usr/sfw/lib/libstdc++.so.6
    libgcc_s.so.1 =>     /usr/sfw/lib/libgcc_s.so.1
    libc.so.1 =>     /usr/lib/libc.so.1
    libcrypto.so.0.9.8 =>     /lib/libcrypto.so.0.9.8
    libmp.so.2 =>     /lib/libmp.so.2
    libmd.so.1 =>     /lib/libmd.so.1
    libCstd.so.1 =>     /usr/lib/libCstd.so.1
    libgtk-x11-2.0.so.0 =>     /usr/lib/libgtk-x11-2.0.so.0
    libsecdb.so.1 =>     /usr/lib/libsecdb.so.1
    libtsol.so.2 =>     /usr/lib/libtsol.so.2
    libgdk-x11-2.0.so.0 =>     /usr/lib/libgdk-x11-2.0.so.0
    libatk-1.0.so.0 =>     /usr/lib/libatk-1.0.so.0
    libpangoft2-1.0.so.0 =>     /usr/lib/libpangoft2-1.0.so.0
    libgdk_pixbuf-2.0.so.0 =>     /usr/lib/libgdk_pixbuf-2.0.so.0
    libXext.so.0 =>     /usr/lib/libXext.so.0
    libXrender.so.1 =>     /usr/lib/libXrender.so.1
    libXinerama.so.1 =>     /usr/lib/libXinerama.so.1
    libXi.so.5 =>     /usr/lib/libXi.so.5
    libXrandr.so.2 =>     /usr/lib/libXrandr.so.2
    libXcursor.so.1 =>     /usr/lib/libXcursor.so.1
    libXcomposite.so.1 =>     /usr/lib/libXcomposite.so.1
    libXdamage.so.1 =>     /usr/lib/libXdamage.so.1
    libgio-2.0.so.0 =>     /usr/lib/libgio-2.0.so.0
    libXfixes.so.1 =>     /usr/lib/libXfixes.so.1
    libX11.so.4 =>     /usr/lib/libX11.so.4
    libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
    libfreetype.so.6 =>     /usr/lib/libfreetype.so.6
    libfontconfig.so.1 =>     /usr/lib/libfontconfig.so.1
    libgobject-2.0.so.0 =>     /usr/lib/libgobject-2.0.so.0
    libgmodule-2.0.so.0 =>     /usr/lib/libgmodule-2.0.so.0
    libgthread-2.0.so.0 =>     /usr/lib/libgthread-2.0.so.0
    libthread.so.1 =>     /usr/lib/libthread.so.1
    libglib-2.0.so.0 =>     /usr/lib/libglib-2.0.so.0
    libXxf86vm.so.1 =>     /usr/lib/libXxf86vm.so.1
    libSM.so.6 =>     /usr/lib/libSM.so.6
    libjpeg.so.62 =>     /usr/lib/libjpeg.so.62
    libtiff.so.3 =>     /usr/lib/libtiff.so.3
    libSDL-1.2.so.0 =>     /usr/lib/libSDL-1.2.so.0
    libexpat.so.1 =>     /usr/lib/libexpat.so.1
    libCrun.so.1 =>     /usr/lib/libCrun.so.1
    libpangocairo-1.0.so.0 =>     /usr/lib/libpangocairo-1.0.so.0
    libcairo.so.2 =>     /usr/lib/libcairo.so.2
    libresolv.so.2 =>     /lib/libresolv.so.2
    libXau.so.6 =>     /usr/lib/libXau.so.6
    libXdmcp.so.6 =>     /usr/lib/libXdmcp.so.6
    libICE.so.6 =>     /usr/lib/libICE.so.6
    libesd.so.0 =>     /usr/lib/libesd.so.0
    librt.so.1 =>     /lib/librt.so.1
    libpixman-1.so.0 =>     /usr/lib/libpixman-1.so.0
    libpng12.so.0 =>     /usr/lib/libpng12.so.0
    libaudiofile.so.0 =>     /usr/lib/libaudiofile.so.0
    mech_krb5.so.1 =>     /usr/lib/gss/mech_krb5.so.1
    libgss.so.1 =>     /usr/lib/libgss.so.1
    libpkcs11.so.1 =>     /usr/lib/libpkcs11.so.1
    libkstat.so.1 =>     /lib/libkstat.so.1
    libcryptoutil.so.1 =>     /lib/libcryptoutil.so.1
    libscf.so.1 =>     /lib/libscf.so.1
    libuutil.so.1 =>     /lib/libuutil.so.1
    libgen.so.1 =>     /lib/libgen.so.1
    libnvpair.so.1 =>     /lib/libnvpair.so.1
    libsmbios.so.1 =>     /usr/lib/libsmbios.so.1
    libXevie.so.1 =>     /usr/lib/libXevie.so.1
    libXss.so.1 =>     /usr/lib/libXss.so.1



On 12/20/10 05:08 PM, Ashesh Vashi wrote:
What is the output of 'ldd pgadmin3'?

--
Thanks & Regards,


Ashesh Vashi
EnterpriseDB INDIA:
Enterprise Postgres Company

 

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



On Mon, Dec 20, 2010 at 5:25 AM, Peter Oram <peter.oram@dodo.com.au> wrote:
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.linkedin.com/in/asheshvashi



On Fri, Dec 17, 2010 at 9:37 AM, Peter Oram <peter.oram@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)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support