postgres a relocation error

Michal Fric mike na p4.mepnet.cz
Pondělí Únor 21 17:42:45 CET 2000


On 21-Feb-2000 Horák Daniel wrote:
>> > No asi se neporari slinkovat - dlopen() - tu knihovnu s PG. To 
>> > CurrentMemoryContext asi na nic "nenavazuje". Je to kompilovane
>> > oboje ze stejneho stromu a pod stejnym OS ..atd?
>> 
>> S tim dlopen() mate asi pravdu, otazka je jak to udelat aby 
>> to fungovalo.
>> Pritom kdyz se podivam do plpgsql.so treba prez strings tak se tam
>> CurrentMemoryContext vyskytuje.
> 
> plpgsql.so si ho musi prilinkovat s binarky postgres, ktera uz je v pameti,
> coz by spravne kombinaci parametru linkeru melo byt automaticke
> 
>> Ano je to kompilovane z jednoho tarballu a na stejnem OS.
> 
> Jake verze OS, gcc (cc), ld tam mate? Jaky template je pouzit (to vypisuje
> na zacatku configure)?
> 
> Taky by mohlo dochazet k michani GNU a Sunovskych gcc/ld (to mam z archivu
> pgsql-ports).
> 
>               Dan

Verze:
[mike na hercules mike]$ uname -a
SunOS hercules 5.6 Generic_105181-12 sun4u sparc SUNW,Ultra-4
[mike na hercules mike]$ gcc --version
2.8.1
Stazene z www.sunfreeware.com Sunovske cc nemam

[mike na hercules mike]$ which ld
/usr/local/bin/ld => GNU verze
[mike na hercules mike]$ ld --version
GNU ld 2.9
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
  Supported emulations:
   elf32_sparc

[mike na hercules src]$ ./configure
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.6
checking echo setting...
checking setting template to... solaris_sparc_gcc
..

+------------------------------------------------------
|Michal Fric
|MC Praha 4
|E-Mail: Michal Fric <mike na p4.mepnet.cz>
|Tel.: 61192180
|Date: 21-Feb-2000
+------------------------------------------------------


Další informace o konferenci Test