Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 586404 Details for
Bug 646380
>=net-dns/bind-9.11.2_p1 - /usr/lib/libdb-5.3.so: error adding symbols: File in wrong format
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch autotool macro to help find 64-bit OpenSSL library
bind-9.14.4-symlink-lib-no-lib64-openssl.patch (text/plain), 2.39 KB, created by
Anon Emuss
on 2019-08-10 05:35:08 UTC
(
hide
)
Description:
Patch autotool macro to help find 64-bit OpenSSL library
Filename:
MIME Type:
Creator:
Anon Emuss
Created:
2019-08-10 05:35:08 UTC
Size:
2.39 KB
patch
obsolete
>Use pkg-config to find OpenSSL > >bind-9.14.4 appears to have introduced a new test for finding SSL >libraries, and it uses hard-coded paths ending in /lib. On systems >where /usr/lib contains 32-bit libraries and /usr/lib64 contains 64-bit >libraries, it finds the incorrect 32-bit libraries. It then adds a -L >flag to the 32-bit library directory, which produces warnings about >finding the wrong library format. If linking with libdb, libtool >replaces -ldb with a full path to the library, using the 32-bit >directory specified with the -L flag, which causes linking to fail. > >Fix by letting pkg-config find the OpenSSL library if it can. This >skips adding the incorrect -L flag. Leave the hard-coded (possibly >incorrect) paths alone. > >Also fix both the existing pkg-config OpenSSL check, and the copy being >added here. Apparently the test needs to search for libcrypto, not >crypto. > >diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4 >index 0000000..0000000 100644 >--- a/m4/ax_check_openssl.m4 >+++ b/m4/ax_check_openssl.m4 >@@ -41,16 +41,26 @@ AC_DEFUN([AX_CHECK_OPENSSL], [ > [AS_HELP_STRING([--with-openssl=DIR], > [root of the OpenSSL directory])], > [ >- AS_CASE([$with_openssl], >- [""|y|ye|yes],[ssldirs="$default_ssldirs"], >- [n|no],[AC_MSG_ERROR([Invalid --with-openssl value])], >- [*],[ssldirs="$withval"], >- [ssldirs="$default_ssldirs"] >- ) >+ AS_CASE([$with_openssl], >+ [""|y|ye|yes],[ >+ # if pkg-config is installed and openssl has installed >+ # a .pc file, then use that information and don't >+ # search ssldirs >+ PKG_CHECK_MODULES([OPENSSL], [libcrypto], >+ [ >+ found=true >+ ssldirs="" >+ ], >+ [ssldirs="$default_ssldirs"]) >+ ], >+ [n|no],[AC_MSG_ERROR([Invalid --with-openssl value])], >+ [*],[ssldirs="$withval"], >+ [ssldirs="$default_ssldirs"] >+ ) > ], [ > # if pkg-config is installed and openssl has installed a .pc file, > # then use that information and don't search ssldirs >- PKG_CHECK_MODULES([OPENSSL], [crypto], >+ PKG_CHECK_MODULES([OPENSSL], [libcrypto], > [found=true], > [ssldirs="$default_ssldirs"]) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 646380
:
517528
|
580148
|
585962
| 586404 |
586406