I have updated ports and compiled libiodbc-3.52.8 and p5-DBD-ODBC-1.37; when I tried to connect to any database through perl I got:
I need some help with it.
Because it looks like one can install only libiodbc-3.52.8 and+ p5-DBD-ODBC-1.37, but not p5-DBD-ODBC-1.37 and unixODBC-2.3.1. Why?
Anyway I really do not care what driver works for odbc, I really care about the segmentation fault.
To be specific, FreeBSD 9.0, was installed with libiodbc-3.52.8 and p5-DBD-ODBC-1.37. I couldn't install p5-DBD-ODBC-1.37 and unixODBC-2.3.1.
Then I (for the test) created a simple file:
Then I executed a test script with perl, and got
Where to look for the dump I don't know.
In odbc.ini:
Code:
Segmentation fault: 11 (core dumped)
I need some help with it.
Because it looks like one can install only libiodbc-3.52.8 and+ p5-DBD-ODBC-1.37, but not p5-DBD-ODBC-1.37 and unixODBC-2.3.1. Why?
Anyway I really do not care what driver works for odbc, I really care about the segmentation fault.
To be specific, FreeBSD 9.0, was installed with libiodbc-3.52.8 and p5-DBD-ODBC-1.37. I couldn't install p5-DBD-ODBC-1.37 and unixODBC-2.3.1.
Then I (for the test) created a simple file:
Code:
use strict;
use DBI;
my $dbh = DBI-> connect('dbi:ODBC:Test');
Code:
Segmentation fault: 11 (core dumped).
In odbc.ini:
Code:
[Test]
Driver = /usr/local/lib/libiodbc.so.3
Host =
UserName =
Password =
Datebase =