Displaying 20 results from an estimated 20 matches for "ssl_cflag".
Did you mean:
ssl_cflags
2006 Nov 19
2
SSL flags (was Re: [nut-commits] svn commit r593 - branches/deb_fixes_for_trunk)
Peter,
Any objections to adding this to the trunk? When I run 'ldd upsc'
without this patch, it lists the OpenSSL libraries, and the default
./configure setting is to not use OpenSSL.
- Charles
> Log:
> If we are not using SSL_CFLAGS or SSL_LDFLAGS, do not add the OpenSSL libraries
> to all of the binaries.
>
>
> Modified: branches/deb_fixes_for_trunk/configure.in
> ==============================================================================
> --- branches/deb_fixes_for_trunk/configure.in (original)
>...
2012 Feb 24
3
Dovecot 2.1 with custom OpenSSL fails to build
...libdovecot-lda, libdovecot-ssl) on OpenSSL. In Dovecot 2.0, those
modules didn't require OpenSSL, but 2.1 does.
For the linking process the path to the OpenSSL library isn't
specified properly (SSL_LIBS). Dovecot fails to build if OpenSSL
is in a non-standard path. (Haven't checked if SSL_CFLAGS isn't
properly used as well.)
Example for lib-storage:
env SSL_CFLAGS="-I/usr/local/ssl/include" SSL_LIBS="-L/usr/local/ssl/lib -Wl,-R/usr/local/ssl/lib -lcrypto -lssl" ./configure --prefix=/usr/local/${DOVECOTVER} --with-ssl=openssl --with-ssldir=/usr/local/${DOVECOTVER}...
2015 Jun 10
2
Error starting 1.0.15 with SSL_DISABLE=No
...the
standard procedure, I receive the following message when starting,
even though SLL_DISABLE=No:
Error: SSL support not compiled in but ssl_disable=no
Fatal: Invalid configuration in /usr/local/etc/dovecot.conf
How is SSL support configured and built in? I know it has something to
do with the --SSL_CFLAGS flag.
2010 Nov 29
1
Dovecot and loading OpenSSL libraries
Hi,
I am running into a interesting issue with Dovecot.
I compiled Dovecot 2.0.7 with LD_RUN_PATH set to /xsys/lib and it was
able to find and link against the correct OpenSSL libraries (/xsys/lib),
the generated Makefile look OK.
Here is a snippet of the SSL cflags and libs.
SSL_CFLAGS = -I/xsys/include
SSL_LIBS = -L/xsys/lib -lssl -lcrypto -ldl
After I compil, install and run Dovecot I get the following error.
ssl-params: Error: dovecot/ssl-params: error while loading shared
libraries: libssl.so.0.9.8: cannot open shared object file: No such file
or directory
It seems tha...
2007 Sep 04
2
Unresolved variable in `libupsclient-config'
Tags: patch, upstream
Hi,
when configuring nut 2.2.0 the variable/symbol `@SSL_LDFLAGS@' is not
resolved by the libupsclient-config script. The attached patch changes
`@SSL_CFLAGS@' to `@LIBSSL_CFLAGS@'
`@SSL_LDFLAGS@' to `@LIBSSL_LDFLAGS@'
which should solve this issue.
Regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut-2...
2010 Aug 02
1
Dovecot 2.0.rc3 doesn't compile with custom OpenSSL
...ibdl.so.2 => /lib/libdl.so.2 (0x00b2a000)
librt.so.1 => /lib/librt.so.1 (0x004d4000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
/lib/ld-linux.so.2 (0x006e7000)
libpthread.so.0 => /lib/libpthread.so.0 (0x009c6000)
So everything depending on libdovecot-login.so will fail.
Setting "SSL_CFLAGS" and "SSL_LIBS" manually doesn't help because
Dovecot already sets these perfectly fine via pkg-config:
env SSL_CFLAGS="-I/usr/local/ssl/include" SSL_LIBS="-L/usr/local/ssl/lib -Wl,-R/usr/local/ssl/lib -lcrypto -lssl" ./configure --prefix=/usr/local/${DOVEC...
2017 Aug 25
2
trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
I would also check where the "... is not portable!" messaage is generated.
If it's done by the configure script, you can look at the test to give
you a hint as to why this message was generated.
For my setup, I did much the same as you but didn't have to set
the SSL_CFLAGS, SSL_LIBS environment variables, nor did I set the
--with-ssldir configure option (although your setup may need it).
Maybe check output of
file /Applications/openssl-1.0.2l.32/lib/libssl.so.1.0.0
just to make sure your library's arhitecture matches your expectation.
> # ./configure \...
2016 Jul 03
3
Dovecot 2.2.25 fails on SSL
Dear Dovecot developers!
This problem already existed some years ago, has been fixed,
and now it's there again in Dovecot 2.2.25 (2.2.24 was fine).
I'm running CentOS 6 with a custom OpenSSL installation in /usr/local/ssl
Therefore, Dovecot is configured like this:
env SSL_CFLAGS="-I/usr/local/ssl/include" SSL_LIBS="-L/usr/local/ssl/lib -Wl,-R/usr/local/ssl/lib -lcrypto -lssl" ./configure --prefix=/usr/local/Dovecot-2.2.25 --with-ssl=openssl --with-ssldir=/usr/local/Dovecot-2.2.25/etc/dovecot/certs
With "pkg-config", the same options for SSL...
2007 Aug 07
1
pkgconfig fix for nut
...fig
bin_SCRIPTS = libupsclient-config
endif
--- lib/libupsclient-config.in
+++ lib/libupsclient-config.in
@@ -10,8 +10,8 @@
Version="@PACKAGE_VERSION@"
prefix=@prefix@
exec_prefix=@exec_prefix@
-Libs="-L at libdir@ -lupsclient @SSL_LDFLAGS@"
-Cflags="-I at includedir@ @SSL_CFLAGS@"
+Libs="-L at libdir@ -lupsclient @LIBSSL_LDFLAGS@"
+Cflags="-I at includedir@ @LIBSSL_CFLAGS@"
case "$1" in
--- lib/libupsclient.pc.in
+++ lib/libupsclient.pc.in
@@ -9,5 +9,5 @@
Name: libupsclient
Description: UPS monitoring with Network UPS Tools
Versi...
2006 Aug 21
2
Dovecot SSL issue on Solaris 10 x64 (64-bit)
...lems occured)
Back to compiling Dovecot, used this oneliner to point it to the new
OpenSSL (and my compile settings):
env PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig ./configure
--sysconfdir=/usr/local/etc --with-ssldir=/usr/local/etc/ssl
Worked!
bash-3.00$ egrep "^SSL_" config.log
SSL_CFLAGS='-I/usr/local/ssl/include '
SSL_LIBS='-L/usr/local/ssl/lib -lssl -lcrypto -lsocket -lnsl -ldl '
But gives this error message when I compile:
gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-functi...
2015 Jun 10
0
Error starting 1.0.15 with SSL_DISABLE=No
...he following message when starting,
> even though SLL_DISABLE=No:
>
> Error: SSL support not compiled in but ssl_disable=no
> Fatal: Invalid configuration in /usr/local/etc/dovecot.conf
>
> How is SSL support configured and built in? I know it has something to
> do with the --SSL_CFLAGS flag.
it is a build time thing. also 1.0.15?! you know latest is 2.2.18.
just saying
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
2017 Aug 26
0
[SUMMARY] trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
...gh I'm a
Sys V guy, never cared for the /opt thing, and ended up adopting /Applications
from NeXT .
setenv CPPFLAGS "-I/Applications/openssl-1.0.2l.32/include
-I/Applications/openssl-1.0.2l.32/include/openssl"
setenv LDFLAGS "-L/Applications/openssl-1.0.2l.32/lib"
setenv SSL_CFLAGS "-I/Applications/openssl-1.0.2l.32/include
-I/Applications/openssl-1.0.2l.32/include/openssl"
setenv SSL_LIBS "-R/Applications/openssl-1.0.2l.32/lib
-L/Applications/openssl-1.0.2l.32/lib"
setenv LIBS "-lcrypto -lssl"
setenv LD_LIBRARY_PATH
"/Applications/opens...
2005 Jul 17
0
issues/workarounds to build dovecot on OSX
...===========
(EDITOR) configure.in
@1032
if test "$want_openssl" = "yes" && test "$have_ssl" = "no"; then
--- if pkg-config --exists openssl; then
+++ if test -f openssl; then
--- PKG_CHECK_MODULES(SSL, openssl)
CFLAGS="$CFLAGS $SSL_CFLAGS"
===================================================
, followed, of course, by another:
% autoreconf -i -f
take care of the problem.
with changes as above, 'configure' with:
./configure \
--prefix=/usr/local/dovecot \
--exec-prefix=/usr/local/dovecot \
--bindir=/usr/local...
2013 Aug 16
1
Problems with openssl library path
Hello,
I tried to compile Dovecot 2.2.5 on Debian 6 with an alternate OpenSSL
installation located at /usr/local/ssl
A compilation with
CPPFLAGS="-I/usr/local/ssl/include" \
LDFLAGS="-L/usr/local/ssl/lib -Wl,-rpath=/usr/local/ssl/lib" \
SSL_LIBS="-L/usr/local/ssl/lib -Wl,-rpath=/usr/local/ssl/lib" \
./configure \
--prefix=/opt/dovecot-2.2.5 \
--enable-asserts \
2009 Aug 07
1
cross compile dovecot for armv5t fails
...sr/include/openssl/ui_compat.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ui.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/x509.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/x509v3.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/x509_vfy.h'
SSL_CFLAGS=' ' ./configure --prefix=/opt --sysconfdir=/opt/etc
--sysconfdir=/opt/etc/dovecot --with-linux-quota=no
--target=armv5tel-softfloat-linux-gnueabi
--host=armv5tel-softfloat-linux-gnueabi --build=x86_64-pc-linux-gnu
Make then fails...
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/ope...
2003 Jun 22
1
0.99.10-rc1
Home again.
Fixed SSL checking for Redhat 9, I hope. Could someone test if it
actually works now? Also fixed a few compiler warnings. If this thing
works, I'll just update the NEWS file and call it 0.99.10.
http://dovecot.procontrol.fi/rc/
Near future plans include rewriting parts of index handling. At least
.tree file will go, I've a _much_ better idea how to replace it. .data
file is
2006 May 31
1
Dovecot 1.0beta8 dovecot-auth consumes 100% CPU time on Solaris 10 amd64
...l:/usr/sfw/include:/opt/sfw/include
CXX=/usr/sfw/bin/g++
LDFLAGS='-m64 -L/usr/local/ssl/lib -R/usr/local/ssl/lib:/usr/sfw/lib:/opt/sfw/lib'
LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/sfw/lib:/opt/sfw/lib
It was compiled with gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath).
I modified the SSL_CFLAGS and SSL_LIBS variables in the Makefile to make it find
my openssl install in /usr/local/ssl. The one that came with the OS was
broken[1], so I compiled 0.9.8b from source. The configure script for some
reason didn't pick this up, even when using CFLAGS, LDFLAGS, etc.
At any rate, I successf...
2013 May 27
2
Dovecot 2.2 build rpm on Centos6
...set=set
ac_cv_env_CXXFLAGS_value='-O2 -g'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-z,now -Wl,-z,relro %{__global_ldflags}'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SSL_CFLAGS_set=
ac_cv_env_SSL_CFLAGS_value=
ac_cv_env_SSL_LIBS_set=
ac_cv_env_SSL_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-redhat-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-redhat-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_va...
2017 Aug 25
3
trouble compiling Dovecot 2.2.31 on Solaris 10 SPARC - libssl_iostream_openssl.so is not portable!
...system provided SSL stuff in /usr/sfw/*
ENV setting and configure command line prior to compile -
# setenv CPPFLAGS "-I/Applications/openssl-1.0.2l.32/include
-I/Applications/openssl-1.0.2l.32/include/openssl"
# setenv LDFLAGS "-L/Applications/openssl-1.0.2l.32/lib"
# setenv SSL_CFLAGS "-I/Applications/openssl-1.0.2l.32/include
-I/Applications/openssl-1.0.2l.32/include/openssl"
# setenv SSL_LIBS "-R/Applications/openssl-1.0.2l.32/lib
-L/Applications/openssl-1.0.2l.32/lib"
# ./configure \
--prefix=/Applications/dovecot-2.2.31.32 \
--with-ssl=openssl \
--wit...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...= @PGSQL_CFLAGS@
+PGSQL_LIBS = @PGSQL_LIBS@
+PG_CONFIG = @PG_CONFIG@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+RPCGEN = @RPCGEN@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SQLITE_CFLAGS = @SQLITE_CFLAGS@
+SQLITE_LIBS = @SQLITE_LIBS@
+SQL_CFLAGS = @SQL_CFLAGS@
+SQL_LIBS = @SQL_LIBS@
+SSL_CFLAGS = @SSL_CFLAGS@
+SSL_LIBS = @SSL_LIBS@
+STORAGE_LIBS = @STORAGE_LIBS@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMP...