|The stupid question is the question not asked|
Re^2: "referenced symbol not found" testing DBD::ODBC against unixODBCby arielCo (Sexton)
|on Apr 11, 2013 at 19:36 UTC||Need Help??|
The 'PerlGcc' architecture in perlgcc has not given me trouble before, even building DBD::Oracle.
Both (the CPAN modules and unixODBC) were compiled with GCC, but unixODBC had been linked with the Forte 'ld', so I built it again:./configure --prefix=$HOME/unixODBC LD=gcc MAKE=gmake AR=/usr/ccs/bin/ar
Same result. I learned of 'nm', and the "missing" symbols are indeed defined in unixODBC's libodbc.so, e.g.:
Since it fails when testing, and the path to libodbc.so isn't mentioned in any of the GCC commands, maybe it's not being included in the RPATH?
Currently makepl_arg is '[LIBS=-L/export/home/filtro/unixODBC/lib]'. If my beginner's guess is correct, how do fix it? Providing it to perl -MCPAN through LD_LIBRARY_PATH makes no difference.Thanks in advance,