Discussion:
[Proftpd-user] Compile error
Lists
2016-04-12 17:43:16 UTC
Permalink
I'm trying to compile proftpd with odbc/sql support. I'm receiving the following error:

undefined reference to SQLGetDiagRec

Any suggestions would be appreciated.

This is on Red Hat el 5.11

--
Geoffrey Myers

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
TJ Saunders
2016-04-12 17:59:30 UTC
Permalink
Post by Lists
undefined reference to SQLGetDiagRec
Any suggestions would be appreciated.
What is the full configure command you are using to build ProFTPD? What
version of ProFTPD?

TJ

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
- -
2016-04-12 18:24:26 UTC
Permalink
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
TJ Saunders
2016-04-12 18:34:10 UTC
Permalink
install_user=whb3bqj install_group=gic ./configure --
prefix=/home/whb3bqj/usr --sysconfdir=/home/whb3bqj/etc --
localstatedir=/home/whb3bqj/var --with-modules=mod_sql:mod_sql_odbc
Per the mod_sql_odbc installation instructions:

http://www.proftpd.org/docs/contrib/mod_sql_odbc.html#Installation

mod_sql_odbc can use either unixODBC or iODBC; you have to tell it, in
the configure command, which one to use. Thus if you're using unixODBC,
you'd use:

$ install_user=... install_group=... ./configure LIBS=-lodbc \
--prefix=... \
--with-modules=mod_sql:mod_sql_odbc

And for iODBC, you'd use "LIBS=-liodbc" instead of "LIBS=-lodbc".

Note that you may also need to specify the location of the unixODBC
headers and libraries using the --with-includes and --with-libraries
options:

$ install_user=... install_group=... ./configure LIBS=-lodbc \
--prefix=... \
--with-modules=mod_sql:mod_sql_odbc \
--with-includes=/path/to/unixODBC/include \
--with-libraries=/path/to/unixODBC/lib

Hope this helps!
TJ

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
ProFTPD Users List <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
Thomas Spicer
2016-04-15 20:51:28 UTC
Permalink
Greetings,

We recently released an application for Proftpd that is designed to detect malicious login attempts and ban them. The app is called “Autoban”: https://github.com/openbridge/ob_proftpd_autoban

It is similar to Fail2ban, expect slimmed down and Proftpd specific. The application is especially useful when running Proftpd in a Docker/container context where using something like Fail2Ban is difficult. It leverages mod_wrap2 module and can work with mod_ban.

Take a look and any feedback or requests are welcome. It is free to use and hope you find some value in it.

Cheers,

Tom

Continue reading on narkive:
Loading...