[kde-freebsd] FreeBSD port databases/libiodbc linker issue during compile ports linked with iodbc

Valery V.Smirnov valery at smirnov.tv
Thu Nov 13 13:50:02 UTC 2014


Hi.

This e-mail address is listed as maintainers of freebsd 
databases/libiodbc port.

There is an issue like "/usr/bin/ld: cannot find -liodbc" during 
compile any linked ports on FreeBSD 10.0 amd64.

Detailed information here: 
https://forums.freebsd.org/threads/compiling-openldap24-server-with-odbc-checked-fails-with-linker-error-liodbc.48947/
Topic-starter is me.

Problem, IMHO, whith autocreate Makefiles using iodbc-config:
[root at host /usr/ports]# iodbc-config --libs
-L/usr/local/lib  -liodbc -liodbcinst
[root at host /usr/ports]#

But only libs whith prefix "lib" are presents in /usr/local/lib after 
databases/libiodbc installing:
[root at host /usr/ports]# ls /usr/local/lib/ | grep iodbc
libiodbc.a
libiodbc.so
libiodbc.so.2
libiodbc.so.2.1.20
libiodbcinst.a
libiodbcinst.so
libiodbcinst.so.2
libiodbcinst.so.2.1.20
[root at host /usr/ports]#

Changing "-liodbc" to " /usr/local/libiodbc.so" fix this issue.

May you fix it please?

Thank you


-- 
Best regards
Valery V.Smirnov
mailto: valery at smirnov.tv


More information about the kde-freebsd mailing list