Re: Linker Confusion.....

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Linker Confusion.....
Дата
Msg-id 29004.1248385179@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Linker Confusion.....  (Ralf Hasemann <rhasemann@mac.com>)
Список pgsql-interfaces
Ralf Hasemann <rhasemann@mac.com> writes:
> How does the linker know to link against libpq.5.dylib when libpq.a is  
> the only lib in my project?

You'd be best advised to ask that on an OSX development list; it's not
particularly a Postgres question, but a question of the behavior of the
development tools on that platform.

Mind you, the above behavior is probably *good*, and I don't recommend
you try to override it.  Statically linked libraries are a real pain
in the neck when it comes time for a software update.  But exactly how
the toolchain you're using finds the dynamic library, I don't know.
        regards, tom lane


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

Предыдущее
От: Ralf Hasemann
Дата:
Сообщение: Linker Confusion.....
Следующее
От: Tim Bunce
Дата:
Сообщение: SERIOUS BUG IN DBD::Pg 2.14.0 for bigint types