Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group