>> Ok, sorry I see the difference now. Those that are for linking are named
>> lib*.so
>> and those that are for dyn loading into postgres don't have the lib.
>
>What?  They should all have the "lib" AFAIK --- dynamic loading takes
>the same kind of shared lib as a regular link does on every platform
>I've heard about.


We are only talking about the naming convention here.
e.g. libpq.so but plpgsql.so

>I think you were just fooled by having misspelled the "shlib" variable
>the first time around... or, perhaps, our dynlink support for aix
>is confused too?

The dynlink support is broken for plpgsql.so on aix,
unless Bruce applies my patch, which I guess he did for current,
but not for the 6.5.1 branch.

Andreas


Fri, 16 Jul 1999 20:00:00 +0200
"Zeugswetter Andreas" <andreas.zeugswetter@telecom.at>
Re: AW: [HACKERS] shared lib names 
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> >> Ok, sorry I see the difference now. Those that are for linking are named
> >> lib*.so
> >> and those that are for dyn loading into postgres don't have the lib.
> >
> >What?  They should all have the "lib" AFAIK --- dynamic loading takes
> >the same kind of shared lib as a regular link does on every platform
> >I've heard about.
> 
> 
> We are only talking about the naming convention here.
> e.g. libpq.so but plpgsql.so
> 
> >I think you were just fooled by having misspelled the "shlib" variable
> >the first time around... or, perhaps, our dynlink support for aix
> >is confused too?
> 
> The dynlink support is broken for plpgsql.so on aix,
> unless Bruce applies my patch, which I guess he did for current,
> but not for the 6.5.1 branch.

I have not applied either yet.  I want someone who understands this to
make the decision.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Fri, 16 Jul 1999 15:12:42 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: AW: [HACKERS] shared lib names
Bruce Momjian <maillist@candle.pha.pa.us> writes:
>> The dynlink support is broken for plpgsql.so on aix,
>> unless Bruce applies my patch, which I guess he did for current,
>> but not for the 6.5.1 branch.

> I have not applied either yet.  I want someone who understands this to
> make the decision.

OK, I'll take responsibility for it ...

The double underscore in 'SO__MINOR_VERSION' in the irix5 code is clearly
a typo and should be fixed, so I committed that into 6.5.1.  However I
am leery of committing the AIX code into 6.5 with so little time left
before 6.5.1 release --- too much risk that there will be problems.
Seems better to leave shlibs unimplemented on AIX for 6.5.

I have committed both fixes into the main branch, however.  Plenty of
time to find out if the AIX support has any problems before 6.6.

			regards, tom lane

Fri, 16 Jul 1999 19:01:41 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: [HACKERS] shared lib names 
"Zeugswetter Andreas" <andreas.zeugswetter@telecom.at> writes:
>> What?  They should all have the "lib" AFAIK --- dynamic loading takes
>> the same kind of shared lib as a regular link does on every platform
>> I've heard about.

> We are only talking about the naming convention here.
> e.g. libpq.so but plpgsql.so

Oh, right, I see your point.  plpgsql.so isn't intended to ever be
statically linked so it needn't obey the "lib" naming convention.

Never mind ... ;-)

			regards, tom lane

Sat, 17 Jul 1999 11:32:46 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: [HACKERS] shared lib names 