RE: install_driver(Pg) failed: Can"t load Pg.so
RE: install_driver(Pg) failed: Can"t load Pg.so
am 11.05.2006 20:56:01 von Philip.Garrett
-----Original Message-----
From: louis gonzales [mailto:gonzales@linuxlouis.net]=20
Sent: Thursday, May 11, 2006 2:52 PM
To: Garrett, Philip (MAN-Corporate)
Cc: dbi-users@perl.org
Subject: Re: install_driver(Pg) failed: Can't load Pg.so
> Garrett, Philip (MAN-Corporate) wrote:
>=20
> >From: louis gonzales [mailto:gonzales@linuxlouis.net]
> >
> >>OS =3D Solaris 9
> >>PERL v =3D 5.8.7
> >>postgreSQL =3D 8.0.1
> >>
> >>I'm getting the following error when attempting to interface through
> >>my web browser, immediately after supplying the login information.
> >>
> >>
> >> Software error:
> >>
> >[snip]
> > =20
> >
> >>fatal: libgcc_s.so.1: open failed: No such file or directory
> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >You need to install libgcc.
> >
> >http://www.sunfreeware.com/programlistsparc9.html#libgcc34
> >
>
> Thanks for the reply. I've got
>=20
> bash-2.05# pkginfo -i | grep gcc
> application SMCgcc gcc
> bash-2.05# pkginfo -l SMCgcc
> PKGINST: SMCgcc
> NAME: gcc
> CATEGORY: application
> ARCH: sparc
> VERSION: 3.3.2
> BASEDIR: /usr/local
> VENDOR: Free Software Foundation
> PSTAMP: Steve Christensen
> INSTDATE: Feb 12 2006 23:02
> EMAIL: steve@smc.vnet.net
> STATUS: completely installed
> FILES: 2274 installed pathnames
> 8 shared pathnames
> 6 linked files
> 157 directories
> 58 executables
> 780481 blocks used (approx)
>=20
> and I _still_ need libgcc?
Nah, you should'nt. Libgcc should come along with gcc. Make sure
that /usr/local/lib is in your LD_LIBRARY_PATH.
Philip
Re: install_driver(Pg) failed: Can"t load Pg.so
am 11.05.2006 20:59:34 von gonzales
Phillip,
Yeah that's what I thought. What I'm doing right now is configuring the
dynamic linker, with the "crle" command in solaris. there's a file - by
default - /var/ld/ld.config
that lists the directory path to search for libraries.
I'll let you know how this works out.
Garrett, Philip (MAN-Corporate) wrote:
>-----Original Message-----
>From: louis gonzales [mailto:gonzales@linuxlouis.net]
>Sent: Thursday, May 11, 2006 2:52 PM
>To: Garrett, Philip (MAN-Corporate)
>Cc: dbi-users@perl.org
>Subject: Re: install_driver(Pg) failed: Can't load Pg.so
>
>
>
>>Garrett, Philip (MAN-Corporate) wrote:
>>
>>
>>
>>>From: louis gonzales [mailto:gonzales@linuxlouis.net]
>>>
>>>
>>>
>>>>OS = Solaris 9
>>>>PERL v = 5.8.7
>>>>postgreSQL = 8.0.1
>>>>
>>>>I'm getting the following error when attempting to interface through
>>>>
>>>>
>
>
>
>>>>my web browser, immediately after supplying the login information.
>>>>
>>>>
>>>> Software error:
>>>>
>>>>
>>>>
>>>[snip]
>>>
>>>
>>>
>>>
>>>>fatal: libgcc_s.so.1: open failed: No such file or directory
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>
>>>>
>>>You need to install libgcc.
>>>
>>>http://www.sunfreeware.com/programlistsparc9.html#libgcc3 4
>>>
>>>
>>>
>>Thanks for the reply. I've got
>>
>>bash-2.05# pkginfo -i | grep gcc
>>application SMCgcc gcc
>>bash-2.05# pkginfo -l SMCgcc
>> PKGINST: SMCgcc
>> NAME: gcc
>> CATEGORY: application
>> ARCH: sparc
>> VERSION: 3.3.2
>> BASEDIR: /usr/local
>> VENDOR: Free Software Foundation
>> PSTAMP: Steve Christensen
>> INSTDATE: Feb 12 2006 23:02
>> EMAIL: steve@smc.vnet.net
>> STATUS: completely installed
>> FILES: 2274 installed pathnames
>> 8 shared pathnames
>> 6 linked files
>> 157 directories
>> 58 executables
>> 780481 blocks used (approx)
>>
>>and I _still_ need libgcc?
>>
>>
>
>Nah, you should'nt. Libgcc should come along with gcc. Make sure
>that /usr/local/lib is in your LD_LIBRARY_PATH.
>
>Philip
>
>
Re: install_driver(Pg) failed: Can"t load Pg.so
am 11.05.2006 21:07:47 von gonzales
Ok, so here's what I've got:
1) crle -l
/lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/site_perl/ 5.8.7/sun4-solaris/auto/DBD/Pg
2) crle -c /var/ld/ld.config -l
/lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/site_perl/ 5.8.7/sun4-solaris/auto/DBD/Pg
Now I have:
Software error:
could not connect to server: Connection refused
Is the server running on host "70.88.107.107" and accepting
TCP/IP connections on port 1025?
For help, please send mail to the webmaster
(louis.gonzales@linuxlouis.net ),
giving this error message and the time and date of the error.
The above issue I can fix... it's because I have to reconfigure the
pg_hba.conf file, as my postgresql server is now behind a PAT'd cisco
router and doesn't have the address it's complaining about.
After I change that and restart postmaster - with pg_ctl - the
application should work.
Thanks for your quick response!
louis gonzales wrote:
> Phillip,
> Yeah that's what I thought. What I'm doing right now is configuring
> the dynamic linker, with the "crle" command in solaris. there's a
> file - by default - /var/ld/ld.config
> that lists the directory path to search for libraries.
>
> I'll let you know how this works out.
>
>
> Garrett, Philip (MAN-Corporate) wrote:
>
>> -----Original Message-----
>> From: louis gonzales [mailto:gonzales@linuxlouis.net] Sent: Thursday,
>> May 11, 2006 2:52 PM
>> To: Garrett, Philip (MAN-Corporate)
>> Cc: dbi-users@perl.org
>> Subject: Re: install_driver(Pg) failed: Can't load Pg.so
>>
>>
>>
>>> Garrett, Philip (MAN-Corporate) wrote:
>>>
>>>
>>>
>>>> From: louis gonzales [mailto:gonzales@linuxlouis.net]
>>>>
>>>>
>>>>
>>>>> OS = Solaris 9
>>>>> PERL v = 5.8.7
>>>>> postgreSQL = 8.0.1
>>>>>
>>>>> I'm getting the following error when attempting to interface through
>>>>>
>>>>
>>
>>
>>
>>>>> my web browser, immediately after supplying the login information.
>>>>>
>>>>>
>>>>> Software error:
>>>>>
>>>>>
>>>>
>>>> [snip]
>>>>
>>>>
>>>>
>>>>
>>>>> fatal: libgcc_s.so.1: open failed: No such file or directory
>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>
>>>>
>>>> You need to install libgcc.
>>>>
>>>> http://www.sunfreeware.com/programlistsparc9.html#libgcc34
>>>>
>>>>
>>>
>>> Thanks for the reply. I've got
>>>
>>> bash-2.05# pkginfo -i | grep gcc
>>> application SMCgcc gcc
>>> bash-2.05# pkginfo -l SMCgcc
>>> PKGINST: SMCgcc
>>> NAME: gcc
>>> CATEGORY: application
>>> ARCH: sparc
>>> VERSION: 3.3.2
>>> BASEDIR: /usr/local
>>> VENDOR: Free Software Foundation
>>> PSTAMP: Steve Christensen
>>> INSTDATE: Feb 12 2006 23:02
>>> EMAIL: steve@smc.vnet.net
>>> STATUS: completely installed
>>> FILES: 2274 installed pathnames
>>> 8 shared pathnames
>>> 6 linked files
>>> 157 directories
>>> 58 executables
>>> 780481 blocks used (approx)
>>>
>>> and I _still_ need libgcc?
>>>
>>
>>
>> Nah, you should'nt. Libgcc should come along with gcc. Make sure
>> that /usr/local/lib is in your LD_LIBRARY_PATH.
>>
>> Philip
>>
>>
Re: install_driver(Pg) failed: Can"t load Pg.so
am 11.05.2006 21:10:55 von gonzales
Beautiful, that worked!
I'm wondering though, if I even need the path to /.../.../Pg?
I'd rather not obscure a simple matter.
louis gonzales wrote:
> Ok, so here's what I've got:
>
> 1) crle -l
> /lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/site_perl/ 5.8.7/sun4-solaris/auto/DBD/Pg
>
> 2) crle -c /var/ld/ld.config -l
> /lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/site_perl/ 5.8.7/sun4-solaris/auto/DBD/Pg
>
>
> Now I have:
>
>
> Software error:
>
> could not connect to server: Connection refused
> Is the server running on host "70.88.107.107" and accepting
> TCP/IP connections on port 1025?
>
> For help, please send mail to the webmaster
> (louis.gonzales@linuxlouis.net
> ), giving this error message and
> the time and date of the error.
>
>
> The above issue I can fix... it's because I have to reconfigure the
> pg_hba.conf file, as my postgresql server is now behind a PAT'd cisco
> router and doesn't have the address it's complaining about.
>
> After I change that and restart postmaster - with pg_ctl - the
> application should work.
>
> Thanks for your quick response!
>
>
> louis gonzales wrote:
>
>> Phillip,
>> Yeah that's what I thought. What I'm doing right now is configuring
>> the dynamic linker, with the "crle" command in solaris. there's a
>> file - by default - /var/ld/ld.config
>> that lists the directory path to search for libraries.
>>
>> I'll let you know how this works out.
>>
>>
>> Garrett, Philip (MAN-Corporate) wrote:
>>
>>> -----Original Message-----
>>> From: louis gonzales [mailto:gonzales@linuxlouis.net] Sent:
>>> Thursday, May 11, 2006 2:52 PM
>>> To: Garrett, Philip (MAN-Corporate)
>>> Cc: dbi-users@perl.org
>>> Subject: Re: install_driver(Pg) failed: Can't load Pg.so
>>>
>>>
>>>
>>>> Garrett, Philip (MAN-Corporate) wrote:
>>>>
>>>>
>>>>
>>>>> From: louis gonzales [mailto:gonzales@linuxlouis.net]
>>>>>
>>>>>
>>>>>
>>>>>> OS = Solaris 9
>>>>>> PERL v = 5.8.7
>>>>>> postgreSQL = 8.0.1
>>>>>>
>>>>>> I'm getting the following error when attempting to interface through
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>>>>> my web browser, immediately after supplying the login information.
>>>>>>
>>>>>>
>>>>>> Software error:
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> [snip]
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> fatal: libgcc_s.so.1: open failed: No such file or directory
>>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>>
>>>>>
>>>>>
>>>>> You need to install libgcc.
>>>>>
>>>>> http://www.sunfreeware.com/programlistsparc9.html#libgcc34
>>>>>
>>>>>
>>>>
>>>>
>>>> Thanks for the reply. I've got
>>>>
>>>> bash-2.05# pkginfo -i | grep gcc
>>>> application SMCgcc gcc
>>>> bash-2.05# pkginfo -l SMCgcc
>>>> PKGINST: SMCgcc
>>>> NAME: gcc
>>>> CATEGORY: application
>>>> ARCH: sparc
>>>> VERSION: 3.3.2
>>>> BASEDIR: /usr/local
>>>> VENDOR: Free Software Foundation
>>>> PSTAMP: Steve Christensen
>>>> INSTDATE: Feb 12 2006 23:02
>>>> EMAIL: steve@smc.vnet.net
>>>> STATUS: completely installed
>>>> FILES: 2274 installed pathnames
>>>> 8 shared pathnames
>>>> 6 linked files
>>>> 157 directories
>>>> 58 executables
>>>> 780481 blocks used (approx)
>>>>
>>>> and I _still_ need libgcc?
>>>>
>>>
>>>
>>>
>>> Nah, you should'nt. Libgcc should come along with gcc. Make sure
>>> that /usr/local/lib is in your LD_LIBRARY_PATH.
>>>
>>> Philip
>>>
>>>