Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a

From: Steve Burger <steve(at)customware(dot)aust(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a
Date: 2001-10-24 09:19:37
Message-ID: 3BD687A9.39A0E65F@customware.aust.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)customware(dot)aust(dot)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(at)postgresql(dot)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(at)customware(dot)aust(dot)com
===================================================

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message jvsyqbldd 2001-10-24 16:33:11 xmorylp ^ ccpenwk
Previous Message Steve Burger 2001-10-24 05:23:32 Re: RE- Compile 7.1.3 on SCO OpenServer 5.0.6a