Re: [INTERFACES] Three posts and no response 8--(

From: Craig Orsinger <orsingerc(at)epg-gw1(dot)lewis(dot)army(dot)mil>
To: pgsql-interfaces(at)postgreSQL(dot)org
Cc: Daren Sefcik <daren(at)partnersdata(dot)com>
Subject: Re: [INTERFACES] Three posts and no response 8--(
Date: 1999-07-13 18:08:24
Message-ID: XFMail.990713110824.orsingerc@epg-gw1.lewis.army.mil
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


On 13-Jul-99 Tom Lane wrote:
> Daren Sefcik <daren(at)partnersdata(dot)com> writes:
>>> The eventual patch will be a change/addition in src/Makefile.shlib,
>>> in the section for your platform (solaris_sparc). I am guessing that
>>> we might need to add a line like
>>> SHLIB_LINK += -lc
>
>> Well that did something..but I don't think it fixed it completly:
>
>> ldd -r ./libpsqlodbc.so.0.25
>> warning: ldd: ./libpsqlodbc.so.0.25: is not executable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This may be the problem. Most OS's demand that a shared library
be executable. Try doing a "chmod ugo+x ./libpsqlodbc.so.0.25" (or
wherever your ODBC library ended up). It's also possible that some part
of your compile failed when you were building the library, which would
explain why the permissions aren't already set correctly.

>> libc.so.1 => /usr/lib/libc.so.1
>> libdl.so.1 => /usr/lib/libdl.so.1
>> /usr/platform/SUNW,UltraSPARC-IIi-Engine/lib/libc_psr.so.1
>> symbol not found: pow (./libpsqlodbc.so.0.25)
>> symbol not found: shutdown (./libpsqlodbc.so.0.25)
>> symbol not found: inet_addr (./libpsqlodbc.so.0.25)
>> symbol not found: gethostbyname (./libpsqlodbc.so.0.25)
>> symbol not found: socket (./libpsqlodbc.so.0.25)
>> symbol not found: connect (./libpsqlodbc.so.0.25)
>> symbol not found: send (./libpsqlodbc.so.0.25)
>> symbol not found: recv (./libpsqlodbc.so.0.25)
>

----------------------------------
Date: 13-Jul-99 Time: 11:01:36

Craig Orsinger (email: <orsingerc(at)epg(dot)lewis(dot)army(dot)mil>)
Logicon RDA
Bldg. 8B28 "Just another megalomaniac with ideas above his
6th & F Streets station. The Universe is full of them."
Ft. Lewis, WA 98433 - The Doctor
----------------------------------

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Emanuele 1999-07-13 18:34:46 Re: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
Previous Message Peter Mount 1999-07-13 17:53:23 RE: [INTERFACES] JDBC connection problem while trying example.bas ic