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: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
Date: 2002-01-25 21:14:02
Message-ID: Pine.BSF.4.31.0201252205120.48608-100000@david.i.communique.no (view raw or flat)
Thread:
Lists: pgsql-ports
On Fri, 25 Jan 2002, Tom Lane wrote:

> Okay, so you do have a proper shared library.
>
> Since the ecpg link command didn't mention ssl explicitly, I guess the
> reference must be coming out of libpq.so.  What do you get if you run
> ldd on libpq.so?  (I think it's called ldd on bsd, if not try chatr.)

Yes, it's ldd.
ldd: work/postgresql-7.1.3/src/interfaces/libpq/libpq.so: not a dynamic executable

(but, of course, it's a link :)
% ll work/postgresql-7.1.3/src/interfaces/libpq/libpq.so*
lrwxrwxrwx  1 are  portsmas     12 Jan 25 21:16 work/postgresql-7.1.3/src/interfaces/libpq/libpq.so -> libpq.so.2.1
lrwxrwxrwx  1 are  portsmas     12 Jan 25 21:16 work/postgresql-7.1.3/src/interfaces/libpq/libpq.so.2 -> libpq.so.2.1
-rwxr-xr-x  1 are  portsmas  64849 Jan 25 21:16 work/postgresql-7.1.3/src/interfaces/libpq/libpq.so.2.1

and:
% ldd work/postgresql-7.1.3/src/interfaces/libpq/libpq.so.2.1
ldd: work/postgresql-7.1.3/src/interfaces/libpq/libpq.so.2.1: not a dynamic executable

% file work/postgresql-7.1.3/src/interfaces/libpq/libpq.so.2.1
work/postgresql-7.1.3/src/interfaces/libpq/libpq.so.2.1: FreeBSD/i386 compact demand paged shared library not stripped

So ldd doesn't work for libraries, only executables...

> 			regards, tom lane

Thanks.

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


In response to

Responses

pgsql-ports by date

Next:From: Tom LaneDate: 2002-01-25 21:35:01
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
Previous:From: Tom LaneDate: 2002-01-25 20:59:41
Subject: Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)

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