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

Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)

From: Are Bryne <are-pgsql-ports(at)communique(dot)no>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
Date: 2002-01-25 22:07:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
On Fri, 25 Jan 2002, Peter Eisentraut wrote:

> Are Bryne writes:
> > However, when I try compiling with elf=no in configure, this happens:
> >
> > gcc295 -O -pipe -DUSE_SSL -Wall -Wmissing-prototypes
>                   ^^^^^^^^^
> Where does this come from?  This doesn't appear in the source code.

I'm trying to make use of the FreeBSD ports framework.

% pwd
% less
CONFIGURE_ARGS+=  --with-odbc

WITH_SSL=       yes
CONFIGURE_ARGS+=        --with-openssl

# Multibyte
CONFIGURE_ARGS+=        --enable-multibyte=LATIN1

The config.status therefore shows (at the top):
# ./configure  --enable-locale --enable-syslog --with-CXX
--sysconfdir=/usr/local/etc/postgresql '--with-includes=/usr/local/include  '
--with-libraries=/usr/local/lib --docdir=/usr/local/share/doc
--includedir=/usr/local/include/pgsql --with-odbc --with-openssl
--enable-multibyte=LATIN1 --prefix=/usr/local i386--freebsd2.2.8

There might be more relevant information further down in the
config.status. I included it a few posts back (gzip'ed attachment - maybe
it wasn't necessary to compress it).

> > ld: no shared -lssl.2.-1 available
> I'd suggest trying to build without OpenSSL first.  Then check out how
> libpq is being linked.  It seems it's somehow picking up a wrong libssl
> reference, but I don't understand the non-elf formats enough to be able to
> tell you how.

OK. I'll try that.


Are Bryne
Communiqué DA                            Office:       +47 22 44 33 99
Postboks 9050 Grønland                   Mobile:        +47 900 22 009
NO-0133 Oslo                             URL:

In response to

pgsql-ports by date

Next:From: Are BryneDate: 2002-01-25 22:11:24
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
Previous:From: Tom LaneDate: 2002-01-25 22:03:45
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)

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