LDFLAGS and libstdc++ on osx10.3.1

Поиск
Список
Период
Сортировка
От Byron Amerson
Тема LDFLAGS and libstdc++ on osx10.3.1
Дата
Msg-id Pine.A41.4.58.0312081553190.44002@dante10.u.washington.edu
обсуждение исходный текст
Ответ на solaris9 make failure...libpgport.a  (Byron Amerson <byronea@u.washington.edu>)
Ответы Re: LDFLAGS and libstdc++ on osx10.3.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Thanks Tom, for your answer to my question about building on Solaris, I
found ar in a directory not in my path, and built GNU's implemtation as
well.

I now have a question regarding setting the environment variable LDFLAGS
and libstdc++ on osx10.3.1.

Postgis needs postgresql to be configured and built with
LDFLAGS=-libstdc++.
Things build fine but break when attempting to add postgis' goodies to a
database, complaining about postgis' shared libs.  Evidently postgreql is
not linking againts mac's libstc++ which is static (libstdc++.a).

Is there a work around? Or an obvious solution? I built a fresh set of
libs using gcc source, and end up with shared(?)libs with .la extensions
-libtool stuff.  Can I somehow use libtool to link the libs?

Thanks for any help on this issue.

Byron Amerson
MS student
University of Washington
Department of Earth and Space Sciences


В списке pgsql-novice по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: duplicate entries on primary key
Следующее
От: Tom Lane
Дата:
Сообщение: Re: LDFLAGS and libstdc++ on osx10.3.1