Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
От | Are Bryne |
---|---|
Тема | Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable) |
Дата | |
Msg-id | Pine.BSF.4.31.0201252205120.48608-100000@david.i.communique.no обсуждение исходный текст |
Ответ на | Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable) (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Compiling on FreeBSD 2.2.x? (-export-dynamic unavailable)
|
Список | 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
В списке pgsql-ports по дате отправления: