Re: Connecting R to PostgreSQL

Поиск
Список
Период
Сортировка
От Steven O'Toole
Тема Re: Connecting R to PostgreSQL
Дата
Msg-id D9680779-C83A-11D6-A30C-000393B6278C@o2l.com
обсуждение исходный текст
Ответ на Connecting R to PostgreSQL  (Adam Witney <awitney@sghms.ac.uk>)
Список pgsql-interfaces
On Saturday, September 14, 2002, at 07:29 AM, Adam Witney wrote:

>   dlcompat: dyld: /sw/lib/R/bin/R.bin Undefined symbols:
> _ERR_get_error
> _ERR_reason_error_string
> _SSL_CTX_new

I don't know if this is helpful to you since I am a novice and don't 
know R.  But I am connecting to libpq on OSX and ran into similar 
errors.  I solved them (assuming you're using ProjectBuilder in 10.2) 
in the Target/Linker Settings area.  Under the field titled Other Mach 
-O Linker Flags I entered:
-lcrypto -lssl

I still get a warning about a duplicate definition of _crypto that I 
haven't figured out.  But the interface to PostgreSQL works great.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Connecting R to PostgreSQL
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: [HACKERS] ODBC problem/question