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: <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
Date: 2002-01-25 07:03:28
Message-ID: Pine.BSF.4.31.0201250753180.48608-100000@david.i.communique.no (view raw or flat)
Thread:
Lists: pgsql-ports
Hello again,

I hope my original posting made it to the list, and that this list is read
and in use. The search features on fts.postgresql.org seem to be out of
order/not yet implemented, and no archives are to be found.

Could one of the FreeBSD-based PostgreSQL developers possibly take a
moment to have a look at making it work on 2.2.8-STABLE?

There seems to be several small details that don't work 'out of the box' -
eg. my system is being picked up as elf-based...

Unfortunately I am not skilled enough in either C or make syntax to fix
these issues myself.

Hoping for a helping hand.

Best regards,
Are Bryne

On Wed, 23 Jan 2002, Are Bryne wrote:

> Hello,
>
> I am trying to compile PostgreSQL 7.1.3 on a FreeBSD-2.2.8-STABLE
> system (yes, it is old, will update soon hopefully).
>
> I run into the problem that the linker doesn't know about the
> -export-dynamic option.
>
> Is there any way around this? Can I possibly compile/make things work
> without this option?
>
> I am using the ports infrastructure of FreeBSD as a base, but it is of
> course adapted to -CURRENT and the latest 4.X-STABLE branches. Here is
> the error message I get:
>
> .
> .
> .
> gmake[4]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.1.3/src/backend/utils'
> gcc295 -O -pipe -DUSE_SSL -Wall -Wmissing-prototypes -Wmissing-declarations -L/usr/local/lib -lssl -lcrypto  -L/usr/local/lib -R/usr/local/lib -export-dynamic access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -lssl -lcrypto -lz -lbind -lcrypt -lcompat -lm -lutil -lreadline  -o postgres
> Undefined entry symbol `xport-dynamic'
> ld: Spurious undefined symbols: # undefined symbols 1, reported 0
> collect2: ld returned 1 exit status
> gmake[3]: *** [postgres] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/databases/postgresql7/work/postgresql-7.1.3/src/backend'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/databases/postgresql7/work/postgresql-7.1.3/src'
> .
> .
> .
>
> Thanks in advance for all and any help!
>
> Best regards,
> Are Bryne

-- 
Communiqué DA                            Office:       +47 22 44 33 99
Postboks 9050 Grønland                   Mobile:        +47 900 22 009
NO-0133 Oslo                             URL: http://www.communique.no


Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2002-01-25 15:55:02
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
Previous:From: Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=Date: 2002-01-15 16:48:09
Subject: Re: PostgreSQL v7.2b5 Released

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