Thread: shared library not loaded

shared library not loaded

From
Umur YILMAZ
Date:
Hi All,

I compiled pgAdmin following the directives in 
http://www.pgadmin.org/download.php page. No luck in running pgadmin. I 
get this error.

./pgadmin3: error while loading shared libraries: 
libwx_gtk2u_xrc-2.6.so.0: cannot open shared object file: No such file 
or directory

I installed wxWidgets (too) as explained on the very same page. I can 
see those library files appear in /usr/local/lib folder. Why pgadmin can 
not load that file i have no idea. Any ideas?

I use RHEL 4.


Re: shared library not loaded

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Umur YILMAZ
> Sent: 24 November 2005 07:30
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] shared library not loaded
>
> Hi All,
>
> I compiled pgAdmin following the directives in
> http://www.pgadmin.org/download.php page. No luck in running
> pgadmin. I
> get this error.
>
> ./pgadmin3: error while loading shared libraries:
> libwx_gtk2u_xrc-2.6.so.0: cannot open shared object file: No
> such file
> or directory
>
> I installed wxWidgets (too) as explained on the very same page. I can
> see those library files appear in /usr/local/lib folder. Why
> pgadmin can
> not load that file i have no idea. Any ideas?
>
> I use RHEL 4.

Hi,

Make sure /usr/local/lib is listed in /etc/ld.so.conf and then run
ldconfig. That should sort things out.

Regards, Dave.