[prev in list] [next in list] [prev in thread] [next in thread]
List: opennms-install
Subject: Re: [opennms-install] Trying to install on Solaris Express snv_72 -
From: DJ Gregor <dj () opennms ! org>
Date: 2007-09-22 20:23:01
Message-ID: 8FBF3F6F-A2FB-4710-AA26-B65965DD7CA2 () opennms ! org
[Download RAW message or body]
Hey Sean,
You need to do one of two things:
1. Build iplike with "-R<path to lib dorectory containing libgcc_s.so.
1", for example "-R/usr/sfw/lib", "-R/opt/csw/lib", or "-R/opt/gcc/
lib". In particular, the -R option should be set to the same value
of -L that is used to get libgcc_s.so.1 at build time.
2. Set the LD_LIBRARY_PATH environment for PostgreSQL to the
appropriate directory. Note, this needs to be done for PostgreSQL,
and *not* the OpenNMS installer.
One question: did you build iplike yourself (if so, can you paste the
output from a clean configure and build) or did you download a
package (if so, which one)?
- djg
On Sep 22, 2007, at 1:57 PM, Sean O'Neill wrote:
> - adding iplike database function... ERROR: could not load library
> "/opt/opennms/lib/iplike.so": ld.so.1: postgres: fatal: libgcc_s.so.
> 1: open failed: No such file or directory
> STATEMENT: CREATE FUNCTION iplike(text,text) RETURNS bool AS '/opt/
> opennms/lib/iplike.so' LANGUAGE 'c' WITH(isstrict)
> Exception in thread "main" org.postgresql.util.PSQLException:
> ERROR: could not load library "/opt/opennms/lib/iplike.so": ld.so.
> 1: postgres: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> at
> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse
> (QueryExecutorImpl.java:1525)
> at org.postgresql.core.v3.QueryExecutorImpl.processResults
> (QueryExecutorImpl.java:1309)
> at org.postgresql.core.v3.QueryExecutorImpl.execute
> (QueryExecutorImpl.java:188)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.execute
> (AbstractJdbc2Statement.java:452)
> at
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags
> (AbstractJdbc2Statement.java :340)
> at org.postgresql.jdbc2.AbstractJdbc2Statement.execute
> (AbstractJdbc2Statement.java:332)
> at org.opennms.netmgt.dao.db.InstallerDb.updateIplike
> (InstallerDb.java:388)
> at org.opennms.install.Installer.install (Installer.java:236)
> at org.opennms.install.Installer.main(Installer.java:729)
> LOG: unexpected EOF on client connection
>
> Annoyingly, my machine has like 4 to 5 different version of
> libgcc_s.so.1.
> bash-3.00# grep "lib/libgcc_s.so.1 " /var/sadm/install/contents
> /opt/csw/lib/libgcc_s.so.1 f none 0755 root bin 46016 55737
> 1137119477 CSWgcc3corert
> /opt/gcc/lib/libgcc_s.so.1 f none 0644 root sys 202012 58387
> 1139434051 SUNW0gccfss
> /usr/lib/AdobeReader/Reader/sparcsolaris/lib/libgcc_s.so.1 f none
> 0755 root bin 156852 13195 1096283380 SUNWacroread
> /usr/sfw/lib/libgcc_s.so.1 f none 0555 root bin 50568 18292
> 1187898731 SUNWgccruntime
>
> I've tried setting up my LD_LIBRARY_PATH to /opt/csw/lib and /usr/
> sfw/lib. Even /opt/gcc/lib/gcc/sparc-sun-solaris2.10/4.0.4 (my /
> var/sadm/install/contents file is broken in relation to the
> SUNW0gccfss package apparently). Can't seem to get past this
> libgcc_s.so.1 library issue.
>
> VERY frustrated at the moment. Can someone tell me why, OH!!!, why
> am I getting this very annoying error ?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-install mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic