Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a - Mailing list pgsql-ports

From Steve Burger
Subject Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a
Date
Msg-id 3BD687A9.39A0E65F@customware.aust.com
Whole thread Raw
In response to Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-ports
Thanks for the help to date.
I can get a statically link version to run now, but it would be
nice to able to dynamical load libpgtcl so I will keep trying.

libcrypt.so and libcrpyt_i.so are in /usr/lib
I am compiling with the following script
CCFLAGS=
CC=/usr/bin/cc
export CC CCFLAGS
./configure --with-libs="/usr/lib /usr/local/lib"
--with-includes="/usr/include /usr/local/include" --with-tcl
--with-tclconfig=/usr/local/lib --with-tkconfig=usr/local/lib
gmake

man cc
 -l name
         Search a library libname.a (and preferentially libname.so if any
         user-specified objects are in ELF format or if the option -b elf is

         used without -dn) for unresolved function references. By default,
         cc directs ld to search libcrypt, libgen, and libc, in that order,
         for any still unresolved function references.

so I assume libcrypt should get linked in automatically.

regards Steve

Tom Lane wrote:

> Steve Burger <steve@customware.aust.com> writes:
> > and the error changes to
> > couldn't load file "/usr/local/pgsql/lib/libpgtcl.so": dynamic linker:
> > /usr/local/bin/bltwish: relocation error: symbol not found: crypt
>
> Is libcrypt in your shared-library search path?
>
>                         regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

--
===================================================
CUSTOMWARE, 27 Cookes Road, Windsor Gardens SA 5087
Phone +61 8 8369 2287 Fax +61 8 8369 1121
Email steve@customware.aust.com
===================================================



pgsql-ports by date:

Previous
From: Minas
Date:
Subject: ...
Next
From: Steve Burger
Date:
Subject: Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a